opengl-es-2.0
Converting screen coordinates to object coordinates OpenGL ES 2.0 on Ipad
I am making an ipad application in OpenGLES 2.0 and I have some objects that I should be able to translate with the touch event. So I need the (x,y,z) object coordinates corresponding to the screen (X[详细]
2023-03-16 02:28 分类:问答iOS / GLES2: How to programmatically determine maximum available texture units?
Determining maximum texture size is no problem: How to detect maximum texture resolution on iPhone? Also, the documentation specifies the maximum number of samplers that a fragment shader can hand[详细]
2023-03-16 01:51 分类:问答Attribute Parameter in Vertex shader
I am doing work on Opengl-es 2.0 in ubuntu 10.10 with pvrsdk . In my code i am taking the vertices of triangle to render but when i have to use the Attribute parameter in vertex shader . how does it c[详细]
2023-03-15 22:49 分类:问答EGL vs GLES 2.0 on Android (e.g. Java)
(experienced c programmer, pre-shader, fixed function open gl. competent Java programmer) I have been working with GLES on Android and have gotten the examples to run (both native and Java). In parti[详细]
2023-03-15 19:25 分类:问答OpenGL ES: Vertex/Color Buffers/Pointers
I have a large volume of points I\'m reading from a file that have both 3D positions and RGB values. I\'m struggling to render these via Java+Android+OpenGL(ES).[详细]
2023-03-15 14:59 分类:问答orthographic projection matrix in Opengl-es 2.0
float pfIdentity[] = { -1.0f,0.0f,0.0f,0.0f, 0.0f,1.0f,0.0f,0.0f, 0.0f,0.0f,1.0f,0.0f, 0.0f,0.0f,0.0f,1.0f[详细]
2023-03-15 07:36 分类:问答Detect if OpenGl ES 2.0 is available or not
I\'m creating an application for Android for API levels >= 7. One screen uses a GLSurfaceView with OpenGL ES 2.0 through the ndk. How can I detect if opengl 2.0 is available? I can\'t use android:glEs[详细]
2023-03-15 07:27 分类:问答How can we know what precision the I/O of GLSL functions use?
Apple says Many built-in functions use medium-precision inputs and outputs. If your application provides[详细]
2023-03-15 05:19 分类:问答Multiple drawing layers in a single opengles 2.0 application
I am creating an application in opengl es 2.0. I have two drawings in my scene. One is a bar graph and the other is a sphere. My bargraph will be making various transitions like rotations and translat[详细]
2023-03-15 02:15 分类:问答FPS problem on android
I have a small problem with my implementation on android. I\'m rendering some stuff with OpenGL ES. And for each frame, I have to update my date. So I decided to put a maximum FPS to avoid useless com[详细]
2023-03-14 23:59 分类:问答