¡@

Home 

2014/10/16 ¤W¤È 08:11:51

android Programming Glossary: cuberenderer

Overlay images onto Camera preview SurfaceView

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

below class TouchSurfaceView extends GLSurfaceView public TouchSurfaceView Context context super context cr new CubeRenderer true this.setEGLConfigChooser 8 8 8 8 16 0 this.setRenderer cr this.setRenderMode GLSurfaceView.RENDERMODE_WHEN_DIRTY this.getHolder.. return true private final float TOUCH_SCALE_FACTOR 180.0f 320 private final float TRACKBALL_SCALE_FACTOR 36.0f public CubeRenderer cr private float mPreviousX private float mPreviousY And the CubeRenderer is given by class CubeRenderer implements GLSurfaceView.Renderer.. float TRACKBALL_SCALE_FACTOR 36.0f public CubeRenderer cr private float mPreviousX private float mPreviousY And the CubeRenderer is given by class CubeRenderer implements GLSurfaceView.Renderer public CubeRenderer boolean useTranslucentBackground mTranslucentBackground..

Problem with getFloatv function in GL11 (Android)

http://stackoverflow.com/questions/7125557/problem-with-getfloatv-function-in-gl11-android

someone help me to figure out what the problem is Here are the changes in the code . private float previous public CubeRenderer mCube new Cube previous new float 16 public void onDrawFrame GL10 gl GL11 gl11 GL11 gl gl11.glClear GL11.GL_COLOR_BUFFER_BIT..