opengl
My C++ OpenGL SDL program is not working as I expected
I have just started learning OpenGL and I am attempting to make a game of pong. I\'m having trouble getting the paddle to appear on the screen and I can\'t fathom out why: I thought with this code it[详细]
2023-04-09 04:42 分类:问答Problem handling keyboard with openGL and SDL in OCaml
I\'ve a problem handling keyboards events using SDL (only for keyboard events) and openGL (to display graphics, I\'m planning to display 3d graphics). When I use Sdlevent.poll nothing happen and I can[详细]
2023-04-09 03:13 分类:问答OpenGL object creation
Right now, I\'m modelling some sort of little OpenGL library to fool around with graphic programming etc. Therefore, I\'m using classes to wrap around specific OpenGL function calls like texture creat[详细]
2023-04-08 22:35 分类:问答OpenGL: glTexEnvi, glBlendFunc and On Screen Text Messages
I\'m developing a movie player 开发者_C百科and I\'m using OpenGL to draw frames and On Screen Messages.[详细]
2023-04-08 19:11 分类:问答OpenGL camera with 3 vectors
Okay, so I was following this tutorial to help me with making a camera in OpenGL: http://nehe.gamedev.net/data/articles/article.asp?article=08[详细]
2023-04-08 17:08 分类:问答OpenGL constant color
I read in this Apple documentation (under the header \"Avoid Storing Constants in Attribute Arrays\") it says that if a model\'s vertices all have the same colour then colour shouldn\'t be a vertex at[详细]
2023-04-08 16:10 分类:问答OpenGL is it better to batch draw or to have static VBOs
What is preferrable, from an effiency point of view (or another point of view if it\'s important) ? Situation[详细]
2023-04-08 15:31 分类:问答how to use VBO for morphing?
I want to have a mesh that can be animated. I\'m loading mesh from a file, including key frames. I want to put all the frames into VBO and compose two of them on the GPU in a vertex shader. So i want[详细]
2023-04-08 11:08 分类:问答Load a cubemap in a DDS file with DevIL
I only get the first face in a cubemap. How do I access/load the other ones? With DevIL 1.7.8 on Ubuntu Natty:[详细]
2023-04-08 10:34 分类:问答Rendering with glDrawRangeElements() not working properly
This is a followup to my previous question. All of my questions were answered in my last thread but this is a new error that I am having. When rendering in intermediate mode, everything looks great.[详细]
2023-04-08 07:19 分类:问答