android Programming Glossary: vertex
Modifying camera output using SurfaceTexture and OpenGL http://stackoverflow.com/questions/12519235/modifying-camera-output-using-surfacetexture-and-opengl public class DirectVideo private final String vertexShaderCode #extension GL_OES_EGL_image_external require n attribute.. void main gl_FragColor vColor private FloatBuffer vertexBuffer textureVerticesBuffer private ShortBuffer drawListBuffer.. private int mTextureCoordHandle number of coordinates per vertex in this array static final int COORDS_PER_VERTEX 2 static float..
OpenGL extensions available on different Android devices [closed] http://stackoverflow.com/questions/2093594/opengl-extensions-available-on-different-android-devices techniques of drawing sprites the basic way using vertex arrays slow using vertex buffer objects VBOs faster using the.. sprites the basic way using vertex arrays slow using vertex buffer objects VBOs faster using the draw_texture extension.. GL_ARB_texture_mirrored_repeat GL_ARB_vertex_buffer_object GL_ATI_extended_texture_coordinate_data_formats..
Implement page curl on android? http://stackoverflow.com/questions/3912849/implement-page-curl-on-android curling using.html void deform Vertex2f vi Current input vertex Vertex3f v1 First stage of the deformation Vertex3f vo Pointer.. of the deformation Vertex3f vo Pointer to the finished vertex CGFloat R r beta for ushort ii 0 ii numVertices_ ii Get the.. for ushort ii 0 ii numVertices_ ii Get the current input vertex. vi inputMesh_ ii Radius of the circle circumscribed by vertex..
Page curl/turn effect in Android [duplicate] http://stackoverflow.com/questions/4376962/page-curl-turn-effect-in-android curling using.html void deform Vertex2f vi Current input vertex Vertex3f v1 First stage of the deformation Vertex3f vo Pointer.. of the deformation Vertex3f vo Pointer to the finished vertex CGFloat R r beta for ushort ii 0 ii numVertices_ ii Get the.. for ushort ii 0 ii numVertices_ ii Get the current input vertex. vi inputMesh_ ii Radius of the circle circumscribed by vertex..
Android Camera will not work. startPreview fails http://stackoverflow.com/questions/7942378/android-camera-will-not-work-startpreview-fails 0.0f 1.0f 0.2f 1.0f Debug.out Hello init. Shaders int vertexShader 0 int fragmentShader 0 try vertexShader loadShader GLES20.GL_VERTEX_SHADER.. init. Shaders int vertexShader 0 int fragmentShader 0 try vertexShader loadShader GLES20.GL_VERTEX_SHADER readFile vertex.vsh.. vertexShader loadShader GLES20.GL_VERTEX_SHADER readFile vertex.vsh fragmentShader loadShader GLES20.GL_FRAGMENT_SHADER readFile..
Modifying camera output using SurfaceTexture and OpenGL http://stackoverflow.com/questions/12519235/modifying-camera-output-using-surfacetexture-and-opengl setSurface SurfaceTexture _surface surface _surface DirectVideo.java public class DirectVideo private final String vertexShaderCode #extension GL_OES_EGL_image_external require n attribute vec4 position attribute vec4 inputTextureCoordinate.. require n precision mediump float uniform vec4 vColor void main gl_FragColor vColor private FloatBuffer vertexBuffer textureVerticesBuffer private ShortBuffer drawListBuffer private final int mProgram private int mPositionHandle private.. private int mPositionHandle private int mColorHandle private int mTextureCoordHandle number of coordinates per vertex in this array static final int COORDS_PER_VERTEX 2 static float squareVertices in counterclockwise order 1.0f 1.0f 1.0f..
OpenGL extensions available on different Android devices [closed] http://stackoverflow.com/questions/2093594/opengl-extensions-available-on-different-android-devices my next Android game s . Currently I'm supporting three different techniques of drawing sprites the basic way using vertex arrays slow using vertex buffer objects VBOs faster using the draw_texture extension fastest but only for basic sprites.. . Currently I'm supporting three different techniques of drawing sprites the basic way using vertex arrays slow using vertex buffer objects VBOs faster using the draw_texture extension fastest but only for basic sprites i.e. no transforming Vertex.. GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_vertex_buffer_object GL_ATI_extended_texture_coordinate_data_formats GL_ATI_imageon_misc GL_ATI_texture_compression_atitc GL_EXT_blend_equation_separate..
Implement page curl on android? http://stackoverflow.com/questions/3912849/implement-page-curl-on-android http wdnuon.blogspot.com 2010 05 implementing ibooks page curling using.html void deform Vertex2f vi Current input vertex Vertex3f v1 First stage of the deformation Vertex3f vo Pointer to the finished vertex CGFloat R r beta for ushort ii 0 ii.. deform Vertex2f vi Current input vertex Vertex3f v1 First stage of the deformation Vertex3f vo Pointer to the finished vertex CGFloat R r beta for ushort ii 0 ii numVertices_ ii Get the current input vertex. vi inputMesh_ ii Radius of the circle.. Vertex3f vo Pointer to the finished vertex CGFloat R r beta for ushort ii 0 ii numVertices_ ii Get the current input vertex. vi inputMesh_ ii Radius of the circle circumscribed by vertex vi.x vi.y around A on the x y plane R sqrt vi.x vi.x pow..
Page curl/turn effect in Android [duplicate] http://stackoverflow.com/questions/4376962/page-curl-turn-effect-in-android http wdnuon.blogspot.com 2010 05 implementing ibooks page curling using.html void deform Vertex2f vi Current input vertex Vertex3f v1 First stage of the deformation Vertex3f vo Pointer to the finished vertex CGFloat R r beta for ushort ii 0 ii.. deform Vertex2f vi Current input vertex Vertex3f v1 First stage of the deformation Vertex3f vo Pointer to the finished vertex CGFloat R r beta for ushort ii 0 ii numVertices_ ii Get the current input vertex. vi inputMesh_ ii Radius of the circle.. Vertex3f vo Pointer to the finished vertex CGFloat R r beta for ushort ii 0 ii numVertices_ ii Get the current input vertex. vi inputMesh_ ii Radius of the circle circumscribed by vertex vi.x vi.y around A on the x y plane R sqrt vi.x vi.x pow..
Android Camera will not work. startPreview fails http://stackoverflow.com/questions/7942378/android-camera-will-not-work-startpreview-fails GL10 unused EGLConfig config initShapes GLES20.glClearColor 0.0f 1.0f 0.2f 1.0f Debug.out Hello init. Shaders int vertexShader 0 int fragmentShader 0 try vertexShader loadShader GLES20.GL_VERTEX_SHADER readFile vertex.vsh fragmentShader loadShader.. GLES20.glClearColor 0.0f 1.0f 0.2f 1.0f Debug.out Hello init. Shaders int vertexShader 0 int fragmentShader 0 try vertexShader loadShader GLES20.GL_VERTEX_SHADER readFile vertex.vsh fragmentShader loadShader GLES20.GL_FRAGMENT_SHADER readFile.. init. Shaders int vertexShader 0 int fragmentShader 0 try vertexShader loadShader GLES20.GL_VERTEX_SHADER readFile vertex.vsh fragmentShader loadShader GLES20.GL_FRAGMENT_SHADER readFile fragment.fsh catch IOException e Debug.out The shaders..
|