camera { perspective location <0.0, 10.0, -10> sky<0.0, 1.0, 0.0> look_at <0.0, 0.0, 0.0> } light_source { <0.0, 100, -100> rgb <1.0, 1.0, 1.0> } // Persistence of Vision Ray Tracer Scene Description File #include "colors.inc" #version unofficial MegaPov 0.4; #default { texture { pigment { color rgb < 1, 0, 0 > } finish { ambient 0.4 } } } #declare P0 = 0.25; //period X #declare P1 = 0.25; //period Z #declare P2 = 0.8; //shape parameter 1 (x-z) #declare P3 = 0.125; //amplitude #declare P4 = 0.8; //shape parameter 2 (y) isosurface { normal on function { "mesh1" , } accuracy 0.001 threshold 0.02 contained_by { box { <-10.0, -10.0, -10.0>, <10.0, 10.0, 10.0> } } eval texture { pigment { function { sqrt(x*x*0.1 + y*y*0.1 + z*z*0.1) } color_map { [ 0.000 rgbft <1.0, 0.5, 1.0, 0.0, 0.0> ] [ 1.000 rgbft <1.0, 0.2, 0.2, 0.0, 0.0> ] } } } }