Hi all!

I've been updrading a program from OSG 2.8.x to 3.0.0 and have hit a problem
with some double precision vertex data. The attached .osg file is a stripped
down part of the scenegraph that is causing problems. It works fine with
osgviewer in both 2.8 and 3.0.0.

If you change the VertexArray to use a Vec2dArray, it works fine in OSG 2.8
albeit with two warnings (Triangle Functor does not support Vec3d* vertex
arrays); but in 3.0.0 the warnings have increased to 6 and nothing is
rendered at all.

I seem to recall (at least from 2.8) that the warnings are from an
intersection visitor complaining. If this is still the case it isn't
necessarily a problem for us - we don't need to perform intersection testing
with the data, as long as it is visible.

Any ideas?

Thanks in advance

Mike

Attachment: edges3.osg
Description: Binary data

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

Reply via email to