Re: Vertex submission (was Re: [Plib-devel] Re: 3DNow! acceleration)
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-04-03 23:25:45
|
Sam Stickland wrote: > How about how the vertexes are submitted? Am I right in thinking that > currently ssgVTable simply does glBegin's and glEnd's on the vertex > information? I assume there could be some big wins here if we started using > CVA's (or even just vertex arrarys?) ?. > > Or is the idea for people to create subclasses of VTable to fix the > situations as neccessary? I intend to write a CVA or VA class at some time in the future - but I'm just so short of free time right now that it's not going to happen for a while. I don't think it's hard to do though - if you'd like to contribute a suitable class, I'd be VERY happy to accept it. Since CVA's are only an extension to OpenGL, we'd have to conditionally fall back on VA's on platforms that don't support them. That being the case, we probably only need one class - I don't think there are many cases where people would want simple VA's if CVA's are available. -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |