robertosfield wrote:
> Hi Andrew,
> 
> I wouldn't recommend creating a single osg::Geometry with millions of
> vertices/primitives, while in theory it should work, even if it does
> it's likely to perform poorly as the GL driver won't be able to just
> render the data directly - it'll need to stream it in chunks.
> 


Hi Robert,
When trying to fix this, I modified OSG and "chunked" up the calls to 
glDrawElements inside PrimitiveSet.cpp to be  GL_MAX_ELEMENTS_INDICES in size. 
Anything wrong with this approach? This would mean the OSG user need not be 
concerned about whether they are using 'too many' vertices/primitives.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=35157#35157





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to