Sky.rad Automation for Different days and times

Hi Everyone,

I am using a Sky.rad which looks like this

gensky 1 29 12:00CET +s -a 49.42 -o 7.75

skyfunc glow sky_glow
0
0
4 .9 .9 1.15 0
sky_glow source sky
0
0
4 0 0 1 180
skyfunc glow ground_glow
0
0
4 1.4 .9 .6 0
ground_glow source ground
0
0
4 0 0 -1 180

Then i used 'rad' command to render the images with that particular Sky.rad file for my scene.

If I want to render images for 4 particular days(each day in a season) in a year from 8:00 to 15:00(lets suppose), do we have any function in Radiance which can do this or do we have to write a custom script? If a script is to be written let me know your ideas.

Best Regards,
Raghu

There is no function in Radiance to do this, you are on the right track with a script to repeatedly call gensky/gendaylit to make the skies you want. There is an example (written in csh) in "Rendering With Radiance", and there are tons of other examples out there, probably even some on this list's archives.

- Rob

ยทยทยท

On 1/29/16, 9:36 AM, "Raghuram Kalyanam" <kalyanam@rhrk.uni-kl.de<mailto:kalyanam@rhrk.uni-kl.de>> wrote:

Hi Everyone,

I am using a Sky.rad which looks like this

gensky 1 29 12:00CET +s -a 49.42 -o 7.75

skyfunc glow sky_glow
0
0
4 .9 .9 1.15 0
sky_glow source sky
0
0
4 0 0 1 180
skyfunc glow ground_glow
0
0
4 1.4 .9 .6 0
ground_glow source ground
0
0
4 0 0 -1 180

Then i used 'rad' command to render the images with that particular Sky.rad file for my scene.

If I want to render images for 4 particular days(each day in a season) in a year from 8:00 to 15:00(lets suppose), do we have any function in Radiance which can do this or do we have to write a custom script? If a script is to be written let me know your ideas.

Best Regards,
Raghu