// test scene view { (2.4,-0.7,2.5), // eye-point vector (0.0,-0.05,0.5), // target pos (0,0,1), // up-vector 1,1 // width/height angle } light { (0,0,0.5), // pos (.7,.7,.7) // color 1 } light { (0,-1,0.5), // pos (.7,.7,.7) // color 1 } light { (0,1,0.5), // pos (.7,.7,.7) // color 1 } object floor { (0,1.5,0) // pos (0,0,1) // normal (0.9,0.9,0.9),(0.2,0.2,0.2), // color 0.3 // size material { (0.0,0.0,0.0), // diffuse (0.5,0.5,0.5), // specular color ( set r=b=g ) 3, // specular 0.4, // reflect 0.0, 0 // transparency,refract } } object csg and { src1 sphere { (0,-1,0.5) // pos 0.5 material { (0.0,0,0), // diffuse (0.5,0.5,0.5), // specular color ( set r=b=g ) 4, // specular 0, // reflect 0.8, 1.0, // transparency,refract (0.0,0.0,0.0) // ambient (0.0,0.5,0.5) // opaque } } src2 quadricsurface { 1 0.03 1 // x^2 y^2 x^2 0 0 0 // xy yz zx 0 0 -1 // x y z 0.15 // const } } object csg and { src1 sphere { (0,0,0.5) // pos 0.5 material { (0,0.0,0), // diffuse (0.5,0.5,0.5), // specular color ( set r=b=g ) 4, // specular 0, // reflect 0.8, 1.3, // transparency,refract (0.0,0.0,0.0) // ambient (0.5,0.0,0.5) // opaque } } src2 quadricsurface { 1 0.03 1 // x^2 y^2 x^2 0 0 0 // xy yz zx 0 0 -1 // x y z 0.15 // const } } object csg and { src1 sphere { (0,1,0.5) // pos 0.5 material { (0,0,0.0), // diffuse (0.5,0.5,0.5), // specular color ( set r=b=g ) 4, // specular 0, // reflect 0.8, 1.7, // transparency,refract (0.0,0.0,0.0) // ambient (0.5,0.5,0.0) // opaque } } src2 quadricsurface { 1 0.03 1 // x^2 y^2 x^2 0 0 0 // xy yz zx 0 0 -1 // x y z 0.15 // const } }