Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Optimization/3D Engine

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2001
    Posts
    15

    Optimization/3D Engine

    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

  2. #2
    Intern Newbie
    Join Date
    May 2000
    Location
    LONDON
    Posts
    46

    Re: Optimization/3D Engine

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

    Dan.
    Being crazy is not a requirement but it helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •