[Radiance-general] View from sun position

Achim Geissler achim.geissler at intergga.ch
Fri Jul 3 06:28:37 PDT 2015


Dear Raphael,

that looks perfect! Thanks.

Best
Achim


-----Ursprüngliche Nachricht-----
Von: Compagnon Raphaël [mailto:Raphael.Compagnon at hefr.ch] 
Gesendet: Freitag, 3. Juli 2015 14:23
An: Radiance general discussion
Betreff: Re: [Radiance-general] View from sun position

Hi Achim

You may want to download a file named tracefromsun.tar from this URL:
https://drive.switch.ch/public.php?service=files&t=5b1df34fbb0f39db18a8d7349
4fdbdf4

It contains a C program that will do what you need.
Before compiling it, you have to adjust the latitude of your site at the
beginning of the source file.

To use it you just need to call the tracefromsun program this way:

tracefromsun #month #day x y z

where
#month is the month number
#day the day within the month
x,y,z the coordinates of the "centre" point toward which all the rays will
be traced

The program will send one ray per hour (true solar time is assumed) for te
specified date. The output contains:
x y z coordinates of a remote starting point (i.e. the sun...) dx dy dz the
direction of the sunray toward the centre point

I hope this will help you.

Raphaël

________________________________
De : Achim Geissler [achim.geissler at intergga.ch] Envoyé : vendredi 3 juillet
2015 10:26 À : radiance-general at radiance-online.org
Objet : [Radiance-general] View from sun position

Dear all,

it should be possible to automate a viewpoint as “view from the sun
position” in order to generate a sequence of images over a day, for example.
Sadly, I was unable to find anything on the net or in Rendering with
Radiance to this end. Does anyone know a good source – I would want to avoid
having to do the vector maths, myself ;o) ?

Thanks.

Best
Achim

---------------------------------------------------------------------


_______________________________________________
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