Understanding rtcontrib - trouble with tregenza skypatches

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

···

powered by Secure-Mail.biz - anonymous and secure e-mail accounts.

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

···

powered by Secure-Mail.biz - anonymous and secure e-mail accounts.