home *** CD-ROM | disk | FTP | other *** search
- name 'Forest of Opacity Mapped Trees'
- objname 'Forest01'
- radius 1
- detail 3
- scale 30
- length 10
- etrop 0
-
- #define k 2 as "Size of Forest,Small,Large",2,4
- #define j (k+1)
- #define r 1 as "Forest Density,Thick,Thin ",0,5
- #define p 1 as "Shape,Line,Solid"
- #define t 1 as "Forest Type,Deciduous,Mix,Evergreen"
- #define s ((r*10)+4)
-
- iterations j
- angle 90
- axiom &(90)-L
-
- rules
-
- //L : p=0 >> LG+RGR+GL-LGLL-GRGR+
- //R : p=0 >> -LLG+RRGR+RG-LGL-R
- L : p=0 >> L[O]f.6(s)[Q]f.6(s)[S]f.6(s)[Q]f.6(s)[S]f.6(s)[O]f.6(s)L
-
- L : p=1 >> GRRGRR-.5RGRR+.5RGR
- R : p=1 >> -.5RGL+.5RGL
- G >> [O[-Q++S]]
-
-
- Q : t=0 >> f(s)[,.2(1.1)-.99(360)f.99(s*2)^(94)&.99(8)~(plants\maple.3ds),(1)]
- S : t=0 >> f(s)[,.2(1.1)-.99(360)f.99(s*2)^(94)&.99(8)~(plants\birch.3ds),(1)]
- O : t=0 >> f(s)[,.2(1.1)-.99(360)f.99(s*2)^(94)&.99(8)~(plants\cherry.3ds),(1)]
-
- Q : t=1 >> f(s)[,.2(1.1)-.99(360)f.99(s*2)^(94)&.99(8)~(plants\pine.3ds),(1)]
- S : t=1 >> f(s)[,.2(1.1)-.99(360)f.99(s*2)^(94)&.99(8)~(plants\birch.3ds),(1)]
- O : t=1 >> f(s)[,.2(1.1)-.99(360)f.99(s*2)^(94)&.99(8)~(plants\redwood.3ds),(1)]
-
- Q : t=2 >> f(s)[,.2(1.1)-.99(360)f.99(s*2)^(94)&.99(8)~(plants\pine.3ds),(1)]
- S : t=2 >> f(s)[,.2(1.1)-.99(360)f.99(s*2)^(94)&.99(8)~(plants\redwood.3ds),(1)]
- O : t=2 >> f(s)[,.2(1.1)-.99(360)f.99(s*2)^(94)&.99(8)~(plants\pine.3ds),(1)]
-
-
-
-