textures
glgConvertTo_32 on the iPhone
I ran my app through Instruments today and noticed that an excessively high amount of time was being spent in the \"glgConvertTo_32\" function. I read elsewhere that this is because Apple uses \"GL_BG[详细]
2023-03-30 07:34 分类:问答Should OpenGL textures be dynamically loaded and unloaded
I am implementing a game engine using OpenGL and wonder if it\'s a good idea to manually unload textures that are not used within a certain radius of the camera. It has been suggested to me for Androi[详细]
2023-03-30 06:56 分类:问答Wrong texture values in glCopyTexImage2D()
I got wrong texture values from glCopyTexImage2D(). I attached depth texture to FBO, and got its value in rendering pass. I expected a result like below : (x : background, y : correct pixel)[详细]
2023-03-30 00:08 分类:问答Direct3d drawing 2d sprites. scaling issues
I\'m new to programming with c++ and direct3d. I try to draw textures(LPDIRECT3DTEXTURE9) on the screen with a sprite(LPD3DXSPRITE). But when I draw a texture it seems to enlarge it, a 100x100 px text[详细]
2023-03-29 20:33 分类:问答Texture Atlas in OpenGL ES 2.0
I am working on a simple project with OpenGL ES 2.0.It\'s gone fairly well, but I seem to have hit a spot that is seemingly poorly documented for us beginners.That being, I am trying to utilize a text[详细]
2023-03-29 18:10 分类:问答Need support in LWJGL - Setting the type of texture
Can somebody help me setting different texture types? (GL_LINEAR, GL_NEAREST, etc) I\'m usingthe slick-util lybrary with netbeans. The problem is that i can\'t set to different types.[详细]
2023-03-29 12:17 分类:问答Opengl es 1.1, texture compression ETC1 and Mipmaping (complete set of mipmaps error)
When I activate the mipmaping on uncompressed texture, all is working perfectly. When I do it on ETC1 texture, the texture is blank, certainly because le complete set of mipmaps was not given.[详细]
2023-03-29 03:44 分类:问答Applying texture without coordinates
开发者_开发技巧Is there any way to apply the texture to an object without specifying texture coordinates?In fixed-function OpenGL, you can generate texture coordinates by activating texture coordinate[详细]
2023-03-28 21:08 分类:问答what is the optimal texture size in this case?
what is the optim开发者_StackOverflow社区al texture size in this case for pixel perfect fit on screen and for performance?[详细]
2023-03-28 15:34 分类:问答Issue with texture loading using the DevIl library
I am working with the DevIl library and trying to use it to load a texture to OpenGL to apply to a sprite. The code is directly out of the C# Game Programming for Serious Game Design book (if that hel[详细]
2023-03-27 21:32 分类:问答