Huh?  You get the default value if you *don't* specify a -g option.  If you use 
-g 0.30, you would get a ground reflectance of 30% instead of the default 20%.

Make sense?
-Greg

> From: "Randolph M. Fritz" <[email protected]>
> Date: February 9, 2011 10:05:17 AM PST
> 
> So is the default never used?  Or only when -g is not given?
> 
> On 2011-02-07 13:49:44 -0800, Gregory J. Ward said:
> 
>> That's because -g is expecting an argument (the ground reflectance).  If you 
>> give "-c" after, it probably calls atof("-c") which returns 0.
>> In general, Radiance doesn't have very paranoid argument checking.  If you 
>> don't give a legal command line, many Radiance programs just muddle through 
>> (or crash if they try reading past the last argument).  The exceptions to 
>> this are the rendering programs and a few utilities that call badarg() to 
>> check command argument types.
>> -Greg
>>> From: "Randolph M. Fritz" <[email protected]>
>>> Date: February 7, 2011 1:29:09 PM PST
>>> If -g is given as the last argument to the gensky command, a bus error or 
>>> segmentation fault results.  That is:
>>> gensky 3 31 10:00 -g -c
>>> works, but
>>> gensky 3 31 10:00 -c -g
>>> fails.
>>> --
>>> Randolph M. Fritz • [email protected]
>>> Environmental Energy Technologies Division • Lawrence Berkeley Labs
> 
> 
> -- 
> Randolph M. Fritz • [email protected]
> Environmental Energy Technologies Division • Lawrence Berkeley Labs
> 
> 
> 
> _______________________________________________
> Radiance-dev mailing list
> [email protected]
> http://www.radiance-online.org/mailman/listinfo/radiance-dev

_______________________________________________
Radiance-dev mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-dev

Reply via email to