// A Simple POV-Ray Program // Three Essential Elements Required to create a picture: // Element #1 - The CAMERA, the position of the user's eye. camera { location <0, 5, -10> // Where the Camera is located look_at <1, 3, 0> // Where is the camera is looking } // Element #2 - The LIGHT SOURCE light_source { <10, 15, -20> // Location of the light color rgbf <2.0, 2.0, 2.0, 0.0> // The RGB Color of the light (White) // Including transparency factor (f) } // Element #3 - The OBJECTS // Object #A: Black and White Checkerboard Plane plane { y, -1 // Horozontal Plane perpendicular to y-axis at -1 pigment {checker // Checkerboard pigment color rgbf <0.0, 0.0, 0.0, 0.0> // Opaque Black color rgbf <1.0, 1.0, 1.0, 0.0> // Opaque White } scale 4 // Make the checkers 4-times bigger } // Object #B: A Shiny Red Sphere sphere { <0, 2, 0>, 3.0 // Sphere center and radius , r pigment { color rgbf <1.0, 0.0, 0.0, 0.0>} // color is opaque red finish { // Add some surface finishing things: phong 0.8 // A "phong" is a highlight reflection 0.5 // Make the surface slightly shiny } }