<div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 25, 2023 at 2:53 AM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">I’m not sure what the abstract SAI does.</div><div dir="auto"><br></div><div dir="auto">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!</div><div dir="auto"><br></div><div dir="auto">Do i need a displacer near every joint?</div><div dir="auto"><br></div><div dir="auto">Thanks for listening!</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 25, 2023 at 2:30 AM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">I’m not going to write matrix multiplication code in XSLT if I can help it.</div><div dir="auto"><br></div><div dir="auto">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?</div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">It’s not a really a matter of I/O, it’s a matter of processing.</div><div dir="auto"><br></div><div dir="auto">I’m going to go look at X3DJSAIL documentation now.</div><div dir="auto"><br></div><div dir="auto">Thanks for listening!</div><div dir="auto"><br></div><div dir="auto">John </div>
</blockquote></div></div>
</blockquote></div></div>