[Radiance-general] genklemsamp - surface orientation

Greg Ward gregoryjward at gmail.com
Fri Mar 29 15:15:23 PDT 2013


Hi Jack,

The view defaults for genklemsamp are the same as the rendering programs, except that it assumes a parallel view (-vtl).  The view up vector will be +Z unless you specify otherwise.  So long as it isn't parallel to your view direction, as in the case of a horizontal skylight, you don't need to specify it.

You will need to specify the interior normal direction using the kbin() function defined in klems_int.cal for your "view matrix" calculation.  Just make sure these agree with what you give to genklemsamp.

Cheers,
-Greg

> From: Jack de Valpine <jedev at visarc.com>
> Date: March 29, 2013 2:06:33 PM PDT
> 
> Hi all,
> 
> I am trying to figure sampling window geometry where the normal is not parallel to the ground plane. So a sloped skylight for example. If I am passing the geometry for the glazing to genklemsamp, is all I need in addition, the normal for the surface? For example:
> genklemsamp -vd 1 0 1 sloped_window.rad > samples.dat
> or do I need to specify view up?
> 
> Thanks,
> 
> -Jack
> -- 
> Jack de Valpine
> President
> 
> Visarc Incorporated
> www.visarc.com
> 
> channeling technology for superior design and construction
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20130329/efd3977c/attachment.html>


More information about the Radiance-general mailing list