// Last edited on 2003-10-21 20:10:21 by stolfi

#include "colors.inc"
   
camera {
   location <1.9, 1.9, -1.7>
   look_at  <0, 1, 0.7>
}
                                                 
background{ color rgb < 0.45, 0.45, 0.45 > }

light_source { <0,3,-2> color White fade_power 0.3 }
light_source { <-3,5,-2> color White fade_power 0.3 }
light_source { <-3,3,-4> color White fade_power 0.3 }
//light_source { -10*z color White fade_power 10.0 }                                        


#declare almofada = cylinder{
    <0,0.3,0>,<0,1,0>,0.55
    pigment{ color rgb <0.4,0.48,0.9> }
}

#declare braco_esquerdo = sphere{
    <0.54,1,0.13>,0.25
    pigment{ color rgb <0.5,1,0.5> }    
}

#declare braco_direito = sphere{
    <-0.54,1,0.13>,0.25
    pigment{ color rgb <0.5,1,0.5> }    
}

#declare suporte = box{
    <-0.05,0,-0.05>,<0.05,1.5,0.05>
    pigment{ color rgb <0.5,1,0.5> }    
}

#declare encosto = torus{
    0.34,0.12
    pigment{ color rgb <0.5,0.2,0.8> }    
}

union{
    object {almofada}
    object {braco_esquerdo}
    object {braco_direito}
    object {encosto rotate 90*x translate <0,1.8,0.70>}
    object {suporte rotate 15*x translate <0,0,0.3>}
}