[x3d-public] Stuck with getting HAnimMotion animation to run.

Joseph D Williams joedwil at earthlink.net
Sun Jul 23 13:23:21 PDT 2023


Hi Holger, 
I was able to run the bvh example when converted to x3d back when a long time ago. In Part 2 of  
>From what I remember on this is that the source bvh animation only specifies a frame rate, or number of seconds between samples. So the x3d import must create a set of keys and organize the keyvalues. Since the keys are at the video frame rate, the key field gets very tedious. Also, the number of  keyvalues goes up fast with skeleton parts, since there tend to be most likely too many keyframes (in angles). Finally, this massive list of keys gets duplicated for every interpolator. 
With this, how much greater could we possibly honor developers of interpolators and implementers of vrml and x3d interpolators than to somehow allow a way to ’DEF’ a key field and reuse it in another interpolator. This would at least consolidate the code so could stand a chance to work on it. 
Of course great number of key steps is not a issue for tools that just make video because they only make fixed steps to render the specific key and don’t interpolate. 
  
Good Luck, Don has worked on this a lot including import of bvh skeleton and animation directly to HAnim. Most of the bvh speaks bones while x3d speaks joints. Remember, data for bone goes to parent joint.  
Thanks,
Joe

From: Holger Seelig
Sent: Saturday, July 22, 2023 11:26 AM
To: X3D
Subject: [x3d-public] Stuck with getting HAnimMotion animation to run.

I am not really clear how to start the animation of a HAnimMotion.  I am very hung up on how a TimeSensor works.

My understanding so far is that the animation is started when the HAnimMotion receives an enabled=true event and then runs to the end or starts over when loop=true.

I also guess that the next and previous events only have an effect if enabled=false, otherwise it wouldn't make sense with the previous assumptions.

I would be very happy if there was clarification on this.

Holger Seelig
Leipzig, Germany

holger.seelig at yahoo.de
https://create3000.github.io/x_ite/





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230723/fa9113e3/attachment.html>


More information about the x3d-public mailing list