From Sherman Wilcox, "The issue itself occurs when a model is tessellated that has greater than unsigned short number of vertexes. An object called vertexPtrToIndexMap contains vertexes and their indexes. This std::map object can obviously hold a quantity that is greater than unsigned short, however osg::DrawElementsUShort objects were being created to reference these vertexes and their indexes. osg::DrawElementsUShort can only hold indexes that are 16-bit quantities.
From Sherman Wilcox, "The issue itself occurs when a model is tessellated
that has greater than unsigned short number of vertexes. An object
called vertexPtrToIndexMap contains vertexes and their indexes. This
std::map object can obviously hold a quantity that is greater than
unsigned short, however osg::DrawElementsUShort objects were being
created to reference these vertexes and their indexes.
osg::DrawElementsUShort can only hold indexes that are 16-bit
quantities.

...

proposed_patch_2\tessellator.cpp. This solution examines the size of
vertexPtrToIndexMap and selects 1 of 3 possible osg::DrawElements
objects: DrawElementsUByte, DrawElementsUShort, or DrawElementsUInt.
The main drawback of this particular solution is the code duplication.
However, the repair is straightforward."



jtorresfabra/osg,scrawl/osg,marchelbling/osg,artoolkit/osg,artoolkit/osg,openscenegraph/osg,tomasthoresen/osg,jtorresfabra/osg,openscenegraph/osg,artoolkit/osg,openscenegraph/osg,scrawl/osg,marchelbling/osg,jtorresfabra/osg,scrawl/osg,tomasthoresen/osg,scrawl/osg,openscenegraph/osg,tomasthoresen/osg,marchelbling/osg,marchelbling/osg,artoolkit/osg,tomasthoresen/osg,jtorresfabra/osg