#include "colors.inc" camera { location < 12.0, 12.0, 12.0> look_at <0.0,0.0,0.0> angle 40 } background { color <0,0,0.10> } light_source { <20,20,20> White } #declare w=1.5 // largura da "faixa" #declare a=1.0 // tamanho do "cubo-base" #declare b=2.5 #declare k=10.0 #declare Node = union { bicubic_patch { type 1 flatness 0.01 u_steps 8 v_steps 8, <-w/2,a,0> <-w/2,a+b,0> <-w/2,a,0> <-w/2,a,k> <-w/2,a+b,k> <-w/2,a,k> } } #declare SNode = union { object { Node } object { Node rotate 90*y rotate 90*x} object { Node rotate 90*y rotate 90*x rotate 90*y rotate 90*x} texture{ pigment { color rgb <1.0,1.0,1.0> } } } object { SNode } //object { SNode rotate <45,45,45> }