How to make an animation smoothy?
I had wrote a code to animate a plane,but it doesn''t work smoothy.Is there some way to make it?The plane contains 8686 triangles and whether there are too many triangles?Except the display list,is there other way to draw the plane efficienly?(I have a GeForce 256)
8686 is quite a lot of triangles, heh. You might want to try a higher resolution timer, if you''re not using the high-res timer. Or, if you''re not using a time based motion, you might want to try that out.
Also, make sure there are no intentional pauses in the code (Sleep), sometimes I put those in to get the program running, then remove them. Remove any logging functions that are in the rendering loop.
http://www.gdarchive.net/druidgames/
Also, make sure there are no intentional pauses in the code (Sleep), sometimes I put those in to get the program running, then remove them. Remove any logging functions that are in the rendering loop.
http://www.gdarchive.net/druidgames/
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement