[x3d-public] JSHumanoids repo—resize, reanimate your humanoids
John Carlson
yottzumm at gmail.com
Fri Mar 8 11:35:17 PST 2024
You ask some difficult questions. Ideally, one could specify a DEF node
and a list of Transforms to apply and a timestamp.
I’m guessing the Jaminate was along those lines, but more targeted at
creating Interpolators for turning on and off animations in a chains.
JSHumanoids is more like a one time animation, that takes XML input and
produces XML output.
I am thinking to de-emphasize Blender work, mainly because I suck at Python
and move back into Serializer and WinterAndSpring work. A first goal would
be to have multiple IndexedFaceSets in a single humanoid. I could start
work on replacing the Perl with Java-based JavaScript.
But I will need some data to work with, so JinLOA4.x3d looks like a good
start.
On Thu, Mar 7, 2024 at 10:08 AM Carol McDonald <cemd2 at comcast.net> wrote:
> But I don't always want to rescale. If the humanoids are different -
> let's say between toddlers and adults, I would want multiple meshes that
> have very different rigs and movements.
>
> Carol
>
> On 03/07/2024 3:48 AM PST John Carlson <yottzumm at gmail.com> wrote:
>
>
> https://github.com/coderextreme/JSHumanoids
>
> Under Apache 2.0 license. There’s also an .x3d file from the humanoid
> archive—license is included. Parts derived from X3DUOM. Alternative
> X3DJSAIL jars included. Please also provide license for X3dToJson.xslt.
>
> For applying transformations to an X3DJSAIL scenegraph, like rescaling
> Humanoids and changing OrientationInterpolators through the whole
> scenegraph. 3D Model is in X3DJSAIL-GraalJS, extending beyond limits of
> Java binding code size.
>
> I’d like to thank Don Brutzman for X3DUOM, X3DJSAIL and X3dToJson.xslt (I
> can’t use CommandLine due to Java bug/stack overflow), Roy Walmsley for
> X3DUOM and X3D JSON Schema, the authors of JinLOA4.x3d, Java and JavaScript
> language developers, vim developers, Saxon developers, Python language
> developers and Git developers.
>
> Rescaling takes a Humanoid with a scale field, and multiplies and adds the
> values down the humanoid hierarchy.
>
> Reorientation currently negates the rotation, achieving a kind of
> satisfaction for converting +Z to -Z and vica versa for
> OrientationInterpolators. Negating any axis is also possible.
>
> Thanks to Joe Williams for the inspiration, and to Andreas Plesch for
> showing it’s possible, and Katy and Carol for Gramps (not included).
>
> If anyone wants a node-java version, let me know.
>
> This might be a programming model for future WinterAndSpring work.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240308/c78a19f7/attachment.html>
More information about the x3d-public
mailing list