home *** CD-ROM | disk | FTP | other *** search
- // c1997 by Stephan Kuhagen
- // stk@informatik.uni-bremen.de
- // mail me, send postcards, show me your pictures
-
- #include "colors.inc"
- #include "leafshapes.inc"
-
- light_source { <100 , 50, 100> color White }
- light_source { <10 , 5, 100> color White }
-
-
- camera
- {
- location <0 , 0, 58>
- look_at <0 , 20, 0>
- }
-
- #declare LEAFINC_0 =
- object
- {
- LEAFSHAPE_00
- texture{
- pigment{ bozo
- color_map {
- [0 color rgb <.25,0,0>]
- [1 color rgb <1,0,0>]
- }
- scale 0.025
- }
- finish{
- ambient 0.2
- diffuse 0.8
- specular 0.6
- }
- normal{bozo 0.1
- scale 0.05
- }
- }
- scale 0.3
- }
-
- #declare LEAFINC_1 =
- object
- {
- LEAFSHAPE_01
- texture{
- pigment{ bozo
- color_map {
- [0 color rgb <1,0,0>]
- [1 color rgb <.25,0.66,0>]
- }
- scale 0.025
- }
- finish{
- ambient 0.2
- diffuse 0.8
- specular 0.6
- }
- normal{bozo 0.1
- scale 0.05
- }
- }
- scale <0.3, 0.3, 1>
- }
-
- #declare LEAFINC_2 =
- object
- {
- LEAFSHAPE_01
- texture{
- pigment{ bozo
- color_map {
- [0 color rgb <.25,0,0>]
- [1 color rgb <.75,.66,0>]
- }
- scale 0.025
- }
- finish{
- ambient 0.2
- diffuse 0.8
- specular 0.6
- }
- normal{bozo 0.1
- scale 0.05
- }
- }
- scale <0.3, 0.3, 1>
- }
-
-
- #declare MOD_TR = texture { pigment { color VeryDarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.4 } }
- #declare MOD_0 = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
- #declare MOD_1 = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
- #declare MOD_2 = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
- #declare MOD_3 = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
- #declare MOD_4 = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
- #declare MOD_5 = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
- #declare MOD_6 = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
- #declare MOD_7 = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
- #declare MOD_8 = texture { pigment { color DarkBrown } normal { bozo 0.8 scale <0.05, 0.2, 0.10> } finish{ ambient 0.2 } }
-
-
- #declare BLEN=10
- #declare RADIUS=1.1
- #declare TRUNKBASER=1.6
- #declare TRUNKCAPR=1.1
- #declare LDIFF=1
- #declare RADSCALE=0.6
- #declare RDIFF=0.3
- #declare RECSCALE=0.8
- #declare SLOPEANGLE=40
- #declare SANGLEDIFF=20
- #declare ANGLESCALE=1
- #declare NRBDIFF=0
- #declare RANDINIT_ROT=111111111
- #declare NRBSCALEADD=-0.5
- #declare BRANCHTOP=0.4
- #declare DEPTH= 8
- #declare NRBRANCHES="sqrt(X)+2"
- #declare USESTDTRUNK="YES"
- #declare TRUNKLEN=14
-
- #declare LEAFINC = "YES"
- #declare NRLEAFINCS = 3
- #declare NRLEAFS = 5
-
- #include "selftree.inc"
- #include "test.inc"
-
-