[Radiance-general] batch renders with explicit direct and diffuseirradiance

Giovanni Betti gbetti at fosterandpartners.com
Fri Jun 5 09:19:47 PDT 2009


Thomas, 
thanks for the quick reply.

I work on Windows.
At the moment I am just interested in changing the sky definition while the building geometry stays the same.
 The way it works for me now is that when I export out of ecotect I get a *.rif file containing scene information, views and rendering parameters plus two *.rad files, one containing the geometry and the materials definition, the other containing the sky and ground glow. I guess I could go into the command line with those information and run everything from there, although I've never tried it...

When I create a series of batch images, I need to provide ecotect with a *.brf (txt) file with the following information
Output name		Month 	Day	Time	Sky	Lat.	 Long.  TimeZone	Orientation

Which looks like this: 

row: ty3_001, 4, 1, 10.00, +s, 24.600, -46.700, -45.000, 42.000   55.9
row: ty3_002, 4, 1, 11.00, +s, 24.600, -46.700, -45.000, 42.000	55.9
row: ty3_003, 4, 1, 12.00, +s, 24.600, -46.700, -45.000, 42.000	55.9
row: ty3_004, 4, 1, 13.00, +s, 24.600, -46.700, -45.000, 42.000	55.9
row: ty3_005, 4, 1, 14.00, +s, 24.600, -46.700, -45.000, 42.000	55.9

What gets output is a batch file (*.bat) which automatically runs the command prompt and generates the different images and a *.rad file that overrides my previous sky definition and changes at every subsequent run.

I hope this answers your questions,

Thanks again,
Cheers,

Giovanni



-----Original Message-----
From: radiance-general-bounces at radiance-online.org [mailto:radiance-general-bounces at radiance-online.org] On Behalf Of Thomas Bleicher
Sent: 05 June 2009 13:36
To: Radiance general discussion
Subject: Re: [Radiance-general] batch renders with explicit direct and diffuseirradiance

Sure.

A few things I need to know first:

Do you use Radiance on Windows or Linux?
Do you change anything else in the scene (like blinds) or just the sky?
Can you locate the exported scene and find the file with '!gensky ...'
in it? It might even have an extension like '*.sky'.

If Ecotect allows you export a batch rendering for different times of day or similar you could do that and see how it is realised in the export. We could use those files and just modify them to include changing '-B' and '-R' params.

I'll be a bit busy this afternoon. So it might take me a bit to reply.

Thomas

On Fri, Jun 5, 2009 at 1:16 PM, Giovanni Betti<gbetti at fosterandpartners.com> wrote:
> Hi Thomas,
>
> Thanks for your kind reply. Ecotect has a button that creates the batch process in a semi automated way, but you can not input the -B and -R parameters. I'll be happy to do it with command line scripting but I am not sure from where to start (the only thing I've managed to do so far in the command line was to use pcomb... not much I guess...).
> Can you give me some help on that?
>
> Thanks a lot for your time,
>
> Giovanni
>
>
>
>
> -----Original Message-----
> From: radiance-general-bounces at radiance-online.org 
> [mailto:radiance-general-bounces at radiance-online.org] On Behalf Of 
> Thomas Bleicher
> Sent: 05 June 2009 12:22
> To: Radiance general discussion
> Subject: Re: [Radiance-general] batch renders with explicit direct and 
> diffuseirradiance
>
> Hi Giovanni.
>
> I'm not quite clear if you want to use the Radiance tools from the command line or if you expect that there is a 'use these values' button in EcoTect.
>
> In the fist case you have to find the file that contains the sky description in the scene that's exported by EcoTect. -B and -R are options to the gensky command that should be on one the lines in this file.
>
> For a batch calculation of different values you have to loop over
>
> 1) modify the gensky command
> 2) recreate the scene octree
> 3) do the calculation again
> 4) move the images (or rtrace results) to a different place
>
> This is possible with a bit of command line scripting.
>
> Regards,
> Thomas
>
>
> On Thu, Jun 4, 2009 at 6:07 PM, Giovanni Betti<gbetti at fosterandpartners.com> wrote:
>> Dear All,
>>
>> I am fairly new to the use of Radiance, at the moment I am trying to 
>> run a series of batch renderings in Radiance (for windows, using 
>> ecotect as interface).
>> So far everything is fine, but if I want to use the -B and the -R 
>> option in order to explicitly define the horizontal diffuse and 
>> direct irradiance values from a weather file for each different sun 
>> position, I do not know where or how I should enter the list of values.
>>
>> Any suggestion on how to do it (if it is possible) would be very 
>> appreciated,
>>
>> Cheers,
>>
>> Giovanni
>> _______________________________________________
>> Radiance-general mailing list
>> Radiance-general at radiance-online.org
>> http://www.radiance-online.org/mailman/listinfo/radiance-general
>>
>>
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>

_______________________________________________
Radiance-general mailing list
Radiance-general at radiance-online.org
http://www.radiance-online.org/mailman/listinfo/radiance-general



More information about the Radiance-general mailing list