Re: Vertex submission (was Re: [Plib-devel] Re: 3DNow! acceleration)
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-04-04 03:52:44
|
> Dave McClurg wrote: > Vertex arrays would be very helpful!!! Well, they'll speed things up somewhat. > i need vertex arrays for the loaders i'm working on > if someone writes ssgVArrayTable, I can update the loaders Yep. > OBJ and ASE always use vertex arrays. > DXF polyface meshes use them too AC3D does too...and SSG doesn't care. > vertex arrays will make the scene graphs generated by > these loaders more efficient to render. right now, > i create 24 vertices for a cube when i should only > create 8 (with vertex array support). Well, you don't need 24 vertices - 16 is enough if you build it with two triangle strips. The current ssgVtxTable comes pretty close to storing the data you need for CVA's - so deriving a CVA class from it should be really easy. -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |