#include "colors.inc" camera { location <0, .1, -60> look_at 0 angle 30 } background { color Gray25 } //to make the patch easier to see light_source { <300, 300, -700> White } plane { y, -15 texture { pigment { checker color White color Black } } } #declare A1 = <-5.0, 6.2, -13.0>; #declare A2 = <-1.7, 6.2, 0.0>; #declare A3 = <1.6, 6.2, 0.0>; #declare A4 = <5.0, 6.2, -13.0>; #declare A5 = <-5.0, 6.2, -13.0>; #declare A6 = <0.0, 0.0, 18.0>; #declare A7 = <1.6, 6.2, 0.0>; #declare A8 = <5.0, 1.8, 0.0>; #declare A9 = <-5.1, -1.8, 0.0>; #declare A10 = <0.0, 0.0, 18.1>; #declare A11 = <0.0, 0.0, 18.1>; #declare A12 = <5.0, -1.8, 0.0>; #declare A13 = <-5.0, -5.5, -13.0>; #declare A14 = <-1.7, -5.5, 0.0>; #declare A15 = <1.6, -5.5, 0.0>; #declare A16 = <5.0, -5.5, -13.0>; #declare AutoColor = texture { pigment { color rgb <0.01, 0.81, 0.95,> } finish { ambient .1 diffuse .7 reflection 0.3 metallic} } #declare Auto = bicubic_patch { type 1 flatness 0.015 u_steps 3 v_steps 3, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16 texture { AutoColor } rotate -90*x // to orient the object to LHC rotate 90*z // rotate 25*y // to see the four "legs" better } #declare ponto1 = sphere { A1, 0.1 texture { pigment { color rgb <1,0,0> }}} #declare ponto2 = sphere { A2, 0.1 texture { pigment { color rgb <1,0,0> }}} #declare ponto3 = sphere { A3, 0.1 texture { pigment { color rgb <1,0,0> }}} #declare ponto4 = sphere { A4, 0.1 texture { pigment { color rgb <1,0,0> }}} #declare ponto5 = sphere { A5, 0.1 texture { pigment { color rgb <1,0,0> }}} #declare ponto6 = sphere { A6, 0.1 texture { pigment { color rgb <1,0,0> }}} #declare ponto7 = sphere { A7, 0.1 texture { pigment { color rgb <1,0,0> }}} #declare ponto8 = sphere { A8, 0.1 texture { pigment { color rgb <1,0,0> }}} #declare ponto9 = sphere { A9, 0.1 texture { pigment { color rgb <1,0,0> }}} #declare ponto10 = sphere { A10, 0.1 texture { pigment { color rgb <1,0,0> }}} #declare ponto11 = sphere { A11, 0.1 texture { pigment { color rgb <1,0,0> }}} #declare ponto12 = sphere { A12, 0.1 texture { pigment { color rgb <1,0,0> }}} #declare ponto13 = sphere { A13, 0.1 texture { pigment { color rgb <1,0,0> }}} #declare ponto14 = sphere { A14, 0.1 texture { pigment { color rgb <1,0,0> }}} #declare ponto15 = sphere { A15, 0.1 texture { pigment { color rgb <1,0,0> }}} #declare ponto16 = sphere { A16, 0.1 texture { pigment { color rgb <1,0,0> }}} #declare Corte = box { <-5.0, 5.0, -15.0>, // Near lower left corner <5.0, 1.0, -3.0> texture { AutoColor } } // mostra... object { ponto1 } object { ponto2 } object { ponto3 } object { ponto4 } object { ponto5 } object { ponto6 } object { ponto7 } object { ponto8 } object { ponto9 } object { ponto10 } object { ponto11 } object { ponto12 } object { ponto13 } object { ponto14 } object { ponto15 } object { ponto16 } //object { Corte } //object { Auto } difference { object { Auto } Corte rotate <90.0, 0.0, 0.0> }