RE: [Plib-devel] ssgVtxArray fixes.
Brought to you by:
sjbaker
From: Dave M. <dp...@ef...> - 2000-08-08 05:51:11
|
Steve Baker wrote: > Yep - when you called 'glDrawElements' you said: > > glDrawElements ( gltype, num_vertices, GL_UNSIGNED_INT, ii ) ; > ^^^^^^^^^^^^^^^ > Change this to > GL_UNSIGNED_SHORT > > ..you can also pass GL_UNSIGNED_BYTE - but I think that's *too* small. > > This would be a non-reverse-compatible change though - how many people > are using ssgVtxArray and would be upset by such a change? I'm using it but would welcome any change that makes it more efficient. I wasn't aware of the 32K limit of points in a leaf you mentioned. Where does that limit occur in the source? Should we check that limit when models get loaded? --Dave |