[x3d-public] JoeSkinTexcoordDisplacerKick example issue
Andreas Plesch
andreasplesch at gmail.com
Wed Aug 8 14:23:53 PDT 2018
http://www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/JoeSkinTexcoordDisplacerKickIndex.html
has an excellent example of HAnim animation using many of its features.
It has a large IndexedFaceSet node which contains the player:
<IndexedFaceSet DEF='Joe_skin_IndexedFaceSet' ..
The node has an empty texCoordIndex field and a short texCoord field:
<TextureCoordinate point='0 0 0.5 0.5 0.5 0 0 0.5'/>
http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/geometry3D.html#IndexedFaceSet
section g) requires that there are N+1 texture coordinates with N
being the largest index in coordIndex. The largest index in coordIndex
is 389. There are 390-4 texture coordinates missing.
The intention may be that the texture coordinates are recycled as it
is possible with some other fields. However, validation should fail if
it included checking for this requirement.
Here is a fixed x3d file:
https://raw.githubusercontent.com/x3dom/x3dom/master/test/functional/hanim/JoeSkinTexcoordDisplacerKickTest.x3d
-Andreas
--
Andreas Plesch
Waltham, MA 02453
More information about the x3d-public
mailing list