ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/ivprep.csh
Revision: 2.2
Committed: Sat Feb 22 02:07:30 2003 UTC (21 years, 1 month ago) by greg
Content type: application/x-csh
Branch: MAIN
CVS Tags: rad5R4, rad5R2, rad4R2P2, rad5R0, rad5R1, rad3R7P2, rad3R7P1, rad4R2, rad4R1, rad4R0, rad3R5, rad3R6, rad3R6P1, rad3R8, rad3R9, rad4R2P1, rad5R3, HEAD
Changes since 2.1: +1 -1 lines
Log Message:
Changes and check-in for 3.5 release
Includes new source files and modifications not recorded for many years
See ray/doc/notes/ReleaseNotes for notes between 3.1 and 3.5 release

File Contents

# Content
1 #!/bin/csh -fe
2 # RCSid: $Id$
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