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 6 of 6

Thread: Will this work for speedup??

  1. #1
    Intern Newbie
    Join Date
    Nov 2001
    Posts
    47

    Will this work for speedup??

    Hi all,
    I'm wondering if this approach will work in speeding up the FPS of my scene. Say I read a scene from some geometry file and all I want to do is fly through the scene. Since the values I read in are not changing and only the eyepoint is, sould I use display lists to increase performance? Would a change in the eyepoint position constitute a change in the state of the scene? Now, with every new eyepoint, actaully with every new frame I call glBegin/glEnd and draw my scene one facet at a time.

    Thanks,
    GGL

  2. #2
    Junior Member Newbie
    Join Date
    Jan 2002
    Location
    Canada
    Posts
    17

    Re: Will this work for speedup??

    Yes, if you're geometry is not changing you definetly can use display lists, and then translate and rotate the matrix to move the camera around. And display lists will speed this up under almost all circumstances.

  3. #3
    Member Regular Contributor
    Join Date
    Feb 2002
    Posts
    377

    Re: Will this work for speedup??

    Originally posted by tempocrew:
    ...and then translate and rotate the matrix to move the camera around.
    why not glulookat? made things for me easier than this glrotate stuff esp. if you wanne fly around


    [This message has been edited by satan (edited 02-19-2002).]

  4. #4
    Member Regular Contributor
    Join Date
    Jul 2000
    Location
    Arlon, Belgium
    Posts
    486

    Re: Will this work for speedup??

    Yeah, display list 're cool

    Your can add a QuadTtree system, it'll speed up the performance and a Frustum Culling.

    It's not difficult to add these 2 things.

  5. #5
    Guest

    Re: Will this work for speedup??

    Display lists are cool. So is gluLookAt.

  6. #6
    Intern Newbie
    Join Date
    Nov 2001
    Posts
    47

    Re: Will this work for speedup??

    Thanks folks. I just coded the app and things look good. I use glLookAt. It's easy. The next thing to do it calculate FPS and see.

    Again, thanks.

    GGL

Posting Permissions

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