¡@

Home 

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

android Programming Glossary: gl10.gl_texture_2d

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

texture_id ...and bind it to our array gl.glBindTexture GL10.GL_TEXTURE_2D textures texture_id Create Nearest Filtered Texture gl.glTexParameterf.. Create Nearest Filtered Texture gl.glTexParameterf GL10.GL_TEXTURE_2D GL10.GL_TEXTURE_MIN_FILTER GL10.GL_NEAREST gl.glTexParameterf.. GL10.GL_NEAREST gl.glTexParameterf GL10.GL_TEXTURE_2D GL10.GL_TEXTURE_MAG_FILTER GL10.GL_LINEAR Different possible..

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

GL10.GL_TEXTURE_COORD_ARRAY gl.glEnable GL10.GL_TEXTURE_2D gl.glTexCoordPointer 2 GL10.GL_FLOAT 0 textureBuffer Translation..

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

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

GL10.GL_TEXTURE_COORD_ARRAY gl.glTexParameterx GL10.GL_TEXTURE_2D GL10.GL_TEXTURE_WRAP_S GL10.GL_REPEAT gl.glTexParameterx GL10.GL_TEXTURE_2D.. GL10.GL_TEXTURE_WRAP_S GL10.GL_REPEAT gl.glTexParameterx GL10.GL_TEXTURE_2D GL10.GL_TEXTURE_WRAP_T GL10.GL_REPEAT gl.glSampleCoverage 1.f.. 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..

Android Camera will not work. startPreview fails

http://stackoverflow.com/questions/7942378/android-camera-will-not-work-startpreview-fails

0 int tex camera_texture 0 GLES20.glBindTexture GL10.GL_TEXTURE_2D tex GLES20.glTexImage2D GL10.GL_TEXTURE_2D 0 GL10.GL_RGB 256.. GL10.GL_TEXTURE_2D tex GLES20.glTexImage2D GL10.GL_TEXTURE_2D 0 GL10.GL_RGB 256 256 0 GL10.GL_RGB GL10.GL_UNSIGNED_BYTE ByteBuffer.wrap.. ByteBuffer.wrap pixels GLES20.glTexParameterf GL10.GL_TEXTURE_2D GL10.GL_TEXTURE_MIN_FILTER GL10.GL_LINEAR Thank you for any..

Apply custom filters to camera output

http://stackoverflow.com/questions/8371055/apply-custom-filters-to-camera-output

1 cameraTexture 0 int tex cameraTexture 0 gl.glBindTexture GL10.GL_TEXTURE_2D tex gl.glTexImage2D GL10.GL_TEXTURE_2D 0 GL10.GL_LUMINANCE this.prevX.. 0 gl.glBindTexture GL10.GL_TEXTURE_2D tex gl.glTexImage2D GL10.GL_TEXTURE_2D 0 GL10.GL_LUMINANCE this.prevX this.prevY 0 GL10.GL_LUMINANCE.. first half od byte from onPreviewFrame gl.glTexParameterf GL10.GL_TEXTURE_2D GL10.GL_TEXTURE_MIN_FILTER GL10.GL_LINEAR You cant get about..

Android OpenGL Texture Compression

http://stackoverflow.com/questions/9148795/android-opengl-texture-compression

void onDrawFrame GL10 gl .... gl.glCompressedTexImage2D GL10.GL_TEXTURE_2D level internalformat width height border imageSize data ..

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

Generate one texture pointer... gl.glGenTextures 1 textures texture_id ...and bind it to our array gl.glBindTexture GL10.GL_TEXTURE_2D textures texture_id Create Nearest Filtered Texture gl.glTexParameterf GL10.GL_TEXTURE_2D GL10.GL_TEXTURE_MIN_FILTER GL10.GL_NEAREST.. our array gl.glBindTexture GL10.GL_TEXTURE_2D textures texture_id Create Nearest Filtered Texture gl.glTexParameterf GL10.GL_TEXTURE_2D GL10.GL_TEXTURE_MIN_FILTER GL10.GL_NEAREST gl.glTexParameterf GL10.GL_TEXTURE_2D GL10.GL_TEXTURE_MAG_FILTER GL10.GL_LINEAR.. Filtered Texture gl.glTexParameterf GL10.GL_TEXTURE_2D GL10.GL_TEXTURE_MIN_FILTER GL10.GL_NEAREST gl.glTexParameterf GL10.GL_TEXTURE_2D GL10.GL_TEXTURE_MAG_FILTER GL10.GL_LINEAR Different possible texture parameters e.g. GL10.GL_CLAMP_TO_EDGE gl.glTexParameterf..

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

