<div style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:12pt"><p style="margin: 0.1rem 0; line-height: 1.0;">You might find some bvh done with +Zin so seems like all left-hand axees.</p>
<p style="margin: 0.1rem 0; line-height: 1.0;">Joe</p>
</div>
<div class="elnk-inline-message-container" style="border-left: 1px solid #aaa; box-sizing: border-box; padding: 10px 0 10px 15px; margin: 0;">
<p>-----Original Message-----<br>From: GPU Group <gpugroup@gmail.com><br>Sent: Aug 25, 2023 11:37 AM<br>To: John Carlson <yottzumm@gmail.com><br>Cc: X3D Graphics public mailing list <x3d-public@web3d.org><br>Subject: Re: [x3d-public] Transforms -> HAnimJoints</p>
<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>
<div dir="ltr">
<div>John, that's great we'll need you.</div>
I haven't worked on the blender exporter in weeks, you are welcome to start that HAnim export part if you like.
<div><a href="https://github.com/dug9/BlenderX3DSupport">https://github.com/dug9/BlenderX3DSupport</a> </div>
<div>Right now I'm struggling to load .bvh files at random with bvhacker <a href="https://github.com/DaveDubUK/bvhacker">https://github.com/DaveDubUK/bvhacker</a> as a cleaning tool.  There are lots of recorded bvh motion files to download and use. But even bvhacker needs work -- for example ensuring  Y-UP (blender exports .bvh Z-UP), mapping to HAnim LOA names/selecting the right LOA, ARMS_DOWN default pose.</div>
<div>For example when using a T-pose .bvh file (the T geometry is recorded in the OFFSETs field and angles are relative to that pose) on an ARMS_DOWN HAnim, the shoulder/arm rotations aren't correct. BVHacker does some channel swapping X--Y, but similar technique in freewrl doesn't work reliably (yet).</div>
<div>SUMMARY: I'm in the same zone with the hanim transforms but stuck back a few steps in getting freewrl to play a .bvh with good shoulder animation. So stuck for a while but open to coordinating with you on HAnim and blender exporter.</div>
<div>-Doug</div>
</div>
<br>
<div class="gmail_quote">
<div class="gmail_attr" dir="ltr">On Fri, Aug 25, 2023 at 12:21 PM John Carlson <<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div dir="ltr">Doug, 
<div> </div>
<div>I have some code I've been working on that converts VRML Transforms with DEFs to HAnimJoints.  Maybe we should collaborate on Hanim Blender export. I'm also looking for something that will apply transforms to joint centers, if you have something tested and separate from FreeWRL.</div>
<div> </div>
<div>Thanks,</div>
<div> </div>
<div>John</div>
</div>
</blockquote>
</div>
</div>

<p style="margin: 0.1rem 0; line-height: 1.0;"> </p>