# Radiance-general Digest, Vol 122, Issue 28

**URL:** <https://discourse.radiance-online.org/t/radiance-general-digest-vol-122-issue-28/2228>\
**Category:** radiance-general\
**Created:** [April 25, 2014, 1:09pm UTC](https://discourse.radiance-online.org/t/radiance-general-digest-vol-122-issue-28/2228 "2014-04-25T13:09:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anne\_Iversen](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/a/54ee81/32.png) [@Anne\_Iversen](https://discourse.radiance-online.org/u/Anne_Iversen)\
**Post date:** [April 25, 2014, 1:09pm UTC](https://discourse.radiance-online.org/t/radiance-general-digest-vol-122-issue-28/2228/1 "2014-04-25T13:09:50Z")

</div>

Thanks, Chris.  
/Anne

> **···**
>
> On Tue, Apr 22, 2014 at 8:15 PM, \< radiance-general-request@radiance-online.org\> wrote:
> 
> > Send Radiance-general mailing list submissions to  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;radiance-general@radiance-online.org
> > 
> > To subscribe or unsubscribe via the World Wide Web, visit  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[http://www.radiance-online.org/mailman/listinfo/radiance-general](http://www.radiance-online.org/mailman/listinfo/radiance-general)  
> > or, via email, send a message with subject or body 'help' to  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;radiance-general-request@radiance-online.org
> > 
> > You can reach the person managing the list at  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;radiance-general-owner@radiance-online.org
> > 
> > When replying, please edit your Subject line so it is more specific  
> > than "Re: Contents of Radiance-general digest..."
> > 
> > Today's Topics:
> > 
> > &nbsp;&nbsp;&nbsp;1. Re: Fwd: How to interpret the -vu for genklemsamp ?  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(Chris Coulter)
> > 
> > ----------------------------------------------------------------------
> > 
> > Message: 1  
> > Date: Tue, 22 Apr 2014 18:15:39 +0000  
> > From: Chris Coulter \<Chris.Coulter@BuroHappold.com\>  
> > To: Radiance general discussion \<radiance-general@radiance-online.org\>  
> > Subject: Re: [Radiance-general] Fwd: How to interpret the -vu for  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;genklemsamp ?  
> > Message-ID:  
> > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\<CBDA7B0F3FC5354F986B71977E204BEC212FF45E@EX-MBX01.burohappold.com  
> > \>  
> > Content-Type: text/plain; charset="utf-8"
> > 
> > Anne,
> > 
> > Yes, your situation seems quite complicated (or maybe just confusing). I  
> > had enough troubles visualizing without the added roatations you have. It  
> > seems as if you understand the basics, the view up vector correctly  
> > aligns/rotates your BSDF (about the normal vector) to the geometry in your  
> > model.  
> > If your vector math is correct for the rotations you?ve noted below, I  
> > would have expected a kbin of (-0.09,0.26,1,-0.82,0,0.57). I also would  
> > have expected the vu vector to have non-zero components for Y. My  
> > understanding of order of operations would be: rotate BSDF 55d on a flat  
> > plane, then orient that vu to your real-world geometry. The base BSDF is  
> > oriented in XY, with +Y being the vu vector. Andy?s note the other day on  
> > rotation got me to full visualize having to orient both view and daylight  
> > matrices to the xml file. Think of them as hemispheres (or your cupped  
> > hands) about the geometry of the bsdf?
> > 
> > I might suggest a few things:
> > 
> > 1) if you have access to a CAD/modelling software, it is probably  
> > worthwhile taking some simple geometry with a line for the normal vector  
> > and one for the vu vector as it is aligned to your BSDF (assuming +Z is  
> > into room, +Y is ?up?, geometry lives in ?Z space). Then, begin the  
> > necessary rotations required to properly orient the geometry to what is in  
> > your model. Query the normal and view up vectors and there you have it.
> > 
> > 2) I also find extremely helpful is physically rotating something on  
> > your desk w/ some indicating lines on it to better visualize things. I grab  
> > a pack of gum, my phone, post-it notes, etc and hold a pen in the vu vector  
> > and start spinning it around to understand at least what quadrants the  
> > vectors should lie in. While this won?t give you the vector components,  
> > this at least helps understand the relative rotations.
> > 
> > 3) If your BSDF is quite complex and you?re not sure how it should  
> > behave, you might try to substitute with a simple blind/slat system that  
> > obscures a known set of sun positions. This also helped me in verifying  
> > that the rotations seemed correct before inserting the more complex BSDF.
> > 
> > Good luck!
> > 
> > Chris
> > 
> > From: Anne Iversen [mailto:iversen.anne@gmail.com]  
> > Sent: Tuesday, April 22, 2014 9:38 AM  
> > To: radiance-general  
> > Subject: [Radiance-general] Fwd: How to interpret the -vu for genklemsamp ?
> > 
> > Hello list,  
> > I have a question related to Chris Coulters question about BSDF  
> > orientation and implementation earlier this month.  
> > I have a BSDF, placed in a skylight, with normal vector, vp of: -0.09 0.26  
> > 1 (The skylights are oriented counterclockwise 335?N, and with tilt of 15?).
> > 
> > Now I come to the more tricky part ? at least for me ? considering the  
> > ?view up?:  
> > The clockwise rotation of the BSDF in the plane of the glass is 55?.  
> > The default vu is 0 0 1. Doing some right-hand gymnastics, the coordinate  
> > system of the BSDF-plane is translated as the (x,z) coordinate system with  
> > the ?top? of the default-BSDF in 0 0 1 ?. Since the BSDF I?m about to  
> > simulate is oriented 55? clockwise in this coordinate system my ?vu vector  
> > will be (-0.82 0 0.57). The kbin for my view matrix then turns into  
> > kbin(-0.0936,0,0.2578,-0.82,0,0.57). I have tried to sketch this on a very  
> > simple hand drawing located here:  
> > [https://dl.dropboxusercontent.com/u/9713279/20140422145308628.pdf](https://dl.dropboxusercontent.com/u/9713279/20140422145308628.pdf)
> > 
> > My question is ? is my understanding of the view up right ?
> > 
> > Med venlig hilsen/Best regards,
> > 
> > Anne Iversen
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
> > 
> > [cid:image001.jpg@01CF5E33.D7371C90]
> > 
> > Anne Iversen  
> > PhD, MSc Energy, Sustainability Engineer
> > 
> > Direct tel +45 8233 3049\<tel:%2B45%208233%203049\>  
> > Mobile +45 6035 2049\<tel:%2B45%206035%202049\>
> > 
> > Henning Larsen Architects A/S  
> > Vesterbrogade 76  
> > 1620 Copenhagen V  
> > Denmark
> > 
> > Tel +45 8233 3000\<tel:%2B45%208233%203000\>  
> > [www.henninglarsen.com](http://www.henninglarsen.com)\<[http://www.henninglarsen.com](http://www.henninglarsen.com)\>  
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
> > 
> > \>\>\> Klik her for at tilmelde dig vores nyhedsbrev p? dansk og modtage  
> > nyheder fra Henning Larsen Architects. \<  
> > [http://da.henninglarsen.com/nyheder/nyhedsbrev.aspx&gt](http://da.henninglarsen.com/nyheder/nyhedsbrev.aspx&gt);
> > 
> > \>\>\> Click here to subscribe to our newsletter in English and receive  
> > updates from Henning Larsen Architects. \<  
> > [http://www.henninglarsen.com/news/newsletter.aspx&gt](http://www.henninglarsen.com/news/newsletter.aspx&gt);
> > 
> > -------------- next part --------------  
> > An HTML attachment was scrubbed...  
> > URL: \<  
> > [http://www.radiance-online.org/pipermail/radiance-general/attachments/20140422/58f5a927/attachment.html](http://www.radiance-online.org/pipermail/radiance-general/attachments/20140422/58f5a927/attachment.html)  
> > \>  
> > -------------- next part --------------  
> > A non-text attachment was scrubbed...  
> > Name: image001.jpg  
> > Type: image/jpeg  
> > Size: 21366 bytes  
> > Desc: image001.jpg  
> > URL: \<  
> > [http://www.radiance-online.org/pipermail/radiance-general/attachments/20140422/58f5a927/attachment.jpg](http://www.radiance-online.org/pipermail/radiance-general/attachments/20140422/58f5a927/attachment.jpg)  
> > \>
> > 
> > ------------------------------
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Radiance-general mailing list  
> > Radiance-general@radiance-online.org  
> > [http://www.radiance-online.org/mailman/listinfo/radiance-general](http://www.radiance-online.org/mailman/listinfo/radiance-general)
> > 
> > End of Radiance-general Digest, Vol 122, Issue 28  
> > \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
