Jump to content
  • Advertisement


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


display lists and fractal trees

This topic is 6203 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

Hi, I''m using a recursive algorithm to build fractal trees that i''m putting in a scene. I put the call for fractal tree drawing code into a display list but there is apparently no performance increase. For a performance advantage do i need to have all the drawing code within the same function because right now all the drawing code is in another function but it is called like this: GLvoid BuildLists() { g_dlistftree=glGenLists(1); glNewList(g_dlistftree,GL_COMPILE); DL_drawtree(3.0f,4); glEndList(); } Since it''s a recursive algorithm, i obviously can''t put the drawing code within the buildlist unless i change it into a iterative one. Any suggestions would be appreciated, Thanks

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!