textures
OpenGL ES 1.1 2D Ring with Texture iPhone
I would appreciate some help with the following. I\'m trying to render a ring shape on top of another object in OpenGL ES 1.1 for an iPhone game. The ring is essentially the difference between two cir[详细]
2023-04-04 11:39 分类:问答glTexImage2D Segfault related to width/height
I got a segfault when I tried to load a 771x768 image. Tried with a 24x24 and 768x768 image and they worked, no problem.[详细]
2023-04-04 07:31 分类:问答Finding image subsets between two images
I\'m working on a way to handle hardware-based bitmap animation. As an input, I\'ve got an image sequence of a simple bitmap (it\'s not a video, it\'s more like simple shapes, even though they might c[详细]
2023-04-04 01:12 分类:问答How to render a texture with alpha?
How to render a texture with alpha? I have a texture, and need to render it w开发者_如何学编程ith different alpha values at different locations. Any way to do so? (My texture is GL_RGBA)[详细]
2023-04-03 18:03 分类:问答OpenGL texture color issue
I\'m loading raw texture (with alpha channel) and displaying it in openGL everything is fine and texture displayed, but color is little bit darker than original. I already tried to turn of lighting, b[详细]
2023-04-03 06:59 分类:问答Combine multiple small texture into large texture
Sorry for this, may be this is very basic question, I have multiple开发者_运维问答 small texture with different size and co-ordinate, and i want apply some transition on this. So i need to combine all[详细]
2023-04-03 04:11 分类:问答iPhone, float textures
I need to have GL_RGBA32F as internal format, but i do not get this in OpenGL ES implementation. Instead of this i get only GL_FLOAT as a texture data type. The开发者_StackOverflow中文版 OES_texture_f[详细]
2023-04-02 22:54 分类:问答Rendering 1.2 GB of textures smoothly, how does a 1 GB GPU do this?
My goal is to see what would happen when using more texture data than what would fit in physical GPU memory. My first attempt was to load up to 40 DDS textures, resulting in a memory footprint way hig[详细]
2023-04-02 19:01 分类:问答parameters for glOrtho for screen size quad in cocos2dx
I am creating a render texture of 2048x2048 and rendering a sprite of size 2048x2048 over it covering the whole render texture. How is the parameters for glOrtho(..) calculated?[详细]
2023-04-02 14:30 分类:问答How to draw bitmap as OpenGL texture in C++?
I have a bitmap, and its handle (Win32 HBITMAP). Any suggestion of how to draw开发者_开发百科 this bitmap on an OpenGL quad (with scaling and pulling the 4 corners of the bitmap to fit the 4 vertexes[详细]
2023-04-02 12:49 分类:问答