Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

wolfman8k

OpenGL Display lists in OpenGL

This topic is 6444 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

If I have 100-600 identical objects each with 10-20 triangles, would it be faster to render them as a display list or without. When I render them without, I render them all in one glBegin/End block, because I translate them by hand and send the card the final coords. Basicly, which is faster? THIS: glBegin(); renderobject(1); renderobject(2); renderobject(3); .... glEnd(); OR THIS: glTranslatef(); glCallList(); glTranslatef(); glCallList(); glTranslatef(); glCallList(); .... Right now I''m doing the first approach, and want to know if it''s possible to get a higher frame rate with the second. Thanks, wolfman8k

Share this post


Link to post
Share on other sites
Advertisement
Display list should be faster on nearly any OpenGL implementation out there.

Display lists have been created to optimise numerous identical objects reproduction.
(wheels of a car in a race game...)

IMO.

-* So many things to do, so little time to spend. *-

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!