equal
deleted
inserted
replaced
|
1 #!/bin/csh -fe |
|
2 # RCSid: $Id: ivprep.csh,v 2.2 2003/02/22 02:07:30 greg Exp $ |
|
3 # |
|
4 # Prepare Instant View directory |
|
5 # |
|
6 if ( $#argv != 1 && $#argv != 2 ) then |
|
7 echo Usage: $0 radfile '[directory]' |
|
8 exit 1 |
|
9 endif |
|
10 set radfile=$1 |
|
11 if ( $#argv == 2 ) then |
|
12 set dir=$2 |
|
13 else |
|
14 set dir=$radfile:r.ivd |
|
15 endif |
|
16 if ( ! -d $dir ) then |
|
17 mkdir $dir |
|
18 endif |
|
19 foreach vw ( xl Xl yl Yl zl Zl ) |
|
20 rad -w -v $vw $radfile PIC=$dir/pvw QUA=L RES=768 \ |
|
21 "render=-z $dir/pvw_$vw.z -pj 0" |
|
22 end |