ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/ivprep.csh
Revision: 2.1
Committed: Sat Jan 1 15:09:59 1994 UTC (30 years, 3 months ago) by greg
Content type: application/x-csh
Branch: MAIN
Log Message:
Initial revision

File Contents

# Content
1 #!/bin/csh -fe
2 # SCCSid "$SunId$ LBL"
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