开发者

Best method to refresh display in OpenGL

I have a simple OpenGl scene with objects, and a function called by a timer every 开发者_JAVA百科1/30 secs to move objects in the scene. What's the best method to tell OpenGl to refresh the screen ? I am not using double buffering.


You should definitely use double buffering (also for performance reasons). The canonical way to refresh a scene in OpenGL is to redraw the whole thing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