android Programming Glossary: gl10.gl_perspective_correction_hint
Android OpenGL ES Transparent Background http://stackoverflow.com/questions/2034822/android-opengl-es-transparent-background my GLSurfaceView.Renderer public void onSurfaceCreated GL10 gl EGLConfig config gl.glDisable 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..
Overlay images onto Camera preview SurfaceView http://stackoverflow.com/questions/3548666/overlay-images-onto-camera-preview-surfaceview ratio ratio 1 1 1 10 public void onSurfaceCreated GL10 gl EGLConfig config gl.glDisable GL10.GL_DITHER gl.glHint GL10.GL_PERSPECTIVE_CORRECTION_HINT GL10.GL_FASTEST if mTranslucentBackground gl.glClearColor 0 0 0 0 else gl.glClearColor 1 1 1 1 gl.glEnable GL10.GL_CULL_FACE..
Using OpenGL to replace Canvas - Android http://stackoverflow.com/questions/3597323/using-opengl-to-replace-canvas-android 0x10000 gl.glEnable GL10.GL_TEXTURE_2D @Override public void onSurfaceCreated GL10 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.. mViewHeight 0 public void onSurfaceCreated GL10 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..
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 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 GL10.GL_NICEST gl.glHint GL10.GL_POLYGON_SMOOTH_HINT GL10.GL_NICEST public void onDrawFrame GL10 gl gl.glClear GL10.GL_COLOR_BUFFER_BIT..
Problem drawing a sphere in OPENGL ES http://stackoverflow.com/questions/6072308/problem-drawing-a-sphere-in-opengl-es config initialize all the things required for openGL configurations gl.glClearColor 0.0f 0.0f 0.0f 0.0f gl.glHint GL10.GL_PERSPECTIVE_CORRECTION_HINT GL10.GL_NICEST public void onDrawFrame GL10 gl if fpsCalculator null fpsCalculator.countOnce write the drawing code needed..
|