¡@

Home 

2014/10/16 ¤W¤È 08:14:16

android Programming Glossary: gl.glshademodel

Android getOrientation() method returns bad results

http://stackoverflow.com/questions/10192057/android-getorientation-method-returns-bad-results

enable the differentiation of which side may be visible gl.glShadeModel GL10.GL_SMOOTH gl.glFrontFace GL10.GL_CCW which is the front..

Android OpenGL ES Transparent Background

http://stackoverflow.com/questions/2034822/android-opengl-es-transparent-background

gl.glClearColor 0 0 0 0 gl.glEnable GL10.GL_CULL_FACE gl.glShadeModel GL10.GL_SMOOTH gl.glEnable GL10.GL_DEPTH_TEST On my GLSurfaceView..

Trying to draw textured triangles on device fails, but the emulator works. Why?

http://stackoverflow.com/questions/2113638/trying-to-draw-textured-triangles-on-device-fails-but-the-emulator-works-why

And here are the options I have enabled gl.glShadeModel GL10.GL_SMOOTH Enable Smooth Shading gl.glEnable GL10.GL_DEPTH_TEST..

How to use onSensorChanged sensor data in combination with OpenGL

http://stackoverflow.com/questions/2881128/how-to-use-onsensorchanged-sensor-data-in-combination-with-opengl

gl.glClearColor 1 1 1 1 gl.glEnable GL10.GL_CULL_FACE gl.glShadeModel GL10.GL_SMOOTH gl.glEnable GL10.GL_DEPTH_TEST gl.glEnableClientState..

Overlay images onto Camera preview SurfaceView

http://stackoverflow.com/questions/3548666/overlay-images-onto-camera-preview-surfaceview

gl.glClearColor 1 1 1 1 gl.glEnable GL10.GL_CULL_FACE gl.glShadeModel GL10.GL_SMOOTH gl.glEnable GL10.GL_DEPTH_TEST public void..

Using OpenGL to replace Canvas - Android

http://stackoverflow.com/questions/3597323/using-opengl-to-replace-canvas-android

gl.glOrthof 0.0f width 0.0f height 0.0f 1.0f gl.glShadeModel GL10.GL_FLAT gl.glEnable GL10.GL_BLEND gl.glBlendFunc GL10.GL_SRC_ALPHA.. GL10.GL_FASTEST gl.glClearColor 0.5f 0.5f 0.5f 1 gl.glShadeModel GL10.GL_FLAT gl.glDisable GL10.GL_DEPTH_TEST gl.glEnable GL10.GL_TEXTURE_2D.. GL10.GL_PERSPECTIVE_CORRECTION_HINT GL10.GL_FASTEST gl.glShadeModel GL10.GL_FLAT gl.glDisable GL10.GL_DEPTH_TEST gl.glEnable GL10.GL_BLEND..

How to get rid of Jagged edges in Android OpenGL ES?

http://stackoverflow.com/questions/4934367/how-to-get-rid-of-jagged-edges-in-android-opengl-es

gl EGLConfig config gl.glClearColor 0.0f 0.0f 0.0f 0.5f gl.glShadeModel GL10.GL_SMOOTH gl.glClearDepthf 1.0f gl.glEnable GL10.GL_DEPTH_TEST..

Android getOrientation() method returns bad results

http://stackoverflow.com/questions/10192057/android-getorientation-method-returns-bad-results

GL10 gl EGLConfig config gl.glEnable GL10.GL_CULL_FACE enable the differentiation of which side may be visible gl.glShadeModel GL10.GL_SMOOTH gl.glFrontFace GL10.GL_CCW which is the front the one which is drawn counter clockwise gl.glCullFace GL10.GL_BACK..

Android OpenGL ES Transparent Background

http://stackoverflow.com/questions/2034822/android-opengl-es-transparent-background

gl.glHint GL10.GL_PERSPECTIVE_CORRECTION_HINT GL10.GL_FASTEST gl.glClearColor 0 0 0 0 gl.glEnable GL10.GL_CULL_FACE gl.glShadeModel GL10.GL_SMOOTH gl.glEnable GL10.GL_DEPTH_TEST On my GLSurfaceView setEGLConfigChooser 8 8 8 8 16 0 getHolder .setFormat..

