[Radiance-general] genskyvec with HDR sky view?

Achim Geissler achim.geissler at intergga.ch
Fri May 27 12:29:35 PDT 2016


Hi all,

after searching high and low without clear results apart from a lot of pointers that “everybody seems to be doing it” (so it should actually be easy and I am probably missing the forest due to seeing trees, as they say) a short question: The goal is to use HDR (fisheye) views of the sky for radiance calculations. All I could manage to date are pretty pictures with HDR skies. Ideally, the workflow would be “the same” as when using a sky from gensky or gendaylit. E.g., it would be nice to be able to generate the sky vectors (genskyvec) from the HDR sky view. Is that possible? How? Trying to simply pipe a sky definition along the lines of

void colorpict skyfunc_hdr
7 red green blue sky_image.hdr map_sky.cal u v
0
0

skyfunc_hdr glow sky_glow_hdr
0
0
4 1 1 1 0

sky_glow_hdr source sky_hdr
0
0
4 0 0 1 180

into genskyvec didn’t work - well, would have been too simple (the map_sky.cal is from the PhD by Coralie Cauwerts, 2013). The following approaches resulted in the “pretty pictures” (replacing “source” above)

sky_glow_hdr bubble sky_hdr
0
0
4 0 0 0 2000

or

!genbox sky_glow_hdr boxenv 2000 2000 1000 -i | xform -t -1000 -1000 -500

A further topic will be a “calibration” of the HDR sky views - we have global horizontal and diffuse horizontal radiation values available. The current idea of a (possibly slightly rough) method of calibration would be to use the HDR sky to calculate the corresponding sensor value with radiance and “somehow” introduce a scaling factor into the HDR sky such that the measured and calculated global horizontal radiation values tally.

Thanks for any hints & ideas!

Best
Achim

achim.geissler at intergga.ch







More information about the Radiance-general mailing list