quinta-feira, 17 de abril de 2014

Copyleft

camera {
 location <0,0,4>
look_at <0,0,0>
}
light_source {
<5,10,35>
colour rgb 1 
 fade_distance 35 fade_power 4
}   
light_source {
<-5,-10,35>
colour rgb 1 
 fade_distance 20 fade_power 4
}
light_source {
<-5,10,35>
colour rgb 1 
 fade_distance 19 fade_power 4
}

union { //C
difference {
cone   { <0, 0,0.2>, 1 <0,0,-0.2>, 1}
merge {
cone   { <0, 0,0.5>, 0.5 <0,0,-0.5>, 0.5}
box { <1, 0.2, -1>,< 0, -0.2, 1>}
}
}
pigment { color <0.1,0.1,0.1>} finish { specular albedo 0.2 roughness 0.0 reflection {1} irid {0.1 thickness 0.1} metallic} rotate <0, 0, 0 >
translate <0,0,0.125>
} //end of C

union { // Circle
difference {
cone   { <0, 0,0.2>, 1.7 <0,0,-0.2>, 1.7}
cone   { <0, 0,0.5>, 1.2 <0,0,-0.5>, 1.2}
}
pigment { color <0.1,0.1,0.1>} finish { specular albedo 0.2 roughness 0.0 reflection {1} irid {0.1 thickness 0.1} metallic}
rotate <0,clock*360, 0 > translate <0,0,0>
} //End of Circle