0 colorBuffer Use textures if textureBuffer null gl.glEnableClientState GL10.GL_TEXTURE_COORD_ARRAY gl.glEnable GL10.GL_TEXTURE_2D gl.glTexCoordPointer 2 GL10.GL_FLOAT 0 textureBuffer Translation and rotation before drawing gl.glTranslatef x y z gl.glRotatef..

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

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

1.0f gl.glEnableClientState GL10.GL_VERTEX_ARRAY gl.glEnableClientState GL10.GL_TEXTURE_COORD_ARRAY gl.glTexParameterx GL10.GL_TEXTURE_2D GL10.GL_TEXTURE_WRAP_S GL10.GL_REPEAT gl.glTexParameterx GL10.GL_TEXTURE_2D GL10.GL_TEXTURE_WRAP_T GL10.GL_REPEAT gl.glSampleCoverage.. gl.glTexParameterx GL10.GL_TEXTURE_2D GL10.GL_TEXTURE_WRAP_S GL10.GL_REPEAT gl.glTexParameterx GL10.GL_TEXTURE_2D GL10.GL_TEXTURE_WRAP_T GL10.GL_REPEAT gl.glSampleCoverage 1.f true gl.glEnable GL10.GL_DITHER gl.glEnable GL10.GL_MULTISAMPLE.. GL10.GL_TEXTURE_ENV_MODE GL10.GL_MODULATE 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..

Android Camera will not work. startPreview fails

http://stackoverflow.com/questions/7942378/android-camera-will-not-work-startpreview-fails

1 camera_texture 0 GLES20.glGenTextures 1 camera_texture 0 int tex camera_texture 0 GLES20.glBindTexture GL10.GL_TEXTURE_2D tex GLES20.glTexImage2D GL10.GL_TEXTURE_2D 0 GL10.GL_RGB 256 256 0 GL10.GL_RGB GL10.GL_UNSIGNED_BYTE ByteBuffer.wrap pixels.. 1 camera_texture 0 int tex camera_texture 0 GLES20.glBindTexture GL10.GL_TEXTURE_2D tex GLES20.glTexImage2D GL10.GL_TEXTURE_2D 0 GL10.GL_RGB 256 256 0 GL10.GL_RGB GL10.GL_UNSIGNED_BYTE ByteBuffer.wrap pixels GLES20.glTexParameterf GL10.GL_TEXTURE_2D.. 0 GL10.GL_RGB 256 256 0 GL10.GL_RGB GL10.GL_UNSIGNED_BYTE ByteBuffer.wrap pixels GLES20.glTexParameterf GL10.GL_TEXTURE_2D GL10.GL_TEXTURE_MIN_FILTER GL10.GL_LINEAR Thank you for any help. java android surfaceview android camera surfaceholder..

Apply custom filters to camera output

http://stackoverflow.com/questions/8371055/apply-custom-filters-to-camera-output

and than you bind the texture like this gl.glGenTextures 1 cameraTexture 0 int tex cameraTexture 0 gl.glBindTexture GL10.GL_TEXTURE_2D tex gl.glTexImage2D GL10.GL_TEXTURE_2D 0 GL10.GL_LUMINANCE this.prevX this.prevY 0 GL10.GL_LUMINANCE GL10.GL_UNSIGNED_BYTE.. gl.glGenTextures 1 cameraTexture 0 int tex cameraTexture 0 gl.glBindTexture GL10.GL_TEXTURE_2D tex gl.glTexImage2D GL10.GL_TEXTURE_2D 0 GL10.GL_LUMINANCE this.prevX this.prevY 0 GL10.GL_LUMINANCE GL10.GL_UNSIGNED_BYTE ByteBuffer.wrap this.cameraFrame cameraFrame.. ByteBuffer.wrap this.cameraFrame cameraFrame is the first half od byte from onPreviewFrame gl.glTexParameterf GL10.GL_TEXTURE_2D GL10.GL_TEXTURE_MIN_FILTER GL10.GL_LINEAR You cant get about 16 18 fps this way and you can use openGL to make some filters...

Android OpenGL Texture Compression

http://stackoverflow.com/questions/9148795/android-opengl-texture-compression