<div dir="ltr"><a href="http://dug9.users.sourceforge.net/web3d/tests/hanim/BoxManB.x3d">http://dug9.users.sourceforge.net/web3d/tests/hanim/BoxManB.x3d</a><br><div>- has a one-vertex displacer on his front right upper head box, animated during walking</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 16, 2018 at 1:37 PM, Andreas Plesch <span dir="ltr"><<a href="mailto:andreasplesch@gmail.com" target="_blank">andreasplesch@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Are there other than the JoeKick example at<br>
<br>
<a href="http://www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/JoeSkinTexcoordDisplacerKickIndex.html" rel="noreferrer" target="_blank">http://www.web3d.org/x3d/<wbr>content/examples/Basic/<wbr>HumanoidAnimation/<wbr>JoeSkinTexcoordDisplacerKickIn<wbr>dex.html</a><br>
<br>
using the HAnim displacer node ?<br>
<br>
It would be great to have a couple more examples, especially those<br>
which use Displacer in Segment nodes or perhaps both in Segment and<br>
Joint nodes.<br>
<br>
Here is a spec. detail:<br>
<br>
<a href="http://www.web3d.org/documents/specifications/19774-1/V2.0/HAnim/ObjectInterfaces.html#Displacer" rel="noreferrer" target="_blank">http://www.web3d.org/<wbr>documents/specifications/<wbr>19774-1/V2.0/HAnim/<wbr>ObjectInterfaces.html#<wbr>Displacer</a><br>
<br>
The 6th paragraph ends with<br>
<br>
"The base mesh for the morphed skin is the deformed mesh that results<br>
from the bone based skin deformation."<br>
<br>
This sounds like the displacer's weighted displacements are applied<br>
_after_ the joint skinCoordIndex weighted trafo deformation was<br>
applied.<br>
<br>
However, the 8th paragraph starts with<br>
<br>
"The displacements field, if present, provides a set of 3D values that<br>
are added to the neutral or resting position of each of the vertices<br>
referenced in the coordIndex field of the associated mesh."<br>
<br>
This explicitly requires that the displacement are applied to the<br>
initial resting positions, eg. _before_ the joint skinCoordIndex<br>
weighted trafo deformation is applied.<br>
<br>
So which one is it ?<br>
<br>
Presumably, it is rare that the same indices (vertices) will be<br>
affected by both, displacers and skinCoordIndices although the JoeKick<br>
example does do that.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- <br>
Andreas Plesch<br>
Waltham, MA 02453<br>
<br>
______________________________<wbr>_________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/<wbr>listinfo/x3d-public_web3d.org</a><br>
</font></span></blockquote></div><br></div>