[x3d-public] why won't x_cite runthis?JoeSkinTexcoordDisplacerKick

Joseph D Williams joedwil at earthlink.net
Sun Oct 6 23:23:08 PDT 2019


Thanks Holger, 


From: Holger Seelig
Sent: Saturday, October 5, 2019 11:53 PM
To: Joseph D Williams; x3d-public at web3d.org
Subject: Re: [x3d-public] why won't x_cite runthis?JoeSkinTexcoordDisplacerKick

You only need to add HAnimJoint nodes to the list of joint nodes of HAnimHumanoid which affect the coordinate animation, ie. HAnimJoint nodes that have skinCoordIndex.length != 0. I think this is right, skinning coords must be added to skinCoord of HAnimHumanoid, and skinning joints must be added to joints of HAnimHumanoid. This is a hint to the browser, and the joint field must for good for something. The specification does not say much about these fields, maybe there should be a better explanation for what these fields are good.
I attached the file with HAnimJoint nodes added in line 230, words well. 
Found a second issue in the file, there are only 4 texCoord and no texCoordIndex, ie. coordIndex is used. There are a lot indices but only four tex coord points. The specification is clear in that point: If the greatest index in the coordIndex field is N, then there shall be N+1 texture coordinates in the X3DTextureCoordinateNode node (https://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/geometry3D.html#IndexedFaceSet). Otherwise the behavior is undefined, X3DOM uses modulo to determine tex coords, X_ITE has another way to do, don't know what other browsers do.
Best regards,
Holger

On 06.10.19 03:51, Joseph D Williams wrote:
Thanks, Holger, I will see what I can do to add the joints list. Do we need all joints, segments, sites lists?
-- 
Holger Seelig
Digital Media Designer

Scheffelstraße 31a
04277 Leipzig
Germany

Cellular: +49 176 420 479 37
E-Mail:   holger.seelig at create3000.de
Web:      http://create3000.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20191006/21f4fae9/attachment.html>


More information about the x3d-public mailing list