[Radiance-general] Understanding rtcontrib - trouble with tregenza skypatches
Greg Ward
gregoryjward at gmail.com
Mon Aug 26 09:07:27 PDT 2013
You need to *add* -bn Ntbins after your -f tregenza.cal argument. Don't remove the -b option -- you need that as well.
The original rtcontrib didn't absolutely require -bn, although it should have. The new rcontrib (which "rtcontrib" points to) does.
Best,
-Greg
> From: "Secure-Mail User" <harrym at secure-mail.biz>
> Date: August 26, 2013 3:08:47 AM PDT
>
> Hi All,
>
> I’m going through the “Understanding rtcontrib” tutorial and got stuck when trying to get the Tregenza sky patches to work (page 16). I can't figure out how to use the tregenza function and the binning with rcontrib:
>
> DIMS=600
> vw="-x $DIMS -y $DIMS -vf views/sky.vf"
> oconv materials/testroom.mat objects/testroom.rad skies/sky_white.rad > testroom_whitesky.oct
> vwrays -ff $vw |rcontrib @rtc.opt -ffc $(vwrays -d $vw) –V+ -f tregenza.cal -b tbin -o images/patches/p%03d.hdr -m sky_glow testroom_whitesky.oct
>
> Which returns:
>
> rcontrib: fatal - unspecified or illegal bin count for modifier 'sky_glow'
>
> My setup:
> Windows 7
> Cygwin
> NREL’s latest Radiance version
>
>
> What I tried so far:
>
> - Googling the error took me to the rcontrib.c source code... interesting but not immediately helpful
> - Changing when –f ..... –b ... is specified which didn’t change the output (which is also stated in rtcontrib man page as I found out later)
> - I checked sky_white.rad and compared it with what is shown in the tutorial. Tick.
> - I checked my spelling multiple times..... (hopefully) Tick
> - Replacing “-b tbin” with “-bn 146”, accidently with the view file back.vf, which resulted in a single, fairly dark picture. When repeating the command to look at the sky hemisphere, I get a uniform sky at around 178 cd/m²
>
> Could anybody point me to my mistake?
>
> Many Thanks in advance,
> HM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20130826/7c51e7dc/attachment.html>
More information about the Radiance-general
mailing list