Hello, On Sat, Sep 1, 2012 at 7:38 AM, Mahesh Manni <[email protected]>wrote:
> Hi, > I am using VRML 0.17.12 version API for importing the vrml files. > > My importer is not reading the nodes that is declared under the PROTO > keyword. > > Earlier, I have used VRML 0.14.2 version, where it is reading perfectly > all kinds of declarations. > Could you precise what is the actual problem? Do you mean that the PROTOs are not parsed by OpenVRML or they are not loaded into the OSG scene? If it is the former, there isn't much we can do, you can file a bug report on the OpenVRML project. I think that OpenVRML ships a test viewer/parser, you can test your file with that one and see whether it parses correctly. I think you aren't the only one with this issue, quick googling finds e.g. this report: http://sourceforge.net/apps/trac/openvrml/ticket/118 You may also want to update your OpenVRML, the bug may have been fixed in the 0.18.x release. If you mean the latter, I do not think PROTOs were ever loaded into the OSG scene - these nodes define custom object types which can be literally anything. The importer was meant to support loading of basic meshes, not complex VRML scenes (it is not designed to be a VRML viewer!). Regards, Jan
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

