Hi Robert,
Thanks for the quick reply. Upon further debugging and inspection, I think the
problem was fixed already in 2.8.3. I'm using Visual Studio 9, and haven't
gone to 2.8.3 since the downloads page still says binaries for VS9 are not yet
available.
Anyhow, in 2.8.2 GeometryTechnique::generateGeometry always uses
DrawElementsUShort when creating the skirt- for the interior of the tile,
DrawElementsUInt is used. 2.8.3 has a check for tile size built in:
osg::ref_ptr<osg::DrawElements> skirtDrawElements = smallTile ?
static_cast<osg::DrawElements*>(new
osg::DrawElementsUShort(GL_QUAD_STRIP)) :
static_cast<osg::DrawElements*>(new
osg::DrawElementsUInt(GL_QUAD_STRIP));
I suspect this fixes the problem, but haven't tested it directly. In the mean
time, if I don't create a skirt, I can avoid the problem even in 2.8.2.
Cheers,
Tom
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=28886#28886
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org