#version 3.7; global_settings{ assumed_gamma 1.0 } #declare C0 =camera {location -35*z direction z up y right x*image_width/image_height angle 15 look_at <0,0,0> rotate 40*x } #declare C1 =camera {orthographic location -35*z direction z up y right x*image_width/image_height angle 15 look_at <0,0,0> rotate 90*x } #declare C2 =camera {orthographic location -35*z direction z up y right x*image_width/image_height angle 15 look_at <0,0,0> rotate 90*y } #declare C3 =camera {orthographic location -35*z direction z up y right x*image_width/image_height angle 15 look_at <0,0,0> } camera { grid 2 C1 C0 C3 C2 } #include "colors.inc" #include "woods.inc" #include "golds.inc" #include "metals.inc" light_source { -100*z, 1/3 } light_source { 100*y, 1/3 } light_source { 100*y-100*z, 1/3 } light_source { 100*y-100*x, 1/3 } //#declare Texture = texture { T_Wood5 rotate 90*x }; //#declare Texture = texture { checker texture { pigment { color blue 1 } } texture { pigment { color rgb <1,1,0> } } } #declare OBJE=sphere { 0, 2 } #declare Texture1= texture { pigment { Yellow transmit 0.5 } } #declare Texture2= texture { pigment {Red}} #declare SS=4; //plane { y, -2 texture { pigment { color PaleGreen } } } box { <-SS,-2,-SS/2>, texture { pigment { color PaleGreen } } } #include "NurbsMesh.inc" mesh{ UVMeshable(OBJE, 8, 4) texture { uv_mapping Texture1 scale <1/24, 1/24,1> } interior_texture { uv_mapping Texture2 scale <1/24, 1/24,1> } clipped_by { plane { y-z,1 }} translate -2.2*x } object { OBJE texture { uv_mapping Texture1 scale <1/24, 1/24,1> } interior_texture { uv_mapping Texture2 scale <1/24, 1/24,1> } clipped_by { plane { y-z,1 }} translate 2.2*x }