Skip to main content
gamedev.net
🔒 Locked

another question on efficiency

Started by kRogue Mar 24, 2004 at 7:30 AM 1 replies 350+ views
Original Post
kRogue
kRogue
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.
Close this Gamedev account, I have outgrown Gamedev.
Ingenu
Ingenu
What about glMultiDrawElementsEXT ?
I believe strips would still be best.


-* So many things to do, so little time to spend. *-
-* So many things to do, so little time to spend. *-
kRogue
kRogue
oh boy, I am yet again so far behind on the glext stuff...

thanks for the pointer, I will go look that up.
Close this Gamedev account, I have outgrown Gamedev.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.