ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/gen/genpine.csh
(Generate patch)

Comparing ray/src/gen/genpine.csh (file contents):
Revision 2.3 by greg, Wed Feb 16 05:40:11 2005 UTC vs.
Revision 2.4 by greg, Mon Jan 24 04:28:06 2011 UTC

# Line 60 | Line 60 | set thisrad=.035
60   cat << _EOF_ > $tree
61  
62   void colorpict bark_pat
63 < 9 red green blue pinebark.pic cyl.cal cyl_match_u cyl_match_v -s $thisrad
63 > 9 red green blue pinebark.hdr cyl.cal cyl_match_u cyl_match_v -s $thisrad
64   0
65   2 1.5225225 1
66  
# Line 99 | Line 99 | while ($i < $nlevels)
99          set move=`ev "(2*$aspect)^($i+1)"`
100          set thisrad=`ev "$lastrad+$move*.015"`
101          xform -ry `ev "25/($i+1)"` -t 0 0 $move $oldtree > $tree
102 <        echo void colorpict bark_pat 9 red green blue pinebark.pic \
102 >        echo void colorpict bark_pat 9 red green blue pinebark.hdr \
103                          cyl.cal cyl_match_u cyl_match_v -s $thisrad >> $tree
104          echo 0 2 1.5225225 1 bark_pat alias my_bark_mat bark_mat >> $tree
105          echo my_bark_mat cone level$i 0 0 8 0 0 0 0 0 \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines