// test scene view { (2.2,1.1,3.5), // eye-point vector (0,0,0), // target pos (0,0,1), // up-vector 1,1 // width/height angle } light { (0,1.3,4.8), // pos (8.0,8.0,8.0) // color 0.8 // damping (0,-0.2,-0.7),32,0.95 // directional-oriented } 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.0,0.0,0.0), // diffuse (0.5,0.5,0.5), // specular color ( set r=b=g ) 3, // specular 0.2, // reflect 0.8, 1.2 // transparency,refract (0,0,0) // ambient (0.1,0.1,0.9) // opaque } } 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 } } object sphere { (0,0,1) // pos 0.75 material { (0.0,0.0,0.0), // diffuse (0.5,0.5,0.5), // specular color ( set r=b=g ) 3, // specular 0.2, // reflect 0.7, 1.5 // transparency,refract (0,0,0) // ambient (0.1,0.1,1) // opaque } } ///////////// //blue object sphere { (0,-1.3,0.4) // pos 0.4 material { (0.0,0.0,0.0), // diffuse (0.5,0.5,0.5), // specular color ( set r=b=g ) 3, // specular 0.3, // reflect 0.8, 1.3 // transparency,refract (0,0,0) // ambient (0.8,0.8,0.1) // opaque } } object sphere { (0.92,-0.92,0.4) // pos 0.4 material { (0.0,0.0,0.0), // diffuse (0.5,0.5,0.5), // specular color ( set r=b=g ) 3, // specular 0.3, // reflect 0.8, 1.3 // transparency,refract (0,0,0) // ambient (0.1,0.8,0.1) // opaque } } //red object sphere { (1.3,0,0.4) // pos 0.4 material { (0.0,0.0,0.0), // diffuse (0.5,0.5,0.5), // specular color ( set r=b=g ) 3, // specular 0.3, // reflect 0.8, 1.3 // transparency,refract (0,0,0) // ambient (0.1,0.8,0.8) // opaque } } object sphere { (0.92,0.92,0.4) // pos 0.4 material { (0.0,0.0,0.0), // diffuse (0.5,0.5,0.5), // specular color ( set r=b=g ) 3, // specular 0.3, // reflect 0.8, 1.3 // transparency,refract (0,0,0) // ambient (0.1,0.1,0.8) // opaque } } // g object sphere { (0,1.3,0.4) // pos 0.4 material { (0.0,0.0,0.0), // diffuse (0.5,0.5,0.5), // specular color ( set r=b=g ) 3, // specular 0.3, // reflect 0.8, 1.3 // transparency,refract (0,0,0) // ambient (0.8,0.1,0.8) // opaque } } object sphere { (-0.92,0.92,0.4) // pos 0.4 material { (0.0,0.0,0.0), // diffuse (0.5,0.5,0.5), // specular color ( set r=b=g ) 3, // specular 0.3, // reflect 0.8, 1.3 // transparency,refract (0,0,0) // ambient (0.8,0.1,0.1) // opaque } }