[Radiance-general] RE : rtcontrib- rotating the sky

Andrew McNeil amcneil at lbl.gov
Fri Jun 29 09:10:59 PDT 2012


xform is the right way to do it, but you don't rotate the sky in your
octree because with rtcontrib the bins are determined by ray direction and
the luminance is applied later using dctimestep.  Instead rotate the sky
that you pass to genskyvec like so:

gensky/gendaylit <options> | xform -rz 8 | genskyvec -m 1 | dctimestep
<rtcontrib result>



On Fri, Jun 29, 2012 at 12:49 AM, Compagnon Raphaël <
Raphael.Compagnon at hefr.ch> wrote:

> Hi,
>
> As long as you keep the sky model into its own scene file (e.g. sky.rad),
> then it is easy to rotate it using xform.
>
> For instance to rotate the sky 30 degrees towards the West which is
> equivalent of rotating the objects 30 degrees towards the East:
>
> xfrom -rz 30 sky.rad >rotated_sky.rad
>
> Of course you then also need to redo the octree
>
> Raphael
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20120629/35335c2d/attachment.html>


More information about the Radiance-general mailing list