[Radiance-general] Mac OS-X rpict problem?

Mark Stock mstock at umich.edu
Mon Oct 25 01:04:48 CEST 2004


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



More information about the Radiance-general mailing list