// test scene view { (2,2,4), // eye-point vector (0,0,0), // target pos (0,0,1), // up-vector 1,1 // width/height angle } light area 11 11 (0,0.3,0) (0.3,0,0) { (-2,2,6), // pos (21.0,21.0,21.0) // color 1.0 } object floor { (0,1.5,0) // pos (0,0,1) // normal (0.5,0.5,0.5),(0.2,0.2,0.2), // color 0.3 // size material { (0.0,0.5,0.0), // diffuse (0.5,0.5,0.5), // specular color ( set r=b=g ) 5, // specular 0.2, // reflect 0, 0 // transparency,refract } } object csg sub { src1 csg sub { src1 csg sub { src1 sphere { (0,0,1) // pos 1 material { (0.9,0.7,0.7), // diffuse (0.1,0.1,0.1), // specular color ( set r=b=g ) 1, // specular 0.0, // reflect 0.0, 1.2 // transparency,refract (0.27,0.21,0.21) // ambient } } src2 quadricsurface { 0 1 1 // x^2 y^2 x^2 0 0 0 // xy yz zx 0 0 -2 // x y z 0.7 // const } } src2 quadricsurface { 1 1 0 // x^2 y^2 x^2 0 0 0 // xy yz zx 0 0 0 // x y z -0.3 // const } } src2 quadricsurface { 1 0 1 // x^2 y^2 x^2 0 0 0 // xy yz zx 0 0 -2 // x y z 0.7 // const } }