1 |
|
#!/bin/csh -f |
2 |
< |
# SCCSid "$SunId$ SGI" |
2 |
> |
# RCSid: $Id$ |
3 |
|
# |
4 |
|
# Make a nice view of an object |
5 |
|
# Arguments are scene input files |
6 |
|
# |
7 |
< |
set tmpdir=/usr/tmp |
7 |
> |
set tmpdir=/tmp |
8 |
|
set octree=$tmpdir/ov$$.oct |
9 |
|
set lights=$tmpdir/lt$$.rad |
10 |
|
set rif=$tmpdir/ov$$.rif |
11 |
< |
set tmpfiles="$octree $lights $rif" |
11 |
> |
set ambf=$tmpdir/af$$.amb |
12 |
> |
set tmpfiles="$octree $lights $rif $ambf" |
13 |
|
set raddev="x11" |
14 |
|
set up="Z" |
15 |
|
set vw="XYZ" |
33 |
|
breaksw |
34 |
|
case -v: |
35 |
|
shift argv |
36 |
< |
set vw=$argv[1] |
36 |
> |
set vw="$argv[1]" |
37 |
|
breaksw |
38 |
+ |
case -N: |
39 |
+ |
shift argv |
40 |
+ |
set opts=($opts -N $argv[1]) |
41 |
+ |
set radopt |
42 |
+ |
breaksw |
43 |
|
case -o: |
44 |
|
shift argv |
45 |
|
set raddev="$argv[1]" |
98 |
|
view= $vw |
99 |
|
OCTREE= $octree |
100 |
|
oconv= -f |
101 |
+ |
AMBF= $ambf |
102 |
|
render= $rendopts |
103 |
|
_EOF_ |
104 |
|
|