//"HOLODECK" //Files with predefined colors and textures #include "colors.inc" #include "glass.inc" #include "golds.inc" #include "metals.inc" #include "stones.inc" #include "woods.inc" //Place the camera camera { sky <0,0,1> //Don't change this direction <-1,0,0> //Don't change this right <-4/3,0,0> //Don't change this location <30,30,10> //Camera location look_at <0,0,0> //Where camera is pointing angle 25 //Angle of the view--increase to see more, decrease to see less } //Ambient light to "brighten up" darker pictures global_settings { ambient_light White } //Place a light--you can have more than one! light_source { <100,200,300> //Change this if you want to put the light at a different point color White*2 //Multiplying by 2 doubles the brightness } //Set a background color background { color White } //Create a "floor" plane { <0,0,1>, 0 //This represents the plane 0x+0y+z=0 texture { tiles { texture { pigment { color White } } tile2 texture { pigment { color Grey } } }}} plane { <0,1,0>, 0 //This represents the plane 0x+1y+0z=0 texture { tiles { texture { pigment { color White } } tile2 texture { pigment { color Grey } } }}} plane { <1,0,0>, 0 //This represents the plane 1x+0y+0z=0 texture { tiles { texture { pigment { color White } } tile2 texture { pigment { color Grey } } }}} //Sphere with specified center point and radius sphere { <11,11,1>, 1 texture {T_Ruby_Glass} } //Box with specified opposite vertices box { <8,9,0>, <9, 10, 1> texture {T_Stone1}} //Cylinder with specified opposite centers and radius cylinder { <10, 7, 0>, <10, 7, 4>, 1.5 texture {T_Wood1} } //Cone with specified opposite centers and radii cone { <7, 11, 0>, 1.5, <7, 11, 2>, 0 texture {T_Gold_1A} }