//Veena Swaminathan
//Code for Lab 2, "Exploration on Mars"
//Sunday 29 July 2001
#include "colors.inc"
#include "shapes.inc"
#include "shapes2.inc"
#include "textures.inc"
#include "stones.inc"
camera{
location <0,-1,-2>
up <0,1,0>
right <1,0,0>
look_at <2,2,3>
}
background {color Red}
light_source {<-2,-2,-3> color Clear }//shadowless}
plane{
<0,5,0>,0
pigment {
bozo
turbulence 0.85
octaves 6
omega 0.7
lambda 2
color_map {
[0.0, 0.1 color red 0.85 green 0.85 blue 0.85
color red 0.75 green 0.75 blue 0.55]
[0.1, 0.5 color red 0.75 green 0.75 blue 0.55
color Clear]
[0.5, 1.001 color Clear
color Clear]
}
scale <6, 1, 6>
}
}
object {
intersection {
plane { < 1, 0, 0>, 1 rotate < 0, 0, 40>}
plane { <-1, 0, 0>, 1 rotate < 0, 0, -40>}
plane { < 0, 0, 1>, 1 rotate <-40, 0, 0>}
plane { < 0, 0, -1>, 1 rotate < 40, 0, 0>}
plane { <0, -1, 0>, 0 }
translate <0 ,-1, 0>
}
pigment {color Red}
no_shadow
}
/*
sphere {
<-2,6,4>,2
hollow on
texture{
pigment {
onion //color red 0.85 green 0.15 blue 0.15
}
finish {Shiny}
}
translate <-1.0, -1.0, -1.0> // <dX dY dZ>
// rotate shape or texture around <0 0 0>, relative to current orientation
rotate <0, 45, 0> // <dX dY dZ> (in degrees)
scale 0.7
}
*/
object {
sphere {
<0, 0, 0>, 1
scale <0.8, 0, 0.8>
translate <2, 1, 0>
rotate <0, -20, 0>
hollow
}
finish { Dull }
pigment {color Gold }
clipped_by { plane { y, 1.3 inverse }
}
}
global_settings { assumed_gamma 1.0 }
<-Back