android Programming Glossary: gl10.gl_cull_face
Android getOrientation() method returns bad results http://stackoverflow.com/questions/10192057/android-getorientation-method-returns-bad-results InitShortBuffer indices _indexBuffer.position 0 public void onSurfaceCreated 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..
Android OpenGL ES Transparent Background http://stackoverflow.com/questions/2034822/android-opengl-es-transparent-background GL10.GL_DITHER 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..
OpenGL ES - texture map all faces of an 8 vertex cube? http://stackoverflow.com/questions/2854237/opengl-es-texture-map-all-faces-of-an-8-vertex-cube code public void draw GL10 gl Counter clockwise winding. gl.glFrontFace GL10.GL_CCW Enable face culling. gl.glEnable GL10.GL_CULL_FACE What faces to remove with the face culling. gl.glCullFace GL10.GL_BACK Enabled the vertices buffer for writing and to be.. GL10.GL_NORMAL_ARRAY gl.glDisableClientState GL10.GL_TEXTURE_COORD_ARRAY Disable face culling. gl.glDisable GL10.GL_CULL_FACE android opengl es share improve this question You have to use 24 vertexes. In OpenGL a vertex is more than just position..
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 public void onSurfaceCreated 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..
Overlay images onto Camera preview SurfaceView http://stackoverflow.com/questions/3548666/overlay-images-onto-camera-preview-surfaceview GL10.GL_FASTEST 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..
|