<div dir="ltr">I want joint centers recomputation.<div><br>It would be nice to have instead of writing it myself.</div><div><br></div><div>Joh</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 25, 2023 at 10:39 AM Joe D Williams <<a href="mailto:joedwil@earthlink.net">joedwil@earthlink.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12pt"><p style="margin:0.1rem 0px;line-height:1"><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium;white-space:normal;float:none;display:inline">> Okay, as I thought before, HAnimDisplacers are for skin.</span></p>
<p style="margin:0.1rem 0px;line-height:1"> </p>
<p style="margin:0.1rem 0px;line-height:1">HAnimDisplacer intended to work with any geometry of  the humanoid.</p>
<p style="margin:0.1rem 0px;line-height:1">skin, segment, and site geometry.</p>
<p style="margin:0.1rem 0px;line-height:1"> </p>
</div>> 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. 
<p style="margin:0.1rem 0px;line-height:1"><span style="font-size:12pt"> </span></p>
<p style="margin:0.1rem 0px;line-height:1">Thanks, </p>
<p style="margin:0.1rem 0px;line-height:1">Joe</p>
<p style="margin:0.1rem 0px;line-height:1"> </p>
<p style="margin:0.1rem 0px;line-height:1"> </p>
<p style="margin:0.1rem 0px;line-height:1"> </p>
<p style="margin:0.1rem 0px;line-height:1"> </p>

<div style="border-left:1px solid rgb(170,170,170);box-sizing:border-box;padding:10px 0px 10px 15px;margin:0px">
<p>-----Original Message-----<br>From: John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>><br>Sent: Aug 25, 2023 1:15 AM<br>To: Anita Havele <<a href="mailto:anita.havele@web3d.org" target="_blank">anita.havele@web3d.org</a>>, Don Brutzman <<a href="mailto:brutzman@nps.edu" target="_blank">brutzman@nps.edu</a>>, GPU Group <<a href="mailto:gpugroup@gmail.com" target="_blank">gpugroup@gmail.com</a>>, Joe D Williams <<a href="mailto:joedwil@earthlink.net" target="_blank">joedwil@earthlink.net</a>>, Michalis Kamburelis <<a href="mailto:michalis.kambi@gmail.com" target="_blank">michalis.kambi@gmail.com</a>>, X3D Graphics public mailing list <<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a>><br>Subject: Re: Transforming a humanoid in X3DJSAIL/x3d.py</p>
<p style="margin:0.1rem 0px;line-height:1"> </p>
<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"> </div>
<div dir="auto">John</div>
<div><br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Fri, Aug 25, 2023 at 2:53 AM John Carlson <<a href="mailto:yottzumm@gmail.com" target="_blank">yottzumm@gmail.com</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<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"> </div>
<div dir="auto">I’m not sure what the abstract SAI does.</div>
<div dir="auto"> </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"> </div>
<div dir="auto">Do i need a displacer near every joint?</div>
<div dir="auto"> </div>
<div dir="auto">Thanks for listening!</div>
<div dir="auto"> </div>
<div dir="auto">John</div>
<div><br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Fri, Aug 25, 2023 at 2:30 AM John Carlson <<a href="mailto:yottzumm@gmail.com" rel="noopener" target="_blank">yottzumm@gmail.com</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<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"> </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"> </div>
<div dir="auto">I’m not going to write matrix multiplication code in XSLT if I can help it.</div>
<div dir="auto"> </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"> </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"> </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"> </div>
<div dir="auto">It’s not a really a matter of I/O, it’s a matter of processing.</div>
<div dir="auto"> </div>
<div dir="auto">I’m going to go look at X3DJSAIL documentation now.</div>
<div dir="auto"> </div>
<div dir="auto">Thanks for listening!</div>
<div dir="auto"> </div>
<div dir="auto">John </div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div>

<p style="margin:0.1rem 0px;line-height:1"> </p></blockquote></div>