Generating Triangle Strips from random objects
Hello,
I''m currently rendering my scene with single triangles, which is quite slow. My problem: I render random objects where I don''t know which faces I can render with triangle strips. Does someone know a solution?
Lyve
_____________________________________
Visit http://www.nilsschneider.de for finest trance music, studio, bio, guestbook and more!
_____________________________________http://www.winmaze.de, a 3D shoot em up in OpenGL, nice graphics, multiplayer, chat rooms, a nice community, worth visiting! ;)http://www.spheretris.tk, an upcoming Tetrisphere clone for windows, a 3D tetris game on a sphere with powerful graphics for Geforce FX and similar graphics cards.
NVIDIA has a NVtristrip library that lets you strip an arbitrary mesh. Go take a look at http://developer.nvidia.com you should find it easily since they''re pretty proud of that library that almost everyone uses.
if your triangle list is well ordered, ie, taking good advantage of vertex caching, it should be no slower, if not faster, than a single triangle strip with duplicate indicies. This is my experience anyway.
| - Project-X - my mega project.. getting warmer
- | - adDeath - an ad blocker I made - | - email me - |
| - Project-X - my mega project.. getting warmer

This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement