I\'m making an OpenGLES Android app using Android NDK, expanding from 开发者_开发技巧android\'s gljni example, which can be found here
I\'m working on an iPhone project in Xcode 3.2.4 for which I\'d like to display textures using OpenGL ES 2.0. I don\'t have much previous experience working with OpenGL, but so far it doesn\'t seem to
Of course the texture will not be completely visible on the screen. And I can make it always draw just the visible part (With glTexCoord2f and then glVertex2f). (It is the big \"level\"-image, which I
I am working on drawing anti-aliased lines in OpenGL-ES on iPhone. I am using an approach outlined in iPhone 3D Programming, called \"Rendering Anti-Aliased Lines with Textures\". The basis idea is to
A very strange error: if I add some specific code to my project, any textures I use contain nothing but 0. Even when I\'m not running any of the code that was added.
Alright, so I\'ve got this OpenGL tutorial I\'m basing from, my current code is equivalent to Part II of it, which is here:
I need to load PNGs and JPGs to text开发者_运维问答ures. I also need to save textures to PNGs. When an image exceeds GL_MAX_TEXTURE_SIZE I need to split the image into separate textures.
Hey guys,开发者_JS百科 is there a way to crop a 2d texture? Thanks, MaxMake the source rectangle of the texture smaller and it will be cropped.
I\'m trying to set a background World Texture in Blender 2.49. I\'ve made a texture: import Blender from Blender import *
Recently I have been looking into OpenGL, and I\'ve got up to the stage were I want to texture things. I thought I would start with texturing a simple cube.