android Programming Glossary: gl10.gl_smooth
Android getOrientation() method returns bad results http://stackoverflow.com/questions/10192057/android-getorientation-method-returns-bad-results 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 which..
Android OpenGL ES Transparent Background http://stackoverflow.com/questions/2034822/android-opengl-es-transparent-background 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 PixelFormat.TRANSLUCENT..
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 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 The Type Of Depth..
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 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 load..
Overlay images onto Camera preview SurfaceView http://stackoverflow.com/questions/3548666/overlay-images-onto-camera-preview-surfaceview 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 private Cube mCube..
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 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..
|