开发者

How can I move object without redrawing the other objects?

开发者 https://www.devze.com 2023-03-20 17:08 出处:网络
I need to move several objects without redrawing other objects.开发者_开发知识库Whole scene is redrawn always in MOST 3D engines, so your don\'t have to worry about moving few objects and letting othe

I need to move several objects without redrawing other objects.开发者_开发知识库


Whole scene is redrawn always in MOST 3D engines, so your don't have to worry about moving few objects and letting other stay in place.


When you draw in OpenGL, you draw to a buffer on the graphic card. The buffer do not have a history, it only contains the information for current pixels. In order to move an object without redraw other objects you would not know what to put in the pixels where your object was.

0

精彩评论

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

关注公众号