# Problems computing Daylight Matrix for the Three Phase Method

**URL:** <https://discourse.radiance-online.org/t/problems-computing-daylight-matrix-for-the-three-phase-method/1826>\
**Category:** radiance-general\
**Created:** [November 27, 2012, 8:19pm UTC](https://discourse.radiance-online.org/t/problems-computing-daylight-matrix-for-the-three-phase-method/1826 "2012-11-27T20:19:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![German\_Molina\_Larrai](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/g/13edae/32.png) [@German\_Molina\_Larrai](https://discourse.radiance-online.org/u/German_Molina_Larrai)\
**Post date:** [November 27, 2012, 8:19pm UTC](https://discourse.radiance-online.org/t/problems-computing-daylight-matrix-for-the-three-phase-method/1826/1 "2012-11-27T20:19:26Z")

</div>

Thanks for the quick response!

just to be sure... is it an error on the Tutorial?

THANKS

> **···**
>
> 2012/11/27 Greg Ward \<gregoryjward@gmail.com\>
> 
> > The rtcontrib command needs a -o option or it will send everything to  
> > stdout, which is why you are getting garbage on your console.
> > 
> > -Greg
> > 
> > \*From: \*Germán Molina Larrain \<gmolina1@uc.cl\>
> > 
> > \*Date: \*November 27, 2012 9:28:30 AM HST
> > 
> > \*  
> > \*
> > 
> > Sorry everyone for sending this twice... I sent this as a "forwarded" mail  
> > before, and thought some of you would recieve it as inside-Spam.
> > 
> > Hi everyone,
> > 
> > I have been trying to use the Three Phase Method, guided by the Andy  
> > McNeil's tutorial; but I am having some trouble. The script I wrote is:
> > 
> > \*oconv materials/\* building/\* sky/\* \> D\_octree.oct\*  
> > \*\*  
> > \*genklemsamp -vd 0 -1 0 windows/glass\_window.rad | rtcontrib -c 1000 -e  
> > MF:4 -f reinhart.cal -b rbin -bn Nrbins -m solar -faf D\_octree.oct\*  
> > \*\*  
> > \*rm D\_octree.oct\*
> > 
> > and the contents of the directories are:  
> > \*  
> > building: building.rad
> > 
> > materials: building\_materials.mat
> > 
> > sensors: sensors.pts (generated with gendaylit)
> > 
> > sky: perez.rad
> > 
> > windows: glass\_window.rad light\_window.rad window\_T.rad\*
> > 
> > The results thrown on the console is the header, and three weird  
> > symbols... I am using Ubuntu and RVUing the model actually works
> > 
> > Help will be very appreciated here!
> > 
> > THANKS VERY MUCH
> > 
> > Germán Molina \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > 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)
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > 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)

---

<div class="post-metadata">

**Author:** ![German\_Molina\_Larrai](https://discourse.radiance-online.org/letter_avatar_proxy/v4/letter/g/13edae/32.png) [@German\_Molina\_Larrai](https://discourse.radiance-online.org/u/German_Molina_Larrai)\
**Post date:** [November 28, 2012, 8:27pm UTC](https://discourse.radiance-online.org/t/problems-computing-daylight-matrix-for-the-three-phase-method/1826/2 "2012-11-28T20:27:21Z")

</div>

Thanks Greg,

It worked on Windows, at least... I am having trouble with my Linux  
partition.

Germán Molina

> **···**
>
> 2012/11/27 Germán Molina Larrain \<gmolina1@uc.cl\>
> 
> > Thanks for the quick response!
> > 
> > just to be sure... is it an error on the Tutorial?
> > 
> > THANKS
> > 
> > 2012/11/27 Greg Ward \<gregoryjward@gmail.com\>
> > 
> > > The rtcontrib command needs a -o option or it will send everything to  
> > > stdout, which is why you are getting garbage on your console.
> > > 
> > > -Greg
> > > 
> > > \*From: \*Germán Molina Larrain \<gmolina1@uc.cl\>
> > > 
> > > \*Date: \*November 27, 2012 9:28:30 AM HST
> > > 
> > > \*  
> > > \*
> > > 
> > > Sorry everyone for sending this twice... I sent this as a "forwarded"  
> > > mail before, and thought some of you would recieve it as inside-Spam.
> > > 
> > > Hi everyone,
> > > 
> > > I have been trying to use the Three Phase Method, guided by the Andy  
> > > McNeil's tutorial; but I am having some trouble. The script I wrote is:
> > > 
> > > \*oconv materials/\* building/\* sky/\* \> D\_octree.oct\*  
> > > \*\*  
> > > \*genklemsamp -vd 0 -1 0 windows/glass\_window.rad | rtcontrib -c 1000 -e  
> > > MF:4 -f reinhart.cal -b rbin -bn Nrbins -m solar -faf D\_octree.oct\*  
> > > \*\*  
> > > \*rm D\_octree.oct\*
> > > 
> > > and the contents of the directories are:  
> > > \*  
> > > building: building.rad
> > > 
> > > materials: building\_materials.mat
> > > 
> > > sensors: sensors.pts (generated with gendaylit)
> > > 
> > > sky: perez.rad
> > > 
> > > windows: glass\_window.rad light\_window.rad window\_T.rad\*
> > > 
> > > The results thrown on the console is the header, and three weird  
> > > symbols... I am using Ubuntu and RVUing the model actually works
> > > 
> > > Help will be very appreciated here!
> > > 
> > > THANKS VERY MUCH
> > > 
> > > Germán Molina \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > 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)
> > > 
> > > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > > 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)
