// Persistence Of Vision raytracer version 3.1g isosurface patch with HyperFun // sample file. // This image contains an example of 'isosurface'. #include "colors.inc" #include "textures.inc" declare Distance = 14; camera { location <0.000, 0.000, 43.000> right<-1.33, 0, 0> sky <0.000, 1.000, 0.000> look_at <0.000, 0.000, -1.000> } light_source{ <15.000, 15.000, 15.000> color White} background {color red 1.000 green 1.000 blue 1.000} isosurface { bounded_by {box { <-7.000, -7.000, -7.000>, <7.000, 7.000, 7.000>}} function {"HyperFun", library "hyperfun","HF_program = Star6.hf, HF_object = star6, x = 1, y=2, z=3", <0.0, 0.0, 0.0, clock, 0.5, 1.0, 2.5, 1.1>} accuracy 0.001 sign -1 max_gradient 50 pigment {color red 0.000 green 1.000 blue 0.000} translate <-Distance, -Distance, 0.000> } isosurface { bounded_by {box { <-7.000, -7.000, -7.000>, <7.000, 7.000, 7.000>}} function {"HyperFun", library "hyperfun","HF_program = Star6.hf, HF_object = star6, x = 1, y=2, z=3", <0.0, 0.0, 0.0, clock, 0.5, 2.0, 2.5, 1.1>} accuracy 0.001 sign -1 max_gradient 50 pigment {color red 0.000 green 1.000 blue 0.000} translate <0.000, -Distance, 0.000> } isosurface { bounded_by {box { <-7.000, -7.000, -7.000>, <7.000, 7.000, 7.000>}} function {"HyperFun", library "hyperfun","HF_program = Star6.hf, HF_object = star6, x = 1, y=2, z=3", <0.0, 0.0, 0.0, clock, 0.5, 3.0, 2.5, 1.1>} accuracy 0.001 sign -1 max_gradient 50 pigment {color red 0.000 green 1.000 blue 0.000} translate } // *************************************************************************************************************************************************** isosurface { bounded_by {box { <-7.000, -7.000, -7.000>, <7.000, 7.000, 7.000>}} function {"HyperFun", library "hyperfun","HF_program = Star6.hf, HF_object = star6, x = 1, y=2, z=3", <0.0, 0.0, 0.0, clock, 1.5, 1.0, 2.5, 1.1>} accuracy 0.001 sign -1 max_gradient 50 pigment {color red 0.000 green 1.000 blue 0.000} translate <-Distance, 0.000, 0.000> } isosurface { bounded_by {box { <-7.000, -7.000, -7.000>, <7.000, 7.000, 7.000>}} function {"HyperFun", library "hyperfun","HF_program = Star6.hf, HF_object = star6, x = 1, y=2, z=3", <0.0, 0.0, 0.0, clock, 1.5, 2.0, 2.5, 1.1>} accuracy 0.001 sign -1 max_gradient 50 pigment {color red 0.000 green 1.000 blue 0.000} translate <0.000, 0.000, 0.000> } isosurface { bounded_by {box { <-7.000, -7.000, -7.000>, <7.000, 7.000, 7.000>}} function {"HyperFun", library "hyperfun","HF_program = Star6.hf, HF_object = star6, x = 1, y=2, z=3", <0.0, 0.0, 0.0, clock, 1.5, 3.0, 2.5, 1.1>} accuracy 0.001 sign -1 max_gradient 50 pigment {color red 0.000 green 1.000 blue 0.000} translate } // *************************************************************************************************************************************************** isosurface { bounded_by {box { <-7.000, -7.000, -7.000>, <7.000, 7.000, 7.000>}} function {"HyperFun", library "hyperfun","HF_program = Star6.hf, HF_object = star6, x = 1, y=2, z=3", <0.0, 0.0, 0.0, clock, 3.0, 1.0, 2.5, 1.1>} accuracy 0.001 sign -1 max_gradient 50 pigment {color red 0.000 green 1.000 blue 0.000} translate <-Distance, Distance, 0.000> } isosurface { bounded_by {box { <-7.000, -7.000, -7.000>, <7.000, 7.000, 7.000>}} function {"HyperFun", library "hyperfun","HF_program = Star6.hf, HF_object = star6, x = 1, y=2, z=3", <0.0, 0.0, 0.0, clock, 3.0, 2.0, 2.5, 1.1>} accuracy 0.001 sign -1 max_gradient 50 pigment {color red 0.000 green 1.000 blue 0.000} translate <0.000, Distance, 0.000> } isosurface { bounded_by {box { <-7.000, -7.000, -7.000>, <7.000, 7.000, 7.000>}} function {"HyperFun", library "hyperfun","HF_program = Star6.hf, HF_object = star6, x = 1, y=2, z=3", <0.0, 0.0, 0.0, clock, 3.0, 3.0, 2.5, 1.1>} accuracy 0.001 sign -1 max_gradient 50 pigment {color red 0.000 green 1.000 blue 0.000} translate }