// Persistence Of Vision raytracer version 2.0 sample file. // By Alexander Enzmann /* sample quartic scene file written by Alexander Enzmann */ #include "colors.inc" #include "shapes.inc" #include "textures.inc" /* Witch of Agnesi */ intersection { quartic { < 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.04, 0.0, 0.0, 0.0, 0.0, 0.04 > texture { pigment { Red } finish { specular 1.0 roughness 0.05 ambient 0.2 diffuse 0.8 } } } sphere { <0, 0, 0>, 1 texture { pigment { Clear } } } bounded_by { sphere { <0, 0, 0>, 1.5 } } rotate <30, 0, 180> } camera { location <0.0, 0.0, -3.0> direction <0.0, 0.0, 1.0> up <0.0, 1.0, 0.0> right <4/3, 0.0, 0.0> } light_source { <200, 30, -300> colour White } light_source { <-200, 30, -300> colour White }