[X3D-Public] VRML to X3D converter

Don Brutzman brutzman at nps.edu
Tue Jul 5 17:14:09 PDT 2011


On 7/5/2011 4:43 PM, Joe D Williams wrote:
> It is an automatable XSLT file associated with X3DEdit.
> Please look arond here.
> https://savage.nps.edu/X3D-Edit/
> Don will tell more about it.
> We do VRML to X3D and even back again.

Thanks for the reference Joe.  It turns out that the XSLT stylesheets
need XML as an input, so they can only start with an .x3d file.
However there are 2 stylesheets going in that direction,
one for X3D to ClassicVRML .x3dv and another for X3D to VRML97 .wrl.

Summaries and links maintained at
http://www.web3d.org/x3d/content/examples/X3dResources.html#Conversions

> XSLT Stylesheets convert .x3d scenes into alternate formats and encodings. These stylesheets (and corresponding batch files) are bundled in X3D-Edit.
> 
>     Conversion to ClassicVRML (.x3dv encoding): X3dToX3dvClassicVrmlEncoding.xslt, X3dToVrml97.xslt -fileEncoding=ClassicVRML and X3dToX3dvClassicVrmlEncoding.bat
>     Backwards compatibility with VRML 97 (.wrl encoding): X3dToVrml97.xslt and X3dToVrml97.bat
>     Tagset pretty-printing in XHTML (.html encoding), includes cross linking of DEF/USE/ROUTE/etc.: X3dToXhtml.xslt and X3dToXhtml.bat (plus incremental partial-stylesheet lesson examples X3dToXhtmlStylesheetExamples.zip)
>     Current versions of the X3D stylesheets are checked into version control at http://x3d.svn.sourceforge.net/viewvc/x3d/www.web3d.org/x3d/stylesheets

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br      brutzman at nps.edu
Watkins 270   MOVES Institute, Monterey CA 93943-5000 USA  +1.831.656.2149
X3D, virtual worlds, underwater robots     http://faculty.nps.edu/brutzman



More information about the X3D-Public mailing list