tree.pov



// --- L-System Parser/Mutator --- Lj Lapre --- // use with output.inc generated by lparser -vc // and change direction/zoom scale to get correct view #include "colors.inc" #include "shapes.inc" #include "textures.inc" #include "skies.inc" // Choose 16 colors #declare col_0 = colour rgb <0.8, 0.498039, 0.196078> #declare col_1 = colour rgb <0.5, 0.5, 0.5> #declare col_2 = colour rgb <1.0, 0, 0> #declare col_3 = colour rgb <1.0, 1.0, 0> #declare col_4 = colour rgb <0.2, 0.7, 0.1> #declare col_5 = colour rgb <0.0, 1.0, 1.0> #declare col_6 = colour rgb <0.0, 0.0, 1.0> #declare col_7 = colour rgb <1.0, 0.0, 1.0> #declare col_8 = colour rgb <0.439216, 0.858824, 0.576471> #declare col_9 = colour rgb <1.0, 0.498039, 0.0> #declare col_10 = colour rgb <0.258824, 0.258824, 0.435294> #declare col_11 = colour rgb <0.6, 0.196078, 0.8> #declare col_12 = colour rgb <0.439216, 0.576471, 0.858824> #declare col_13 = colour rgb <0.556863, 0.137255, 0.137255> #declare col_14 = colour rgb <0.858824, 0.858824, 0.439216> #declare col_15 = colour rgb <0.623529, 0.623529, 0.372549> // Setup camera camera { location <1, .5, 2.5> direction <0, 0, 1> look_at <0, .75, 0> } // Setup light sources object { light_source { <2000, 1800, 2500> color White } } // Select lbase object #declare l_base = object { sphere { <0, 0.75, 0> 0.75 } } // Textures for l_base object and leafs #declare t_base = finish { ambient 0.3 diffuse 0.7 phong 1 } #declare t_leaf = finish { ambient 0.3 diffuse 0.7 } //mytree.inc is big, so I compressed it for this page
#include "mytree.inc"

object {
  tree
  translate <0,0,0>
}

plane {
  y,0
  pigment {
    color Green
  }
  finish {
    crand 0.08
  }
}

sphere {
  <0,0,0>, 5000
  pigment {
    SummerSky
  }
}

object {
  O_Cloud1
  scale .003
}