opengl-es
Android: OpenGL textures too large, can't figure out why
Why do my textures seemingly take up so much space? My app, which uses opengl heavily, produces the following heap stats*during operation:[详细]
2023-04-10 15:17 分类:问答Circular / rotary dial view in android
I have a need to create a circular dial/rota开发者_如何学运维ry style component for use in an application. It\'s essentially a circular menu that allows users to select from the items that are ringed[详细]
2023-04-10 10:50 分类:问答How to draw a image as a texture of a polygon and how to rotate the polygon in all directions touching the polygon on the screen?
I need to draw a texture on a square polygon, not a cube, i need to do it on a symple square, it is the face of a cube. I check this tutorial (open gl ES)and it seems to work fine for writting a textu[详细]
2023-04-10 10:50 分类:问答Applying textures to a vertex buffer object primitive
How do you apply textures to a vertex buffer object in Android? ANSWER: The code works fine, except it is missing a call to[详细]
2023-04-10 07:35 分类:问答How to force a call to onDrawFrame() on a GLSurfaceView?
I have a UI that haes a GLSurfaceView that shows a polygon. The UI haves also two buttons ZoomIn and ZoomOut. When the user press these buttons, the zoomIn() and zoomOut() methods of myGLSurfaceView[详细]
2023-04-10 07:15 分类:问答Problems with changing the Orthogonal Projection Matrix
I was experimenting with opengles, and made some simple squares moving around the screen: //inside my renderScreen() method, called from onDrawFrame()[详细]
2023-04-10 06:07 分类:问答Android Compressed Texture Loading (GL Extensions Missing)
When trying to load an ATITC, S3TC, or PVRTC compressed texture in Java on Android (glCompressedTexImage2D), which GL constants should be set for the third parameter?[详细]
2023-04-10 02:49 分类:问答Using RGB for A in fixed pipeline opengl
Yes so short question: Is it possible to use any of the RGB components as alpha in Opengl ES 1.1 (fixed pipeline)?[详细]
2023-04-10 01:47 分类:问答glVertexAttribPointer needed everytime glBindBuffer is called?
In OpenGL (OpenGL ES 2.0 in particular), is glVertexAttribPointer required to be called each time a new VBO is bound?[详细]
2023-04-10 01:40 分类:问答Fastest possible Apple Style Flip Counter in native code on iOS
I\'d like to mimic an Apple style flip counter on iOS. Specifically, this thing is going to be FLYING FAST.It\'s not going to be an alarm clock, think player high-score where you are racking up point[详细]
2023-04-10 00:50 分类:问答