Hi Galen,
tmp/p000.hdr does exist, as do all the other 248 images (for MF:2).
Actually there should be 578 images, so you're probably exceeding the limit on number of open files. On a mac the default is 256. Once you hit the limit nothing else is written and you're left with a bunch of image files with a header and no data.
To check the limit type:
ulimit -a
To change the limit to 1024:
ulimit -n 1024
Changing it this way only applies to the current shell. If you use a shell script you might need to add it to the script.
- Andy
ยทยทยท
On Feb 10, 2011, at 1:03 PM, Galen Burrell wrote:
Hi All,
I'm using rtcontrib for some glare studies (producing time series
renderings for the year). I'm puzzled by an error i get when using
dctimestep & rtcontrib with sky subdivisions > 1.This is the command i'm issuing:
vwrays -ff -x 400 -y 400 -vf fisheye.vf | \
rtcontrib $options -ffc `vwrays -d -x 400 -y 400 -vf fisheye.vf` -fo -e MF:2 \
-f reinhart.cal -b rbin -bn Nrbins -o tmp/p%03d.hdr -m sky_glow -w
octrees/geom_sky.octthen to combine these for a particular sky:
gendaylit $month $day $hour -W $radiation | genskyvec -m 2 | dctimestep
tmp/p%03d.hdr > temp.hdrthis command always results in the following error:
system - error reading picture 'tmp/p000.hdr'tmp/p000.hdr does exist, as do all the other 248 images (for MF:2). They
are all only 4 kb however, which of course is wrong.Everything works fine with the tregenza sky, for example:
vwrays -ff -x 400 -y 400 -vf fisheye.vf | \
rtcontrib $options -ffc `vwrays -d -x 400 -y 400 -vf fisheye.vf` -fo \
-f tregenza.cal -b tbin -bn Ntbins -o tmp/p%03d.hdr -m sky_glow -w
octrees/geom_sky.octOr even:
vwrays -ff -x 400 -y 400 -vf fisheye.vf | \
rtcontrib $options -ffc `vwrays -d -x 400 -y 400 -vf fisheye.vf` -fo -e
MF:1 \
-f reinhart.cal -b rbin -bn Nrbins -o tmp/p%03d.hdr -m sky_glow -w
octrees/geom_sky.oct...And using 'genskyvec -m 1' in the next command.
I have a feeling it's something obvious and hoping another set of eyes
will help me find it.Thanks!
Galen____________________________________________________________
Electronic mail messages entering and leaving Arup business
systems are scanned for acceptability of content and viruses_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general