[x3d-public] x3d script to x3dom scripting example
roy.walmsley at ntlworld.com
Wed Sep 16 03:13:38 PDT 2015
Your work below is very timely! Script node handling is under serious consideration at the moment with respect to the next version of the specifications. So we will look at your examples with great interest.
From: x3d-public [mailto:x3d-public-bounces at web3d.org] On Behalf Of Andreas Plesch
Sent: 16 September 2015 08:30
To: X3D Graphics public mailing list
Subject: [x3d-public] x3d script to x3dom scripting example
Since I had a need to fix proper text alignment in x3dom, I ported the Nist conformance text driver example scene:
Here are source views:
One could probably find more elegant code but this tries to stick closely to the original.
One can see that some work is involved in the porting to define the interface but the main functionality remains as is.
Hopefully this can help as a starting point if there is a need to convert existing, scripted x3d scenes to x3dom, for example to integrate more tightly with a surrounding web page.
39 Barbara Rd.
Waltham, MA 02453
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the x3d-public