Jump to content
  • Advertisement

Archived

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

kRogue

another question on efficiency

This topic is 5347 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 all, another question on efficiency: which is better? (1) a model which is broken into several/many trianlge strips and triangle fans. Create a big array for the vertices, and for each strip or fan an array of indexes then call glDrawElements for each set of traingle strips/fans (2) the same model, but instead of being broken into strips and fans, just has a listing of traingles, and call glDrawElements once to render it. I basicly have in mind quake2 md2 models in mind, which are typically less that 1000 triangles anyways... Best Regards.

Share this post


Link to post
Share on other sites
Advertisement
What about glMultiDrawElementsEXT ?
I believe strips would still be best.


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

Share this post


Link to post
Share on other sites
oh boy, I am yet again so far behind on the glext stuff...

thanks for the pointer, I will go look that up.

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!