[X3D-Public] Fog "visibilityRange"

Michalis Kamburelis michalis.kambi at gmail.com
Mon Sep 7 06:45:13 PDT 2009


Alexander Dong Back Kim wrote:
[...]
> 
> X3DFogObject {
>   SFColor  [in,out] color           1 1 1    [0,1]
>   SFString [in,out] fogType         "LINEAR" ["LINEAR"|"EXPONENTIAL"]
>   SFFloat  [in,out] visibilityRange 0        [0,-∞)
> }
> 
> it is 0 to negative infinite. I guess it's a typo since it should've
> annotated as "(-∞, 0]" instead if it really meant it. 

I agree it's definitely a typo in the specification --- negative values
don't make any sense here. Moreover, note that it's repeated in the
description of LocalFog node. (Someone probably made a typo, and then
copy-pasted this to LocalFog too?)

Michalis



More information about the X3D-Public mailing list