-
-
Super Moderator
OpenGL Guru
Re: Rendering a list of structures - Advice
That's one way.
Generally it's kinda done with a generic object type and the object has info like location and orientation and a member/pointer to detailed geometry, the geometry can be shared.
Your approach if I understand it is inherently sorted by object type which is actually good for state management, a more generic object approach tends to require sorting, yours will too but probably a bit less so.
I suggest you take a look at Open Scene Ggraph.
http://www.openscenegraph.com/pmwiki.php/Home/Home
I'm moving this thread to the scene graph/higher level topics section.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules