opengl-es
Drawing a concave polygon in OpenGL
I have a concave polygon I need to draw in OpenGL. The polygon is defined as a list of points which form its exterior ring, and a list of lists-of-points that define its interior rings (exclusion zone[详细]
2023-04-11 08:09 分类:问答Mixare Augmented Reality Engine: Replacing 2D planes with 3d objects?
Does 开发者_运维技巧anyone have a solution how to replace the 2D images with 3D objects? There is a contribution to mixare (open source augmented reality browser: http://www.mixare.org) available here[详细]
2023-04-11 07:54 分类:问答OpenGL ES texture origin differs from top/left to bottom/left on different phones
I\'m currently developing an NDK-based OpenGL ES 2.0 app. And i\'m loading textures using libjpeg flipping it vertically (as OpenGL standard says). It works fine on Samsung Galaxy SII, HTC Desire HD a[详细]
2023-04-11 02:51 分类:问答How to implement the iphone style multitouch zoomIn zoomOut to a polygon on a GLSurfaceView?
i have an application that shows a simple square polygon represented on a GLSurfaceView. Actually i can do zoomIn and zoomOut with two buttons.[详细]
2023-04-10 20:45 分类:问答Advantages of using Core Graphics
I would like to know what kind of advantages I get from using Core Graphics instead of Open GL ES. My main question is based on this:[详细]
2023-04-10 19:34 分类:问答Synchronize video to openGL animation
I am trying to sync a video to an animation drawn using openGL on iPad, and there are two things I am not sure how to do:[详细]
2023-04-10 19:21 分类:问答Trouble displaying texture in OpenGL ES with C++
I\'m trying to write a small, portable 2D engine for iOS to learn C++ and OpenGL. Right now I\'m trying to display a texture that I\'ve loaded in. I\'ve been successful displaying a texture when loadi[详细]
2023-04-10 19:20 分类:问答Using the same EAGLContext across different ViewControllers/EAGLViews
I\'m having some issues using the same EAGLContext across EAGLViews. I have开发者_JAVA技巧 two View Controllers, each one has one EAGLView.[详细]
2023-04-10 18:25 分类:问答Pass textures in shader
The problem is that I pass two textures in shader, but the picture on 3-d model is the same for both sampler2D variables开发者_运维技巧 (It is with image \"normal.jpg\", the first one.). I\'ll be very[详细]
2023-04-10 16:48 分类:问答Why doesn't this code work to set up basic Android OpenGL?
Hey I am trying to just set up the basic structure for some basic graphics. However, when I run this code the app makes me force quit on the emulator. I am using Android 2.3.[详细]
2023-04-10 15:25 分类:问答