From: Gino v. d. B. <gva...@vi...> - 2008-03-13 09:33:20
|
John F. Richardson wrote: > Hello, > > >From a Feb5 OSG post > http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Vi > sualStudio/VisualStudioPlugins > > Indicates that it is openvrml-0.14.3 for windows > > There are references to BOOST being a problem on other platforms. Don't ask > me why. > > I've contributed to the OSG VRML plugin, and I suspect that the main issue with the latest OpenVRML distribution is that it adds an additional dependency without getting an apparent benefit from it in return. The VRML plugin would be the first OSG component to depend on boost, and adding this dependency can be a hassle especially on Win32. I'm sure that a lot of OSG users do not bother to build the VRML plugin, so making an exception for the ones that do use VRML or X3D may be acceptable. Let's make it clear that I do not set out the policy on this matter. I guess there just isn't a high demand for X3D support. Indeed, COLLADA has replaced VRML/X3D as an open exchange format, which leaves X3D's application area to be mainly web-apps. As for VRML97, if it would show that , for instance, OpenVRML 0.16 is a lot faster than OpenVRML 0.14 or has otherwise better quality (memleaks, etc) then making a move to 0.16 may be worthwhile for sure. > However, you can compile 0.16.x or later in OSG yourself and submit the > plugin. > > Note that you'll have to add "x3d" or "x3dv" as an extension in de osgDB/Registry.cpp as well as fix the osgPlugins/vrml/ReaderWriterVRML2.cpp to allow for X3D file extensions. Also, I would like to note that the current VRML plugin is not fully VRML97 compliant. In the latest developer release, there is support for IndexedFaceSet, Sphere, Box, Cone, and Cylinder. Gino van den Bergen > There were no search matches for X3D on the OSG wiki. > > The OSG plugin writers seem to be more interested in collada than X3D. > > John F. Richardson > > -----Original Message----- > From: ope...@li... > [mailto:ope...@li...] On Behalf Of Braden > McDaniel > Sent: Wednesday, March 12, 2008 3:31 PM > To: Openvrml-Develop@Lists. Sourceforge. Net > Subject: Re: [openvrml-develop] is it true? > > Nicholas F. Polys wrote: > >> Hi all~ >> >> I see that openvrml can be used as a loader with openscenegraph >> http://www.vis-sim.com/3dsceneBB/viewtopic.php?t=906 >> >> >> does that mean x3dv files too? >> > > It could if they're using OpenVRML 0.16.x or later. > > >> How is the mapping / node support once you are in the osg idiom? >> >> it looks to be less than interchange: >> >> >> > http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/src/ > osgPlugins/vrml/ReaderWriterVRML2.cpp?rev=7076 > > While I'm aware of OpenVRML's usage in OSG, I'm really not familiar with > the particulars of it. If no one chimes in here, you may have better > luck asking on an OSG mailing list. > > |