# | Line 273 | Line 273 | char *argv[]; | |
---|---|---|
273 | } | |
274 | ||
275 | ||
276 | + | void |
277 | computesky() /* compute sky parameters */ | |
278 | { | |
279 | ||
# | Line 472 | Line 473 | computesky() /* compute sky parameters */ | |
473 | /* Compute the ground radiance */ | |
474 | zenithbr=calc_rel_lum_perez(0.0,radians(sunzenith),radians(sunzenith),skyclearness,skybrightness,coeff_perez); | |
475 | zenithbr*=diffnormalization; | |
476 | + | /* |
477 | fprintf(stderr, "gendaylit : the actual zenith radiance(W/m^2/sr) or luminance(cd/m^2) is : %.0lf\n", zenithbr); | |
478 | < | |
478 | > | */ |
479 | > | |
480 | if (skyclearness==1) | |
481 | normfactor = 0.777778; | |
482 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |