[x3d-public] visibilityRange for X3DFogObject

Andreas Plesch andreasplesch at gmail.com
Tue Oct 17 13:57:44 PDT 2023


Thanks, Holger, for catching that.

In fact, the LocalFog concrete node signature is more urgent to be
corrected, as it shows 0 to minus infinity as valid range while it
should read 0 to plus infinity.

Currently, example
https://www.web3d.org/x3d/content/examples/ConformanceNist/Miscellaneous/LocalFog/LocalFogEffectsTestIndex.html
with a LocalFog visibiltyRange of 40 would be invalid X3D.

-Andreas

On Tue, Oct 17, 2023 at 12:21 PM Holger Seelig <holger.seelig at yahoo.de> wrote:
>
> There is also LocalFog derived from X3DFogObject, it has the same issue:
>
> lists limits for the visibilityRange as 0 to minus infinity, for the
> abstract node.
>
> https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-IS.proof/Part01/components/environmentalEffects.html#LocalFog
>
> --
> Holger Seelig
> Leipzig, Germany
>
> holger.seelig at yahoo.de
> https://create3000.github.io/x_ite/
>
> Am 17.10.2023 um 16:26 schrieb Andreas Plesch <andreasplesch at gmail.com>:
>
> https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-IS.proof/Part01/components/environmentalEffects.html#X3DFogObject
>
> lists limits for the visibilityRange as 0 to minus infinity, for the
> abstract node.
>
> https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-IS.proof/Part01/components/environmentalEffects.html#Fog
>
> list limits for the visibilityRange as 0 to plus infinity, for the
> concrete node.
>
> https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19775-1v4-IS.proof/Part01/components/lighting.html#t-foginterpolant
>
> assumes a positive visibilityRange (and probably should explain that
> fogVisibility corresponds to the visibilityRange field).
>
> So I think the abstract node also should list 0 to plus infinity as
> limits (unless there are historical reasons).
>
> This is not critical for implementations since Fog is the only
> concrete node inheriting from X3DFogNode but should be addressed.
>
> Apologies if this is already addressed in the very latest versions.
>
> -Andreas
>
> --
> Andreas Plesch
> Waltham, MA 02453
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>
>


-- 
Andreas Plesch
Waltham, MA 02453



More information about the x3d-public mailing list