pov-ray/tuts/demo.pov

59 lines
1.2 KiB
POVRay
Raw Normal View History

2014-02-01 15:20:51 -06:00
// Just following along the tutorial (mostly)
2014-01-31 22:34:21 -06:00
#include "colors.inc"
#include "stones.inc"
2014-02-03 20:32:32 -06:00
global_settings {
assumed_gamma 1.8
}
2014-02-01 15:20:51 -06:00
background { rgb < 0.5, 0.5, 0.5 > }
2014-01-31 22:34:21 -06:00
camera {
2014-02-03 20:32:32 -06:00
right 1.78*x
2014-02-01 15:20:51 -06:00
location <0, 2, -4>
look_at <0, 1, 2>
}
2014-01-31 22:34:21 -06:00
light_source { <2, 4, -3> color White }
2014-02-01 15:20:51 -06:00
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 >
}
}