59 lines
1.2 KiB
POVRay
59 lines
1.2 KiB
POVRay
// Just following along the tutorial (mostly)
|
|
|
|
#include "colors.inc"
|
|
#include "stones.inc"
|
|
|
|
global_settings {
|
|
assumed_gamma 1.8
|
|
}
|
|
|
|
background { rgb < 0.5, 0.5, 0.5 > }
|
|
|
|
camera {
|
|
right 1.78*x
|
|
location <0, 2, -4>
|
|
look_at <0, 1, 2>
|
|
}
|
|
|
|
light_source { <2, 4, -3> color White }
|
|
|
|
|
|
sphere {
|
|
<0, 1, 2>, 2
|
|
texture {
|
|
pigment { color rgb < 0.16, 0.79, 0.04 > }
|
|
}
|
|
}
|
|
|
|
// box {
|
|
// <-1, 0, -1>, // Near lower left corner
|
|
// < 1, 0.5, 3> // Far upper right corner
|
|
// texture {
|
|
// T_Stone25 // Pre-defined from stones.inc
|
|
// scale 2 // Scale by the same amount in all
|
|
// // directions
|
|
// }
|
|
// rotate y*20 // Equivalent to "rotate <0,20,0>"
|
|
// }
|
|
|
|
// cone {
|
|
// <0, 1, 0>, 0.03 // Center and radius of one end
|
|
// <1, 2, 3>, 1.0 // Center and radius of other end
|
|
// texture { T_Stone25 scale 1 }
|
|
// }
|
|
|
|
// cylinder {
|
|
// <0, 1, 0>, // Center of one end
|
|
// <1, 2, 3>, // Center of other end
|
|
// 0.5 // Radius
|
|
// open // Remove end caps
|
|
// texture { T_Stone25 scale 1 }
|
|
// }
|
|
|
|
|
|
plane { y, -1
|
|
pigment {
|
|
checker color rgb < .13, .16, .13 > , color rgb < .42, .42, .42 >
|
|
}
|
|
}
|