#include "colors.inc" #include "rad_def.inc" #declare Radiosity = on; #declare AreaLight = on; global_settings { #if (Radiosity) radiosity { Rad_Settings(Radiosity_Fast, off, off) } #end } camera { location <-1, 10, -7>*2 look_at y*-2 } light_source { <1000,1000,-1000> White #if (AreaLight) area_light x*100,y*100 2,2 circular orient jitter adaptive 1 #end } #declare Map = function { pigment { image_map { png "Untitled1_hf.png" once interpolate 2 } matrix <1,0,0, 0,0,1, 0,1,0, 0,0,0> //swap y and z translate -.5 //center scale 2 } } #declare Map2 = function { Map(x,y,z).red + Map(x,y,z).green / 256.0 + Map(x,y,z).blue / 65536.0 } isosurface { function { y-Map2(x,y,z) } contained_by { box { -.999,.999 } } open max_gradient 3 pigment { White } scale <10,5,10> }