--- ray/src/util/objview.csh 2005/02/16 05:40:12 2.10 +++ ray/src/util/objview.csh 2009/01/13 22:19:25 2.12 @@ -1,5 +1,5 @@ #!/bin/csh -f -# RCSid: $Id: objview.csh,v 2.10 2005/02/16 05:40:12 greg Exp $ +# RCSid: $Id: objview.csh,v 2.12 2009/01/13 22:19:25 greg Exp $ # # Make a nice view of an object # Arguments are scene input files @@ -8,7 +8,8 @@ set tmpdir=/tmp set octree=$tmpdir/ov$$.oct set lights=$tmpdir/lt$$.rad set rif=$tmpdir/ov$$.rif -set tmpfiles="$octree $lights $rif" +set ambf=$tmpdir/af$$.amb +set tmpfiles="$octree $lights $rif $ambf" set raddev="x11" set up="Z" set vw="XYZ" @@ -32,8 +33,13 @@ while ($#argv > 0) breaksw case -v: shift argv - set vw=$argv[1] + set vw="$argv[1]" breaksw + case -N: + shift argv + set opts=($opts -N $argv[1]) + set radopt + breaksw case -o: shift argv set raddev="$argv[1]" @@ -92,6 +98,7 @@ UP= $up view= $vw OCTREE= $octree oconv= -f +AMBF= $ambf render= $rendopts _EOF_