home *** CD-ROM | disk | FTP | other *** search
- // --- L-System Parser/Mutator --- Lj Lapre ---
- // use with output?.inc generated by lparser -Bc
- // and change direction/zoom scale to get correct view
-
- #include "colors.inc"
- #include "shapes.inc"
- #include "textures.inc"
-
- // Choose 8 colors
-
- #declare col_0 = colour red 1.0 green 1.0 blue 1.0
- #declare col_1 = colour red 0.8 green 0.498039 blue 0.196078
- #declare col_2 = colour red 1.0
- #declare col_3 = colour red 1.0 green 1.0
- #declare col_4 = colour green 1.0
- #declare col_5 = colour blue 1.0 green 1.0
- #declare col_6 = colour blue 1.0
- #declare col_7 = colour red 1.0 blue 1.0
-
- // Setup camera
-
- camera {
- location <200, 180, 250>
- direction <0, 0, 2.0>
- look_at <0, 0, 0>
- }
-
- // Setup light sources
-
- object { light_source { <200, 180, 250> color White } }
-
- object {
- blob {
- threshold 0.5
- #include "output0.inc"
- sturm
- }
- finish { ambient 0.3 diffuse 0.7 phong 1 }
- pigment { color col_0 }
- }
-
- object {
- blob {
- threshold 0.5
- #include "output1.inc"
- sturm
- }
- finish { ambient 0.3 diffuse 0.7 phong 1 }
- pigment { color col_1 }
- }
-
- object {
- blob {
- threshold 0.5
- #include "output2.inc"
- sturm
- }
- finish { ambient 0.3 diffuse 0.7 phong 1 }
- pigment { color col_2 }
- }
-
- object {
- blob {
- threshold 0.5
- #include "output3.inc"
- sturm
- }
- finish { ambient 0.3 diffuse 0.7 phong 1 }
- pigment { color col_3 }
- }
-
- object {
- blob {
- threshold 0.5
- #include "output4.inc"
- sturm
- }
- finish { ambient 0.3 diffuse 0.7 phong 1 }
- pigment { color col_4 }
- }
-
- object {
- blob {
- threshold 0.5
- #include "output5.inc"
- sturm
- }
- finish { ambient 0.3 diffuse 0.7 phong 1 }
- pigment { color col_5 }
- }
-
- object {
- blob {
- threshold 0.5
- #include "output6.inc"
- sturm
- }
- finish { ambient 0.3 diffuse 0.7 phong 1 }
- pigment { color col_6 }
- }
-
- object {
- blob {
- threshold 0.5
- #include "output7.inc"
- sturm
- }
- finish { ambient 0.3 diffuse 0.7 phong 1 }
- pigment { color col_7 }
- }
-