[x3d-public] Thanks FreeWRL!
Joe D Williams
joedwil at earthlink.net
Tue Oct 15 12:22:21 PDT 2024
> No worries, I moved the Viewpoint(s) outside the Humanoid. Easy peasy!
Viewpoints outside the Humanoid are in Host space and not affected by motion of the Humanoid.
The Humanoid includes the viewpoints field.
The viewpoints field has a different functionality, it is in Humanoid space.
Notice the Viewpoint in a Segment is coded as a Site with a special suffix, _view:
Site objects that are used to define viewpoint locations shall have a "_view" suffix appended.
https://www.web3d.org/documents/specifications/19774/V2.0/index.html
https://www.web3d.org/documents/specifications/19774/V2.0/Architecture/ObjectInterfaces.html
https://www.web3d.org/documents/specifications/19774/V2.0/Architecture/ObjectInterfaces.html#Humanoid
"The viewpoints field has a different functionality and behaviour than ..."
https://www.web3d.org/documents/specifications/19774/V2.0/Architecture/ObjectInterfaces.html#Site
"Site objects that are used to define viewpoint locations shall have a "_view" suffix appended.
So, we can have viewpoints (1) in host space when coded outside the Humanoid, (2) in Humanoid space viewpoints field affected by translation and rotation of the Root, and (3) in a Segment in Segment space coded as a Site with special name when the view is affected by motion of the Segment or Site..
So everything needed is accounted for. If not please tell.
Thanks and Best,
Joe
More information about the x3d-public
mailing list