//transform.pov //demonstrates transformations light_source { 0*x // light's position (translated below) color rgb 1.0 // light's color translate <40, 80, -40> // position of light } // perspective (default) camera camera { location <0.0, 1.0, -5.0> look_at <0.0, 0.0, 0.0> } //default (white) cone cone { <0 1 0>, 0.0, <0 0 0>, .5 pigment { color rgb <1 1 1> } } // An infinite planar surface // plane {, D } where: A*x + B*y + C*z = D plane { z // unit surface normal, vector points "away from surface" 3.0 // distance from the origin in the direction of the surface normal hollow on // has an inside pigment? pigment { color rgb <0 0 .7> } } // clipped conical shape // cone { , RADIUS1, , RADIUS2 [open] } // Where and are vectors defining the x,y,z // coordinates of the center of each end of the cone // and RADIUS1 and RADIUS2 are float values for the radii // of those ends. open, if present, cone is hollow, else capped cone { <0 1 0>, 0.0, <0 0 0>, .5 pigment { color rgb <0 1 0> } scale <2 .5 1> rotate <0 0 45> translate <0 1 0> } /* //translated (green) cone cone { <0 1 0>, 0.0, <0 0 0>, .5 pigment { color rgb <0 1 0> } scale <2 .5 1> rotate < 0 0 45 > translate <0 1 0> } */