rendered paste bodydeclare torre=union {
box { <100,-10,-100> <-100,350,100> texture {T_Stone28 } }
polygon { 4, <-100,350,100>,<0,450,0>,<100,350,100>,<-100,350,100> }
polygon { 4, <100,350,-100>,<0,450,0>,<100,350,100>,<100,350,-100> }
polygon { 4, <-100,350,-100>,<0,450,0>,<100,350,-100>,<-100,350,-100> }
polygon { 4, <-100,350,100>,<0,450,0>,<-100,350,-100>,<-100,350,100> }
texture {
pigment { rgb <1, 0.5 0 > }
finish { diffuse 0.6 specular 0.6 }
normal { bumps 1 scale 0.05 }
}
}
E ISTO NAO É DE SEGUIDA CACETE
declare telhado = mesh2 {
vertex_vectors { 7
<200,250,-600>, <200,250,600>
<0,300,-600>, <0,300,0>, <0,300,600>
<-200,250,-400>, <-200,250,400> }
face_indices{ 6
<0,1,3>, <0,2,3>,
<2,3,5>, <3,5,6>,
<3,4,6>, <1,3,4> }
texture {
pigment { rgb <1, 0.5 0 > }
finish { diffuse 0.6 specular 0.6 }
normal { bumps 1 scale 0.05 }
}
}