#include "colors.inc" #include "textures.inc" #include "golds.inc" #include "skies.inc" camera { angle 45 location <5, 3, -13> look_at <0, 1, 0> } plane { y, -5 //this is the grout pigment { checker color Black, color White scale 3 } finish { ambient .4 diffuse .7 } } light_source{ <10, 50, -100> White } light_source{ <0, -3, -10> White } sky_sphere { S_Cloud5 } #declare bumbum = union{ sphere { <0, 0, 0>, 0.5 pigment { Blue } translate -0.25*x } sphere { <0, 0, 0>, 0.5 pigment { Blue } translate 0.25*x } } #declare saia = difference { intersection { cone { <0,0.5,0>, 0.7, <0,-0.4,0>, 1.2 pigment { Yellow } } cone { <0,0.5,0>, 0.65, <0,-0.4,0>, 1.15 pigment { Yellow } } } } #declare tronco = cone { <0,0.5,0>, 0.15, <0,2,0>, 1 pigment { Blue} scale <1.1,1,0.5> } #declare pescoco = cylinder { <0,2,0>, <0,2.5,0>, 0.20 pigment { Blue} } #declare cranio = sphere{ <0,3.6,0>, 1 pigment { Blue} scale<0.4,0.8,0.4> //rotate 10 } #declare cucuruto = difference { sphere{ <0,3.5,0>, 1.2 pigment { Yellow} scale<0.4,0.8,0.4> //rotate 10 } box { <-2,0.5,-2>, <8,3.2,+5> } } #declare fios = difference { difference { cone { <0,2.2,0>, 1, <0,3.7,0>, 0.2 pigment {Yellow} } cone { <0,2.2,0>, 0.9, <0,3.7,0>, 0.1 pigment {Yellow} } } box { <3,0.5,-2>, <-3,5,0> } } #declare coxaDir = cylinder { <0.3,-0.5,0>, <1.1,-1.6,0>, 0.18 pigment { Blue} } #declare batataDir = cylinder { <1.2,-1.70,0>, <0.3,-3.0,0> 0.16 pigment { Blue} } #declare peDir = sphere { <0.35,-3.0,0>, 0.3 pigment { White} scale<0.7,1,1.2> } #declare joelhoDir = sphere { <1.2,-1.65,0>, 0.2 pigment { Blue} } #declare coxaEsq = cylinder { <-0.3,-0.5,0>, <-1,-1.6,0>, 0.18 pigment { Blue} } #declare batataEsq = cylinder { <-1,-1.70,0>, <-0.3,-3.0,0> 0.16 pigment { Blue} } #declare peEsq = sphere { <-0.25,-3.0,0>, 0.3 pigment { White} scale<0.7,1,1.2> } #declare joelhoEsq = sphere { <-1.,-1.65,0>, 0.2 pigment { Blue} } #declare bracoDir = cylinder { <1.7,3.3,0>, <0.5,4,0>, 0.14 pigment { Blue} } #declare bracoEsq = cylinder { <-1.7,3.3,0>, <-0.5,4,0>, 0.14 pigment { Blue} } #declare anteBracoDir = cylinder { <1.7,3.2,0>, <1,2,0>, 0.14 pigment { Blue} } #declare anteBracoEsq = cylinder { <-1.7,3.2,0>, <-1,2,0>, 0.14 pigment { Blue} } #declare cotoveloDir = sphere { <1.7,3.3,0>, 0.2 pigment { Blue} } #declare cotoveloEsq = sphere { <-1.7,3.3,0>, 0.2 pigment { Blue} } #declare maoDir = sphere { <0.3,4,0>, 0.2 pigment { White} scale<1.1,1,1> } #declare maoEsq = sphere { <-0.3,4,0>, 0.2 pigment { White} scale<1.1,1,1> } #declare bracoDireito = union { object{bracoDir} object{anteBracoDir} object{cotoveloDir} object{maoDir} } #declare bracoEsq = union { object{bracoEsq} object{anteBracoEsq} object{cotoveloEsq} object{maoEsq} } #declare pernaDir = union { object{coxaDir} object{joelhoDir} object{batataDir} object{peDir} } #declare pernaEsq = union { object{coxaEsq} object{joelhoEsq} object{batataEsq} object{peEsq} } union {} #declare cabelo = union { object {cucuruto} object {fios} } #declare olhos= sphere { <0.17,2.9,-0.3>, 0.1 pigment { White} } sphere { <-0.17,2.9,-0.3>, 0.1 pigment { White} } #declare boca= union{ sphere { <0, 2.5, -0.3>, 0.1 pigment { Red} translate -0.05*y scale<1.7,1,1> } sphere { <0, 2.5, -0.3>, 0.1 pigment { Red} translate 0.05*y scale<1.7,1,1> } } #declare rosto= union{ object{olhos} object{boca} } // Aqui está a cena, finalmente: union { object {bumbum} object {saia} object {tronco} object {pescoco} object {cranio} object {cabelo} object {bracoDireito} object {bracoEsq} object {rosto} object {pernaDir} object {pernaEsq} }