[x3d-public] Transforming a humanoid in X3DJSAIL/x3d.py

Joe D Williams joedwil at earthlink.net
Fri Aug 25 08:38:32 PDT 2023


> Okay, as I thought before, HAnimDisplacers are for skin.

HAnimDisplacer intended to work with any geometry of  the humanoid.
skin, segment, and site geometry.

> What I want is programmatic control of the scenegraph.Please investigate the X3D SAI. You can take control of a browser, then build and interact with the scene. And you can share it with others. Really, have a good look at SAI external and internal interfaces. Challenge to find better model for live, realtime, interactive scenegraph. > So input XML, programmatically manipulate the scenegraph, and export scenegraph to XML. Right, basically any x3d browser needs to do that. You can create a gui to help authortime or interface directly through the SAI, then when you are ready, just create a text file showing the current scene user code. Text in and text out.> I don’t wish to change hierarchical relationships of the Humanoid, just the numbers.The hierarchical relationships are designed to be flexible, but realistic in articulation. It appears to me that the science is putting some numbers in the right place and the art is getting those numbers to perform.>I’m not sure what the abstract SAI does.Then this will be a great epic voyage.And, hopefully not a test of your patience with x3d toolmakers.  
Thanks, 
Joe




-----Original Message-----
From: John Carlson <yottzumm at gmail.com>
Sent: Aug 25, 2023 1:15 AM
To: Anita Havele <anita.havele at web3d.org>, Don Brutzman <brutzman at nps.edu>, GPU Group <gpugroup at gmail.com>, Joe D Williams <joedwil at earthlink.net>, Michalis Kamburelis <michalis.kambi at gmail.com>, X3D Graphics public mailing list <x3d-public at web3d.org>
Subject: Re: Transforming a humanoid in X3DJSAIL/x3d.py

Okay, as I thought before, HAnimDisplacers are for skin.  I read the standard a bit.   What I want is programmatic control of the scenegraph.  Not for visual animation, but to put the humanoid in a certain position, like server-side headless (lol)  animation.  So input XML, programmatically manipulate the scenegraph, and export scenegraph to XML.  I don’t wish to change hierarchical relationships of the Humanoid, just the numbers.
 
John

On Fri, Aug 25, 2023 at 2:53 AM John Carlson <yottzumm at gmail.com (mailto:yottzumm at gmail.com)> wrote:
What I’m trying to say is:  setScale, setTransform, setScale are inadequate.  What one wants is applyScale, applyRotation, applyTransform—like doing animation on the scenegraph in X3DJSAIL.
 
I’m not sure what the abstract SAI does.
 
I think that HAnimDisplacers may be meant for this, but the documentation is currently inadequate in X3DJSAIL to be usable.  I don’t get it!
 
Do i need a displacer near every joint?
 
Thanks for listening!
 
John

On Fri, Aug 25, 2023 at 2:30 AM John Carlson <yottzumm at gmail.com (mailto:yottzumm at gmail.com)> wrote:
Would X3DJSAIL or x3d.py include libraries to transform a HAnim Humanoid?  This would be an important addition/example.  I know Joe has been pushing me in this direction.
 
I’m still trying to get to the point where I can take JSON (or XML) as input to …, transform it, and output XML or JSON.
 
I’m not going to write matrix multiplication code in XSLT if I can help it.
 
Supporting JSON input is important to me.  I realize that i can create Java or Python code with a stylesheet, and then modify it.  What good matrix libraries work with X3DJSAIL or x3d.py? Or are they built in?
 
This is important because we are getting VRML code out of tools which aren’t HAnim, and we can probably transform them to HAnim.  WIP.
 
I do not know if DOM is adequate for doing Matrix multiplication, but I think we should be able to do the transforms anywhere in the scenegraph, not just DOM.
 
It’s not a really a matter of I/O, it’s a matter of processing.
 
I’m going to go look at X3DJSAIL documentation now.
 
Thanks for listening!
 
John 






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230825/1ddd3d6c/attachment-0001.html>


More information about the x3d-public mailing list