Hi, it seems that there is a bug in the vrml plugin or possible the color binding handling of osg. When colorPerVertex is set to false, the scene nevertheless appears as if colors were bound per vertex. Though I verified that BIND_PER_PRIMITIVE is used for color binding in IndexedFaceSet.cpp:220.
I attached a minimal example with two cubes, a blue one behind a green one. FreeWRL will render this correctly, osgviewer renders it as if colorPerVertex was set to TRUE. I am using the current SVN checkout of OpenSceneGraph and openvrml 0.18.8 and would be grateful if anyone could have a look at it. Thank you! Cheers, Stefan ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=46611#46611 Attachments: http://forum.openscenegraph.org//files/cubeswrl_203.txt _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

