[x3d-public] TextureProperties - borderWidth upper limit constrained to 1 or made unbounded?

John Carlson yottzumm at gmail.com
Sun Apr 24 14:39:40 PDT 2022


Don,

The only thing I can think of is that the border width was originally
intended to be in texture space.   But then it wouldn’t be SFInt32.   Any
number of pixels (assuming there’s no possibility of negative pixels) seems
okay.   My question is, does the border extend beyond the texture?

I am not sure if we should consider aliasing or not.

One also might consider the border be a silhouette boundary of a shape or
higher level grouping, if used for highlighting.  We should should consider
carefully what terminology we use.  In this case, it seems like it’s the
border of the texture, and has little to do with shapes or groups.

I don’t really see highlights on textures as too useful.   How does one
select a texture in X3D and not a shape or group?

Thanks!

John

On Sun, Apr 24, 2022 at 2:03 PM Brutzman, Donald (Don) (CIV) <
brutzman at nps.edu> wrote:

> 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
>
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20220424/0f678160/attachment.html>


More information about the x3d-public mailing list