// Persistence Of Vision raytracer version 3.1g isosurface patch with HyperFun // sample file. // This image contains an example of 'isosurface'. #include "colors.inc" #include "shapes.inc" #include "textures.inc" #include "Woods.inc" #include "stones.inc" #include "glass.inc" #include "metals.inc" camera { up<0,1,0> right<-1.33,0,0> location <0, 35,-40> direction <0, 0, 2.5> look_at <0,2.5,0> } light_source {<20, 20, 20> color White} light_source {<20, 20, -20> color White} isosurface{ function {"HyperFun", library "hyperfun","HF_program=wine.hf, HF_object=wine, x=1, y=2, z=3", <0,0,0,0>} bounded_by{ box {<-15, -15, -15>, <15, 15, 15>}} accuracy 0.01 sign -1 eval material{texture { T_Ruby_Glass } interior{I_Glass} } translate <0,0,0> } isosurface{ function {"HyperFun", library "hyperfun","HF_program=glass.hf, HF_object=glass, x=1, y=2, z=3", <0,0,0,0>} bounded_by{ box {<-15, -15, -15>, <15, 15, 15>}} accuracy 0.01 sign -1 eval material{texture { T_Glass4 } interior{I_Glass} } translate <0,0,0> } isosurface{ function {"HyperFun", library "hyperfun","HF_program=shaker.hf, HF_object=shaker, x=1, y=2, z=3", <0,0,0,0>} bounded_by{ box {<-15, -15, -15>, <15, 15, 15>}} accuracy 0.01 sign -1 eval texture {T_Silver_2E} translate <-6,0,10> } isosurface{ function {"HyperFun", library "hyperfun","HF_program=apple.hf, HF_object=apple, x=1, y=2, z=3", <0,0,0,0>} bounded_by{ box {<-15, -15, -15>, <15, 15, 15>}} accuracy 0.01 sign -1 eval texture {T_Stone21} translate <6,-4.6,8> } cylinder{y*-12,y*-9,20 texture {T_Wood14} translate <0,0,4> }