// Sample-1-1.pov #include "shapes.inc" // The #include command is just for the compatibility with // the POV-Ray. By now, consider it as a comment. camera { location <0, 0, 5> look_at <0, 0, 0> right <0, 1.33, 0> // horizontal size of view (only length is important = 1.33): // because the default window size in POV-Ray is a 4x3 ratio // (e.g. 800x600 or 640x480) I've set width of viewport // to be 4/3 of x, so the result won't be an stretched image. // // The window size in your program also should be a 4x3 ratio // to get the same result up <0, 1, 0> // vertical size of view (only length is important = 1) rotate <0, 0, 45> // rotating camera } // create a regular point light source light_source { <2 ,0, 10> color rgb <1,1,1> // white light } cone { <0, 1, 0>, 0.05, <0, 0, 0>, 0.3 pigment {color rgb <1, 0.5, 0>} // brown translate <0, 2, 0> } cylinder { <0, 2, 0>, <0, -1, 0>, 0.1 pigment {color rgb <1, 1, 0>} // yellow }