I want to load a byte array containing a texture in RGBA 8888 format. The OpenGL ES docs offer 4 constants to use:GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_4_4_4_4, and GL_UNSIGNED
I am atempting to draw text to a textured mesh object. The mesh is basically a cube which has been pasted up to the front of the screen. (overall I\'m aiming for a menu system). Aft开发者_如何学Cer a
I have a very n00b like question here .. I have this small XNA game in which I tried importing a 3D model already made and provided by Microsoft. The problem is XNA isn\'t loading the textures associa
I\'ve been playing around with OpenGL for a full week or equivalent. After 2D I\'m now trying 3D. I want to reproduce the 3D scene you can see in the third video on http://johnnylee.net/projects/wii/.
I have code in my iPhone app to draw a pie chart in a UIView. All is great but I need to be able to use a chalk-like texture to draw the outlines and then to fill in the different colours of the pie c
This question is unlikely to help any future visitors;开发者_JAVA技巧 it is only relevant to a small geographic area, a specific moment in time,or an extraordinarily narrow situation that is not g
I have a texture that I want to modify it\'s alpha channel in runtime. Is there a way to draw开发者_运维百科 on a texture\'s alpha channel ?
I know this technically isn\'t supported (and as far as I can tell it\'s undefined behavior) but is it really a fatally horrible thing to sample from a texture which is also being written to?
Is there a way to use GL_RGBA8 on the iPhone/iPad? My textures show up as blank when I try to use GL_RGBA8_OES instead. GL_RGBA is causing prob开发者_开发技巧lem when using transparency.
I have a very odd problem, hopefully easily solved. I am drawing a quad as a triangle strip. It simply has 2 triangles in the strip and I apply a texture containing an alpha channel to it.