[x3d-public] HAnim Displacer examples

GPU Group gpugroup at gmail.com
Mon Jul 16 13:39:41 PDT 2018


http://dug9.users.sourceforge.net/web3d/tests/hanim/BoxManB.x3d
- has a one-vertex displacer on his front right upper head box, animated
during walking

On Mon, Jul 16, 2018 at 1:37 PM, Andreas Plesch <andreasplesch at gmail.com>
wrote:

> Are there other than the JoeKick example at
>
> http://www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/
> JoeSkinTexcoordDisplacerKickIndex.html
>
> using the HAnim displacer node ?
>
> It would be great to have a couple more examples, especially those
> which use Displacer in Segment nodes or perhaps both in Segment and
> Joint nodes.
>
> Here is a spec. detail:
>
> http://www.web3d.org/documents/specifications/19774-1/V2.0/HAnim/
> ObjectInterfaces.html#Displacer
>
> The 6th paragraph ends with
>
> "The base mesh for the morphed skin is the deformed mesh that results
> from the bone based skin deformation."
>
> This sounds like the displacer's weighted displacements are applied
> _after_ the joint skinCoordIndex weighted trafo deformation was
> applied.
>
> However, the 8th paragraph starts with
>
> "The displacements field, if present, provides a set of 3D values that
> are added to the neutral or resting position of each of the vertices
> referenced in the coordIndex field of the associated mesh."
>
> This explicitly requires that the displacement are applied to the
> initial resting positions, eg. _before_ the joint skinCoordIndex
> weighted trafo deformation is applied.
>
> So which one is it ?
>
> Presumably, it is rare that the same indices (vertices) will be
> affected by both, displacers and skinCoordIndices although the JoeKick
> example does do that.
>
> --
> Andreas Plesch
> Waltham, MA 02453
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180716/8a902761/attachment.html>


More information about the x3d-public mailing list