[X3D-Public] Available: X3dToX3dom.xslt converter for X3DOM

JOHN COADY johncoady at shaw.ca
Sun Apr 1 14:02:19 PDT 2012


Hi

   The 3D content window of your xhtml files do not work on my laptop computer. My laptop doesnèt support webgl because it has an older graphics card which supports opengl 1.5 and not opengl 2.0. I am however able to see the 3D window of xhtml files coming from x3dom because they will use the flash player as a backup if webgl does not work on the users computer.

For instance this xhtml file of yours does not show the 3D window on my computer.

http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter02-GeometryPrimitives/Box.xhtml 

but this xhtml file from x3dom does work on my computer because it uses flash player for 3D window.

http://x3dom.org/x3dom/example/x3dom_geoPrimitives.xhtml 

You should have a look at the source of the x3dom xhtml example files to see what they are doing differently from what you are doing in your xhtml file to support x3dom on computers with older graphics cards. 

John
----- Original Message -----
From: Don Brutzman <brutzman at nps.edu>
Date: Friday, March 30, 2012 9:30 am
Subject: Re: [X3D-Public] Available:  X3dToX3dom.xslt converter for X3DOM
To: Johannes Behr <johannes.behr at igd.fraunhofer.de>, Yvonne Jung <yvonne.jung at igd.fraunhofer.de>
Cc: X3D Graphics public mailing list <x3d-public at web3d.org>

> i continue to work on the translator.  
> improvements/suggestions welcome.
> 
> Fraunhofer team:
> - is there a list of supported nodes somewhere for x3dom.js?
> this would assist in troubleshooting.
> 
> - is it possible for me to put in a prior invocation of WebFonts 
> in the converter
> in order for the HTML to properly initialize the X3D text 
> node?  Hints welcome.
> 
> 
> Converter bug:  there is a stray
> 
> xmlns=""
> 
> that can creep in to the .xhtml output.  strip out any of 
> those to avoid
> the "growing x3d pane" issue and let the Zoom button work.
> 
> 
> 
> On 3/26/2012 4:50 AM, Don Brutzman wrote:
> > I've written a stylesheet to convert .x3d scenes to X3DOM 
> xhtml encoding.
> > Available at
> > http://www.web3d.org/x3d/stylesheets/X3dToX3dom.xslt
> > 
> > Initial conversions are available for inspection in the
> > X3D for Web Authors examples archive for each scene.
> > Original files in the XML encoding with .x3d extension
> > are converted to X3DOM (HTML + X3D) with .xhtml extension.
> > 
> > http://x3dgraphics.com/examples/X3dForWebAuthors/
> > 	then pick a chapter
> > 	then pick a scene
> > 	see upper right corner for link for x3dom .xhtml
> > 
> > Example:
> > http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter02-
> GeometryPrimitives/GeometryPrimitiveNodes.x3d> 
> http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter02-GeometryPrimitives/GeometryPrimitiveNodes.xhtml
> > 
> > I also experimented with (and included) the nice Zoom/Unzoom 
> functionality> provided by the well-documented X3DOM tutorial 
> "Styling with CSS" at
> > http://x3dom.org/docs/dev/tutorial/styling.html
> > 
> > Thanks again to the Fraunhofer team for the stellar X3DOM work.
> > Comments and improvements on this converter are welcome.
> > 
> > all the best, Don
> 
> 
> 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 graphics, virtual worlds, navy robotics 
> http://faculty.nps.edu/brutzman
> _______________________________________________
> X3D-Public mailing list
> X3D-Public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20120401/e230b62a/attachment.html>


More information about the X3D-Public mailing list