[x3d-public] Non-Hand Coding of X3D (John Carlson)

Joe D Williams joedwil at earthlink.net
Thu Feb 25 17:26:30 PST 2016


> If only there were animation templates?

There should be, since all it takes is defining a timer that runs over 
a certain elapsed time,
a path for a time event telling what time it is (the keytime) to an 
interpolator node that matches a set of data (keyframe data) with the 
keytime and either uses the keyframe data, or it not an exact keytime, 
computes the keyframe data) and finally a path the keyframe data 
result to an active node, which then applies the data.

If the timer runs more than one interpolator, then the same keytime 
(with timestamp) is sent to all related interpolators.

The main reason X3D uses keyframe interpolators is because, in X3D we 
are alive and cannot be sure that the next time wil be exactly a 
keytime. In film and video, they don't (well, may not) need to worry 
about the interpolation because all times are exact keytimes and all 
data is exact keyframe data..

Thanks and Best,
Joe


----- Original Message ----- 
From: "John Carlson" <yottzumm at gmail.com>
To: "Andreas Plesch" <andreasplesch at gmail.com>
Cc: "X3D Graphics public mailing list" <x3d-public at web3d.org>
Sent: Thursday, February 25, 2016 3:08 PM
Subject: Re: [x3d-public] Non-Hand Coding of X3D (John Carlson)


If only there were animation templates?

John
> On Feb 25, 2016, at 5:08 PM, Andreas Plesch 
> <andreasplesch at gmail.com> wrote:
>
> Date: Thu, 25 Feb 2016 15:16:28 -0500
> From: John Carlson <yottzumm at gmail.com <mailto:yottzumm at gmail.com>>
>
> ...
> Anyway, I can probably use D3.js.  I was just thinking of an XML 
> syntax?probably can use templates.
>
> It?s almost like a collection decorator.  You decorate your data 
> with a scenegraph, instead of populating your scenegraph with data.
> ***********************
>
> D3 can be seen just as a convenience library but I am intrigued by 
> the way it promotes really concise, data driven code in an almost 
> declarative style, which actually did lead to new applications for 
> svg. So is there a way to translate the idea of implicitly iterating 
> over and operating on node selections or joined selections into a 
> XML syntax, or more specific X3D functionality ?
> XSLT should come close to providing similar functionality but 
> requires a preprocessing step and of course learning how to use it. 
> So the answer may be that implicit node or field generation based on 
> data arrays is outside the scope of x3d and that there are already 
> good ways to do this.
> Still, an intriguing question,
> Andreas
>
>
>
> -- 
> Andreas Plesch
> 39 Barbara Rd.
> Waltham, MA 02453
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org




--------------------------------------------------------------------------------


> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
> 




More information about the x3d-public mailing list