Mac OS-X rpict problem?

I am using the Radiance 3.6 official release Mac binaries to try
to set up a large cluster rendering. I wrote a runme.sh file to
control things. I pared it down when the first portion dies in
rpict.

First, here are the errors:

inquiry:~/p46_base] admin% ./runme.sh
rpict: 4048 rays, 0.00% after 0.000u 0.000s 0.000r hours on inquiry
rpict: 4274161 rays, 2.80% after 0.003u 0.000s 0.003r hours on inquiry
rpict: 8750728 rays, 5.80% after 0.006u 0.000s 0.006r hours on inquiry
rpict: consistency - unexpected object call
./runme.sh: line 16: 29584 Abort trap rpict -t 10 -vta -vp
0 1 0.5 -vd 0 -1 0 -vh 120 -vv 120 -ps 1 -dj 0.6 -ms 0.03 -ab 2 -ad 8
-aa 0 -as 0 -x $res -y $res -o img.pic scene9f.oct
pfilt: truncated input (y=924)
ra_tiff: error reading Radiance picture

-bash-2.05b$ more runme.sh
#!/bin/sh

res=1000

rm img.pic sync args img.tiff
oconv -f colors.rad cube2f.rad > cube2f_instance.oct
oconv -f colors.rad cube4f.rad > cube4f_instance.oct
oconv -f colors.rad cube6f.rad > cube6f_instance.oct
oconv -f colors.rad cube8f.rad > cube8f_instance.oct
oconv scene9f.rad > scene9f.oct

rpict -t 10 -vta -vp 0 1 0.5 -vd 0 -1 0 -vh 120 -vv 120 -ps 1 -dj
0.6 -ms 0.03 -ab 2 -ad 8 -aa 0 -as 0 -x $res -y $res -o img.pic
scene9f.oct

pfilt -1 -e -4 -x /4 -y /4 img.pic | ra_tiff - img.tiff

···

----------

I ran the same set of commands, from a sh script, on my Linux P4
with no difficulties. We also tried rebuilding the binaries from
the 3.6 official release, but found the same errors.

The scene consists of multiple fractal nested octrees
(scene9f.rad), with the rest being:

----------
!gensky 9 12 17 -a 42.53 -o 118.05 -m 105 -g .2

skyfunc glow ground_glow
0
0
4 1 1 1 0

ground_glow source ground
0
0
4 0 0 -1 160

skyfunc glow sky_glow
0
0
4 1 1 1 0

sky_glow source sky
0
0
4 0 0 1 200

void plastic mat 0 0 5 0.6 0.6 0.6 0.0 0.0
void mist misttype 1 sun 0 7 0.3 0.3 0.3 0.7 0.7 0.7 0.3
void alias anti misttype

misttype cylinder mistbox 0 0 7 0 0 0 0 0 2 10
misttype ring mistbottom 0 0 8 0 0 0 0 0 -1 0 10
misttype ring misttop 0 0 8 0 0 2 0 0 1 0 10

!xform -t -0.5 -0.5 0.0 cube9f.rad

void plastic flmat 0 0 5 0.4 0.4 0.4 0.0 0.0
flmat ring floor 0 0 8 0 0 -0.0002 0 0 1 0 100

anti bubble eyepoint 0 0 4 0 1 0.5 0.001
----------

The final image looks something like this (temporary URL):
http://mark.technolope.org/lookhere/image_d06/p46_base/img20_batch_1000.png

Is rpict on Macs wrong, or is it my input?

Mark

I have discovered the source of this error, with Mark's help. It comes from a peculiar combination of the mist type with the new source obstruction rotuines. It is not an input error -- no input should ever cause a consistency error. If you get an error like this, you will need to download and compile the new version of src/rt/srcobstr.c or use the HEAD release. We may offer a patch to the 3.6 release at a future date if this (or other) problems warrant it.

-Greg

···

From: Mark Stock <[email protected]>
Date: October 24, 2004 4:04:48 PM PDT

I am using the Radiance 3.6 official release Mac binaries to try
to set up a large cluster rendering. I wrote a runme.sh file to
control things. I pared it down when the first portion dies in
rpict.

First, here are the errors:

inquiry:~/p46_base] admin% ./runme.sh
rpict: 4048 rays, 0.00% after 0.000u 0.000s 0.000r hours on inquiry
rpict: 4274161 rays, 2.80% after 0.003u 0.000s 0.003r hours on inquiry
rpict: 8750728 rays, 5.80% after 0.006u 0.000s 0.006r hours on inquiry
rpict: consistency - unexpected object call
./runme.sh: line 16: 29584 Abort trap rpict -t 10 -vta -vp
0 1 0.5 -vd 0 -1 0 -vh 120 -vv 120 -ps 1 -dj 0.6 -ms 0.03 -ab 2 -ad 8
-aa 0 -as 0 -x $res -y $res -o img.pic scene9f.oct
pfilt: truncated input (y=924)
ra_tiff: error reading Radiance picture
...