Trying to draw textured triangles on device fails, but the emulator works. Why?

http://stackoverflow.com/questions/2113638/trying-to-draw-textured-triangles-on-device-fails-but-the-emulator-works-why

GL10.GL_VERTEX_ARRAY gl.glDisableClientState GL10.GL_TEXTURE_COORD_ARRAY And here are the options I have enabled gl.glShadeModel GL10.GL_SMOOTH Enable Smooth Shading gl.glEnable GL10.GL_DEPTH_TEST Enables Depth Testing gl.glDepthFunc GL10.GL_LEQUAL..

How to use onSensorChanged sensor data in combination with OpenGL

http://stackoverflow.com/questions/2881128/how-to-use-onsensorchanged-sensor-data-in-combination-with-opengl

GL10 gl EGLConfig config gl.glDisable GL10.GL_DITHER gl.glClearColor 1 1 1 1 gl.glEnable GL10.GL_CULL_FACE gl.glShadeModel GL10.GL_SMOOTH gl.glEnable GL10.GL_DEPTH_TEST gl.glEnableClientState GL10.GL_VERTEX_ARRAY gl.glEnableClientState GL10.GL_COLOR_ARRAY..

Overlay images onto Camera preview SurfaceView

http://stackoverflow.com/questions/3548666/overlay-images-onto-camera-preview-surfaceview

if mTranslucentBackground gl.glClearColor 0 0 0 0 else gl.glClearColor 1 1 1 1 gl.glEnable GL10.GL_CULL_FACE gl.glShadeModel GL10.GL_SMOOTH gl.glEnable GL10.GL_DEPTH_TEST public void setAngle float _angle private boolean mTranslucentBackground..

Using OpenGL to replace Canvas - Android

http://stackoverflow.com/questions/3597323/using-opengl-to-replace-canvas-android

0 0 width height gl.glMatrixMode GL10.GL_PROJECTION gl.glLoadIdentity gl.glOrthof 0.0f width 0.0f height 0.0f 1.0f gl.glShadeModel GL10.GL_FLAT gl.glEnable GL10.GL_BLEND gl.glBlendFunc GL10.GL_SRC_ALPHA GL10.GL_ONE_MINUS_SRC_ALPHA gl.glColor4x 0x10000.. gl EGLConfig config gl.glHint GL10.GL_PERSPECTIVE_CORRECTION_HINT GL10.GL_FASTEST gl.glClearColor 0.5f 0.5f 0.5f 1 gl.glShadeModel GL10.GL_FLAT gl.glDisable GL10.GL_DEPTH_TEST gl.glEnable GL10.GL_TEXTURE_2D gl.glDisable GL10.GL_DITHER gl.glDisable GL10.GL_LIGHTING.. gl EGLConfig config gl.glClearColor 0.5f 0.5f 0.5f 1 gl.glHint GL10.GL_PERSPECTIVE_CORRECTION_HINT GL10.GL_FASTEST gl.glShadeModel GL10.GL_FLAT gl.glDisable GL10.GL_DEPTH_TEST gl.glEnable GL10.GL_BLEND gl.glBlendFunc GL10.GL_ONE GL10.GL_ONE_MINUS_SRC_ALPHA..

How to get rid of Jagged edges in Android OpenGL ES?

http://stackoverflow.com/questions/4934367/how-to-get-rid-of-jagged-edges-in-android-opengl-es

I have the following code public void onSurfaceCreated GL10 gl EGLConfig config gl.glClearColor 0.0f 0.0f 0.0f 0.5f gl.glShadeModel GL10.GL_SMOOTH gl.glClearDepthf 1.0f gl.glEnable GL10.GL_DEPTH_TEST gl.glDepthFunc GL10.GL_LEQUAL gl.glHint GL10.GL_PERSPECTIVE_CORRECTION_HINT..