[Radiance-general] Sun too close to zenith

Rob Guglielmetti rpg at rumblestrip.org
Thu Dec 8 00:06:18 CET 2005


Gregory J. Ward wrote:

> Hi Rob,
>
> I'm not exactly sure why I put this in there, it was so long ago.
>
> You can try removing lines 218-225 in gensky.c and recompiling without:
>
>     if (!overcast && altitude > 87.*PI/180.) {
>         fprintf(stderr,
> "%s: warning - sun too close to zenith, reducing altitude to 87  
> degrees\n",
>                 progname);
>         printf(
> "# warning - sun too close to zenith, reducing altitude to 87 degrees 
> \n");
>         altitude = 87.*PI/180.;
>     }
>
> Try a few data points where the sun is at the zenith and see what  
> happens.

Thanks Greg, I'll check it out; thanks for getting back to me so quickly.

- Rob



More information about the Radiance-general mailing list