PDA

View Full Version : Optimization/3D Engine



Tilgovi
04-07-2001, 04:29 PM
I've been working with the NeHe tutorials: http://nehe.gamedev.net/opengl.asp and I managed to get Lesson 23 working. InputSprocket with DrawSprocket, no glut, walk through a 3D world, etc. However, I only get about 3-5 frames per second in 640x480.
Input doesn't lag, but the display is kinda skippy (the input doesn't slow down because I've gotten the Multiproccessing API to work). In order to optimize, i've set MIN_ and MAX_FILTERS for textures to GL_LINEAR_MIPMAP_NEAREST, i've taken out clearing of the buffers and instead use half-depth buffer swapping (explained at http://www.mesa3d.org/brianp/sig97/perfopt.htm), and i've also implemented Display Lists for the SECTOR rather than drawing it all each time.

However the frames per second still does not increase much. What are some good techniques for optimizing drawing?

-Tilgovi

BANE
04-10-2001, 12:25 AM
You might want to check out the gaming forum at http://www.idevgames.com/cgi-bin/UltraBoard/UltraBoard.cgi for more optimisation tips. Or you could subsribe to the apple opengl mailing list for some good advice.

Dan.