Hi Joe,
Do you really need to do this? The code for view angle calculations is not very straightforward, but if you are really motivated, you can convert the C code in the viewloc() routine found in src/common/image.c to the .cal language.
Cheers,
-Greg
···
From: Joe Smith <[email protected]>
Subject: Re: [Radiance-general] HDR Sky Camera @ LBNL's Flexlab
Date: July 10, 2014 4:39:04 AM PDTDear Chris and the list,
May I ask if the "fisheye.cal" file come with Radiance installation only works with fisheye image took/generated by angular projection which is used by most of the fisheye lens?
Suppose I want to use the HDR fisheye image (for example, a sunny sky defined by gensky's "+s" option) generated from RPICT as input for "colorpict", following the approach you explained, I need to use the "-vta" option for RPICT, is it?
If it is the case, how to create our own .cal file to map fisheye image using hemispherical (-vth) or stereographic (-vts) projection?
Thank you!
JoeOn Tue, Jul 1, 2014 at 11:52 PM, Christian Humann <[email protected]> wrote: