On Wed, Jun 19, 2013 at 1:00 PM, Robert Osfield <[email protected]> wrote: > Hi Jan, > > I have got the vrml plugin compiling against OpenVRML0.18.9 and the > latest changes to osg::Geometry, albeit still using the deprecated > functions. I don't have any .wrl models right now so will let others > test the plugin.
You can find some example models in the "models" subdirectory of OpenVRML. Those should work, of course not every VRML feature is supported in the plugin. > > Longer term the vrml plugin, along with the Inventor plugin will need > revisting so it doesn't using vertex indices or BIND_PER_PRIMITIVE, I > have plenty on my plate so will have to leave this to others to > tackle. I can have a look at it, but what is the recommended way to fix this? The problem is that VRML meshes use the indexed format for the most part, so if the mesh representation has to be converted, that is going to be a major pain. BIND_PER_PRIMITIVE loss is annoying, but can be fixed relatively easily by duplicating the attributes per vertex. Regards, Jan _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

