[x3d-public] Wrong values in PointProperties of example
Brutzman, Donald (Don) (CIV)
brutzman at nps.edu
Wed Sep 4 16:45:41 PDT 2024
I am happy to report that making this correction results in a visible scene.
*
X3D Example Archives: Basic, Points, Basic Point Sprites
*
PointProperties test case, suitable for X3Dv4 implementation comparisons and conformance.
*
https://www.web3d.org/x3d/content/examples/Basic/Points/BasicPointSpritesIndex.html
*
https://www.web3d.org/x3d/content/examples/Basic/Points/BasicPointSprites.x3d
Interestingly, before applying and testing the change using my local version-control model, Dick and I were able to modify the online versions live using the in-browser editing tools. This succeeded for both X_ITE and X3DOM. Very helpful.
*
X_ITE Playground
*
https://create3000.github.io/x_ite/playground/?url=https://www.web3d.org/x3d/content/examples/Basic/Points/BasicPointSprites.x3d
*
X3DOM Editor
*
https://andreasplesch.github.io/Library/Viewer/index.html?url=https://www.web3d.org/x3d/content/examples/Basic/Points/BasicPointSprites.x3d
Have fun with X3D PointProperties! 🙂
all the best, Don
--
Don Brutzman Naval Postgraduate School, Code USW/Br brutzman at nps.edu
Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA +1.831.656.2149
X3D graphics, virtual worlds, navy robotics https://faculty.nps.edu/brutzman
________________________________
From: vmarchetti at kshell.com <vmarchetti at kshell.com>
Sent: Tuesday, September 3, 2024 3:50 AM
To: Brutzman, Donald (Don) (CIV) <brutzman at nps.edu>
Cc: Holger Seelig <holger.seelig at yahoo.de>; X3D-Public <x3d-public at web3d.org>
Subject: Re: [x3d-public] Wrong values in PointProperties of example
I agree that the pointSizeMaxValue='100' should be added to the field values.
Vince Marchetti
On Sep 3, 2024, at 1:42 AM, Brutzman, Donald (Don) (CIV) <brutzman at nps.edu> wrote:
Thanks for noting this issue Holger. The discrepancy is not immediately noticeable in the source, since X3D canonical form omits default values.
I've copied Vince Marchetti who is original author of the model in question.
all the best, Don
--
Don Brutzman Naval Postgraduate School, Code USW/Br brutzman at nps.edu<mailto:brutzman at nps.edu>
Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA +1.831.656.2149
X3D graphics, virtual worlds, navy robotics https://faculty.nps.edu/brutzman
________________________________
From: x3d-public <x3d-public-bounces at web3d.org<mailto:x3d-public-bounces at web3d.org>> on behalf of Holger Seelig via x3d-public <x3d-public at web3d.org<mailto:x3d-public at web3d.org>>
Sent: Monday, September 2, 2024 10:18 AM
To: X3D <x3d-public at web3d.org<mailto:x3d-public at web3d.org>>
Cc: Holger Seelig <holger.seelig at yahoo.de<mailto:holger.seelig at yahoo.de>>
Subject: [x3d-public] Wrong values in PointProperties of example
Test https://www.web3d.org/x3d/content/examples/Basic/Points/BasicPointSpritesIndex.html violates the rules of the specification. The rules say: The provided value for pointSizeMinValue shall be less than or equal to value for pointSizeMaxValue. This means that with the provided values (5, 1) the behavior is undefined.
I assume that pointSizeMaxValue should actually be 100, as a reasonable result can be achieved with this value.
Reference:
https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/components/shape.html#PointProperties
Best regards,
Holger
--
Holger Seelig
Leipzig, Germany
holger.seelig at yahoo.de<mailto:holger.seelig at yahoo.de>
https://create3000.github.io/x_ite/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240904/7e513c82/attachment-0001.html>
More information about the x3d-public
mailing list