I writing small program in OpenGL, and I have problem ( textures are skew, and I dont know why, this model work in another obj viewer)
I don\'t understand the concept of showing sprites mapped into OpenGL Triangles. If OpenGL ES only draws triangles and points, How do you display/map non-tri开发者_JAVA百科angular shapes?
basically I have a texture. I also have a lets say octagon (or any polygon). I find that octagon\'s bounding box. Let\'s say my texture is the size of the octagon\'s bounding box. How could I figure o
i am developing an application where client can add his photos to appear on a sphere or ball or coffee cup and able to save them and give it for printing using flex. like itasveer.com site. i tried to
I\'ve got some code which I would like to translate into Opengl ES. I\'m not experienced with it however, so here it goes. The original code does a loop like this:
I am having trouble cube mapping when using a DDS cube map, I\'m just getting a black cube which leads me to believe I have missing something simple,here\'s the code so far:
Is it possible to disable texture colors, and use only white as the color? It would still read the texture, so i cant use glDisable(GL_TEXTURE_2D) because i want to render the alpha channels too.
I have points in 3D space and their corresponding 2D image points. How can I make a mesh out of the 3D points开发者_Go百科, then texture the triangle faces formed by the mesh?Note that the function tr
I am relatively new to OpenGL and I am having some issues when I am rendering an image as a texture for a QUAD which is as the same size of the image. Here is my code. I would be very grateful if some
I\'m creating a 2D game and when the player dies I want the texture I to switch to another (to show an explosion) I also want the game to pause for a second or two so the user can see that t开发者_开发