¡@

Home 

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

android Programming Glossary: gl10.gl_blend

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

Testing gl.glDepthFunc GL10.GL_LEQUAL The Type Of Depth Testing To Do gl.glEnable GL10.GL_TEXTURE_2D gl.glEnable GL10.GL_BLEND gl.glBlendFunc GL10.GL_SRC_ALPHA GL10.GL_ONE_MINUS_SRC_ALPHA Edit I just tried supplying a BitmapOptions to the BitmapFactory.decodeResource..

Using OpenGL to replace Canvas - Android

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

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 0x10000 0x10000 0x10000 gl.glEnable GL10.GL_TEXTURE_2D.. 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 gl.glViewport 0 0 mViewWidth mViewHeight gl.glMatrixMode GL10.GL_PROJECTION.. gl.glViewport 0 0 mViewWidth mViewHeight gl.glMatrixMode GL10.GL_PROJECTION gl.glLoadIdentity gl.glEnable GL10.GL_BLEND gl.glBlendFunc GL10.GL_SRC_ALPHA GL10.GL_ONE_MINUS_SRC_ALPHA gl.glShadeModel GL10.GL_FLAT gl.glEnable GL10.GL_TEXTURE_2D..

Android OpenGL 3D picking

http://stackoverflow.com/questions/6699387/android-opengl-3d-picking

mg new MatrixGrabber ... public void onDrawFrame GL10 gl gl.glDisable GL10.GL_COLOR_MATERIAL gl.glDisable GL10.GL_BLEND gl.glDisable GL10.GL_LIGHTING Background drawing if customBackground gl.glClearColor backgroundRed backgroundGreen backgroundBlue..

How to do Multisampling in Android OpenGL ES? [duplicate]

http://stackoverflow.com/questions/7379710/how-to-do-multisampling-in-android-opengl-es

gl.glBlendFunc GL10.GL_SRC_ALPHA GL10.GL_ONE_MINUS_SRC_ALPHA gl.glEnable GL10.GL_TEXTURE_2D gl.glEnable GL10.GL_BLEND gl.glBindTexture GL10.GL_TEXTURE_2D mTexture 0 gl.glFrontFace GL10.GL_CCW gl.glTexCoordPointer 2 GL10.GL_FLOAT 0 m_TexBuffer..