[x3d-public] TextureProperties - borderWidth upper limit constrained to 1 or made unbounded?
Brutzman, Donald (Don) (CIV)
brutzman at nps.edu
Sun Apr 24 12:02:31 PDT 2022
Current issue needing group discussion:
* Mantis 18.4.9 TextureProperties - borderWidth upper limit
* https://www.web3d.org/member-only/mantis/view.php?id=921
* Roy Wlamsley: “In the signature for the TextureProperties node the
borderWidth field is listed as being of type SFInt32, having a default value
of zero, and having limits of [0,1]. This implies that only a single pixel
may be used as a border. Is this correct? Or should the limits be [0,inf) so
that any number of pixels can be used as a border?
* X3D4 Architecture, Texturing component, 18.4.9 TextureProperties
* https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-CD1
/Part01/components/texturing.html#TextureProperties
* SFInt32 [in,out] borderWidth 0 [0,1]
* “The borderWidth field describes the number of pixels to use for a
texture border.”
Leaving borderWidth unconstrained seems like a useful presentation feature,
especially for animation highlighting individual textures.
HTML5 allows specification of border-width in pixels (default) or percent or
by enumeration. We will stick with pixels only, not making any changes to
functionality during this final review..
* CSS Backgrounds and Borders Module Level 3
* W3C Candidate Recommendation Draft, 26 July 2021
* 3.3. Line Thickness: the border-width properties
* <line-width> = <length [0,∞]> | thin | medium | thick
* https://www.w3.org/TR/css-backgrounds-3/#border-width
Please advise if any problems seen with removing upper bound, absent any
objections we will apply the change.
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20220424/1bfdf127/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5353 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20220424/1bfdf127/attachment.p7s>
More information about the x3d-public
mailing list