[x3d-public] Future of X3D presentation - event model harmonization

Don Brutzman brutzman at nps.edu
Thu Jun 15 09:39:00 PDT 2017


On 6/14/2017 1:09 PM, John Carlson wrote:
> Don wrote:
> > 
>> 5. When X3D is embedded into an HTML web page (as opposed to referenced as an external file) all the nodes in the scene appear in the DOM just like regular HTML elements. They can, therefore, be accessed using typical HTML approaches.
> 
> Seeing the Script node and Script fields may be an issue (does Cobweb do it?).

Yes.  Writing examples that show how to do this is important.  Suggested partitioning of the problem:

a. X3D Script -> ROUTE -> X3D element (base case, same scene, no html involved)
b. HTML script -> DOM node -> corresponding X3D scene graph update
c. X3D node produces event will we provide mechanism to send to parent HTML5/DOM?

>  Are you planning buy in from W3C consortium?

If we adapt existing HTML5/DOM examples, and existing HTML5/DOM/SVG examples, and follow the relevant W3C Recommendations, that will almost certainly show various stages of interoperability.

If example illustrate a true problem in the HTML5 Recommendation then good - that becomes a shared agenda item.  Web3D Consortium has a liaison partnership with W3C and Web3D members can participate in W3C working groups.

> I’ve extended X3DOM to support scripts and script fields, but am moving away from that.

Once there are some working X3DOM examples with X3D Script node support, that will be great.  For instance, here are additional scenes in X3D Example Archives that might be tested further.  Already available:

http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter30Scripts
http://x3dgraphics.com/examples/X3dForWebAuthors/Chapter09EventUtilitiesScripting
http://www.web3d.org/x3d/content/examples/ConformanceNist/Miscellaneous/Script

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



More information about the x3d-public mailing list