Anda di halaman 1dari 4

#include "colors.

inc"

plane {
y, -3
texture {
pigment { checker color rgb 1 color green 0.5 scale 3 }
finish { reflection 0.2}
}
}

camera {

location <0,5 , -30>


rotate <0,45,0>

light_source {< 200, 100, -50> color White}


light_source {< -50, 20, 50> color White}
light_source {< -50, 30, 0> color White}
background{color <1,1,1>}

cylinder { <-12, 0, 0>, <-8, 0, 0>, 2.1 pigment{color White} }

cylinder { <-14, 0, 0>, <-10, 0, 0>, 1.8 pigment{color Red} }

sphere{<-14, 0, 0>, 1.1 pigment{color White} }

cylinder { <-13, 0, 0>, <-13.5, 0, 0>, 1.9 pigment{color White} }

box { <-12,-2,3>, <-2,-1,-3> pigment{color Red} }

// Base del tren


union{
object{

box { <-8,-2,1.5>, <-1,5,-2.5> pigment{color Red} }

clipped_by{

box {<-7.5,-1.5,1>, <-0.5,4.5,-2> inverse }

box {<-7.5,2,-2.5> <-1.5,4,-2.5> inverse }


box {<-7.5,2,1.5> <-1.5,4,1.5> inverse }
}
}
}
// Chimenea
union{
object{
cone { <-11, 5, 0> 1.1
<-11, 0, 0> 0.2
pigment { color Red }
}

clipped_by{

cone {<-11,6,0> 1 , <-11,0,0> 0.1 inverse }

}
}

//Rueda 1
union{
object{
cylinder {
<-11, -2, -3>,
<-11, -2, -3.5>, 1
pigment{color White}
}

clipped_by{

cylinder { <-11, -2, -2.9>, <-11, -2, -3.6>, 0.8


inverse }

}
}

cylinder { <-11, -2, -3>, <-11, -2, -3.5>, 0.5 pigment{ color Red} }
sphere{<-11, -2, -3.6>, 0.2 pigment{color White} }
}

//Rueda 2
union{
object{
cylinder {
<-8, -2, -3>,
<-8, -2, -3.5>, 1
pigment{color White}
}
clipped_by{

cylinder { <-8, -2, -2.9>, <-8, -2, -3.6>, 0.8 inverse


}

}
}

cylinder { <-8, -2, -3>, <-8, -2, -3.5>, 0.5 pigment{ color Red} }
sphere{<-8, -2, -3.6>, 0.2 pigment{color White} }
}

//Rueda 3
union{
object{
cylinder {
<-4, -1, -3>,
<-4, -1,-3.5>, 2
pigment{color White}
}

clipped_by{

cylinder { <-4, -1, -2.9>, <-4, -1, -3.6>, 0.8 inverse


}

}
}

cylinder { <-4, -1, -3>, <-4, -1, -3.5>, 0.5 pigment{ color Red} }
sphere{<-4, -1, -3.6>, 0.2 pigment{color White} }
}

//Rueda 4
union{
object{
cylinder {
<-11, -2, 3>,
<-11, -2, 3.5>, 1
pigment{color White}
}

clipped_by{

cylinder { <-11, -2, 2.9>, <-11, -2, 3.6>, 0.8 inverse


}

}
}

cylinder { <-11, -2, 3>, <-11, -2, 3.5>, 0.5 pigment{ color Red} }
sphere{<-11, -2, 3.6>, 0.2 pigment{color White} }
}
//Rueda 5
union{
object{
cylinder {
<-8, -2, 3>,
<-8, -2, 3.5>, 1
pigment{color White}
}

clipped_by{

cylinder { <-8, -2, 2.9>, <-8, -2, 3.6>, 0.8 inverse }

}
}

cylinder { <-8, -2, 3>, <-8, -2, 3.5>, 0.5 pigment{ color Red} }
sphere{<-8, -2, 3.6>, 0.2 pigment{color White} }
}

//Rueda 6
union{
object{
cylinder {
<-4, -1,3>,
<-4, -1,3.5>, 2
pigment{color White}
}

clipped_by{

cylinder { <-4, -1, 2.9>, <-4, -1, 3.6>, 0.8 inverse }

}
}

cylinder { <-4, -1, 3>, <-4, -1, 3.5>, 0.5 pigment{ color Red} }
sphere{<-4, -1, 3.6>, 0.2 pigment{color White} }
}

Anda mungkin juga menyukai