|
|
Ive been working on an animation assignment for a university course, and
although its done, and I think its cool, I was wondering if anyone had any
ideas on how to improve it. I get bonus points for clever animations, but
nothing for design, beyond it being built up into an E from blocks
Any ideas would be good, sorry if its a bit long.
// The second part of the assignment
#include "colors.inc"
#include "textures.inc"
plane { y, 1
texture {
pigment { checker color White color Yellow } //Sets the colour of
the foor
}
}
background { color Blue }
//Clock coding, first section builds the main square into an E
//The blocks are set with the Y axis of the polygons changing with the clock
value changing.
#if ( clock <= 1 )
light_source {
<5, 3.5, -9> White
}
camera {
location <1.5, 3.5, -8.5>
look_at <1.5, 3.5, 1.5>
}
// Block 1
polygon { //side 1
5, // number of vertices
<0, 1, 0>, <1, 1, 0>, <1, 2*clock, 0>, <0, 2*clock, 0>, <0, 1, 0>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<1, 1, 0>, <1, 1, 1>, <1, 2*clock, 1>, <1, 2*clock, 0>, <1, 1, 0>
pigment { Blue }
}
polygon { //side 3
5, // number of vertices
<0, 2*clock, 0>, <1, 2*clock, 0>, <1, 2*clock, 1>, <0, 2*clock, 1>, <0,
2*clock, 0>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<0, 1, 1>, <1, 1, 1>, <1, 2*clock, 1>, <0, 2*clock, 1>, <0, 1, 1>
pigment { White }
}
polygon { //side 5
5, // number of vertices
<0, 1, 0>, <1, 1, 0>, <1, 1, 1>, <0, 1, 1>, <0, 1, 0>
pigment { White }
}
polygon { //side 6
5, // number of vertices
<0, 1, 0>, <0, 1, 1>, <1, 1, 1>, <0, 2*clock, 0>, <0, 1, 0>
pigment { White }
}
// Block 2
polygon { //side 1
5, // number of vertices
<1, 1, 0>, <2, 1, 0>, <2, 2*clock, 0>, <1, 2*clock, 0>, <1, 1, 0>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<2, 1, 0>, <2, 1, 1>, <2, 2*clock, 1>, <2, 2*clock, 0>, <2, 1, 0>
pigment { Blue }
}
polygon { //side 3
5, // number of vertices
<1, 2*clock, 0>, <2, 2*clock, 0>, <2, 2*clock, 1>, <1, 2*clock, 1>, <1,
2*clock, 0>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<1, 1, 1>, <2, 1, 1>, <2, 2*clock, 1>, <1, 2*clock, 1>, <1, 1, 1>
pigment { White }
}
polygon { //side 5
5, // number of vertices
<1, 1, 0>, <2, 1, 0>, <2, 1, 1>, <1, 1, 1>, <1, 1, 0>
pigment { White }
}
polygon { //side 6
5, // number of vertices
<1, 1, 0>, <1, 1, 1>, <2, 1, 1>, <1, 2*clock, 0>, <1, 1, 0>
pigment { White }
}
// Block 3
polygon { //side 1
5, // number of vertices
<2, 1, 2>, <3, 1, 2>, <3, 2*clock, 2>, <2, 2*clock, 2>, <2, 1, 2>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<3, 1, 2>, <3, 1, 3>, <3, 2*clock, 3>, <3, 2*clock, 2>, <3, 1, 2>
pigment { Blue}
}
polygon { //side 3
5, // number of vertices
<2, 2*clock, 2>, <3, 2*clock, 2>, <3, 2*clock, 3>, <2, 2*clock, 3>, <2,
2*clock, 2>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<2, 1, 2>, <3, 1, 2>, <3, 2*clock, 2>, <2, 2*clock, 2>, <2, 1, 2>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<2, 1, 2>, <3, 1, 2>, <3, 1, 3>, <2, 1, 3>, <2, 1, 2>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<2, 1, 2>, <2, 1, 3>, <3, 1, 3>, <2, 2*clock, 2>, <2, 1, 2>
pigment { White}
}
// Block 3.2
polygon { //side 1
5, // number of vertices
<2, 1, 0>, <3, 1, 0>, <3, 2*clock, 0>, <2, 2*clock, 0>, <2, 1, 0>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<3, 1, 0>, <3, 1, 1>, <3, 2*clock, 1>, <3, 2*clock, 0>, <3, 1, 0>
pigment { Blue}
}
polygon { //side 3
5, // number of vertices
<2, 2*clock, 0>, <3, 2*clock, 0>, <3, 2*clock, 1>, <2, 2*clock, 1>, <2,
2*clock, 0>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<2, 1, 0>, <3, 1, 0>, <3, 2*clock, 0>, <2, 2*clock, 0>, <2, 1, 0>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<2, 1, 0>, <3, 1, 0>, <3, 1, 1>, <2, 1, 1>, <2, 1, 0>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<2, 1, 0>, <2, 1, 1>, <3, 1, 1>, <2, 2*clock, 0>, <2, 1, 0>
pigment { White}
}
// Block 3.3
polygon { //side 1
5, // number of vertices
<2, 1, 1>, <3, 1, 1>, <3, 2*clock, 1>, <2, 2*clock, 1>, <2, 1, 1>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<3, 1, 1>, <3, 1, 2>, <3, 2*clock, 2>, <3, 2*clock, 1>, <3, 1, 1>
pigment { Blue}
}
polygon { //side 3
5, // number of vertices
<2, 2*clock, 1>, <3, 2*clock, 1>, <3, 2*clock, 2>, <2, 2*clock, 2>, <2,
2*clock, 1>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<2, 1, 1>, <3, 1, 1>, <3, 2*clock, 1>, <2, 2*clock, 1>, <2, 1, 1>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<2, 1, 1>, <3, 1, 1>, <3, 1, 2>, <2, 1, 2>, <2, 1, 1>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<2, 1, 1>, <2, 1, 2>, <3, 1, 2>, <2, 2*clock, 1>, <2, 1, 1>
pigment { White}
}
// Block 4
polygon { //side 1
5, // number of vertices
<0, 2, 0>, <1, 2, 0>, <1, 3*clock, 0>, <0, 3*clock, 0>, <0, 2, 0>
pigment { White}
}
polygon { //side 2
5, // number of vertices
<1, 2, 0>, <1, 2, 1>, <1, 3*clock, 1>, <1, 3*clock, 0>, <1, 2, 0>
pigment { Blue}
}
polygon { //side 3
5, // number of vertices
<0, 3*clock, 0>, <1, 3*clock, 0>, <1, 3*clock, 1>, <0, 3*clock, 1>, <0,
3*clock, 0>
pigment { White}
}
polygon { //side 4
5, // number of vertices
<0, 2, 1>, <1, 2, 1>, <1, 3*clock, 1>, <0, 3*clock, 1>, <0, 2, 1>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<0, 2, 0>, <1, 2, 0>, <1, 2, 1>, <0, 2, 1>, <0, 2, 0>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<0, 2, 0>, <0, 2, 1>, <1, 2, 1>, <0, 3*clock, 0>, <0, 2, 0>
pigment { White}
}
// Block 5
polygon { //side 1
5, // number of vertices
<0, 3, 0>, <1, 3, 0>, <1, 4*clock, 0>, <0, 4*clock, 0>, <0, 3, 0>
pigment { White}
}
polygon { //side 3
5, // number of vertices
<0, 4*clock, 0>, <1, 4*clock, 0>, <1, 4*clock, 1>, <0, 4*clock, 1>, <0,
4*clock, 0>
pigment { White}
}
polygon { //side 4
5, // number of vertices
<0, 3, 1>, <1, 3, 1>, <1, 4*clock, 1>, <0, 4*clock, 1>, <0, 3, 1>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<0, 3, 0>, <1, 3, 0>, <1, 3, 1>, <0, 3, 1>, <0, 3, 0>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<0, 3, 0>, <0, 3, 1>, <1, 3, 1>, <0, 4*clock, 0>, <0, 3, 0>
pigment { White}
}
// Block 6
polygon { //side 1
5, // number of vertices
<1, 3, 0>, <2, 3, 0>, <2, 4*clock, 0>, <1, 4*clock, 0>, <1, 3, 0>
pigment { White}
}
polygon { //side 3
5, // number of vertices
<1, 4*clock, 0>, <2, 4*clock, 0>, <2, 4*clock, 1>, <1, 4*clock, 1>, <1,
4*clock, 0>
pigment { White}
}
polygon { //side 4
5, // number of vertices
<1, 3, 1>, <2, 3, 1>, <2, 4*clock, 1>, <1, 4*clock, 1>, <1, 3, 1>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<1, 3, 0>, <2, 3, 0>, <2, 3, 1>, <1, 3, 1>, <1, 3, 0>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<1, 3, 0>, <1, 3, 1>, <2, 3, 1>, <1, 4*clock, 0>, <1, 3, 0>
pigment { White}
}
// Block 6.1
polygon { //side 1
5, // number of vertices
<0, 3, 1>, <1, 3, 1>, <1, 4*clock, 1>, <0, 4*clock, 1>, <0, 3, 1>
pigment { White}
}
polygon { //side 2
5, // number of vertices
<1, 3, 1>, <1, 3, 2>, <1, 4*clock, 2>, <1, 4*clock, 1>, <1, 3, 1>
pigment { Blue}
}
polygon { //side 3
5, // number of vertices
<0, 4*clock, 1>, <1, 4*clock, 1>, <1, 4*clock, 2>, <0, 4*clock, 2>, <0,
4*clock, 1>
pigment { White}
}
polygon { //side 4
5, // number of vertices
<0, 3, 2>, <1, 3, 2>, <1, 4*clock, 2>, <0, 4*clock, 2>, <0, 3, 2>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<0, 3, 1>, <1, 3, 1>, <1, 3, 2>, <0, 3, 2>, <0, 3, 1>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<0, 3, 1>, <0, 3, 2>, <1, 3, 2>, <0, 4*clock, 1>, <0, 3, 1>
pigment { White}
}
// Block 8
polygon { //side 1
5, // number of vertices
<0, 4, 0>, <1, 4, 0>, <1, 5*clock, 0>, <0, 5*clock, 0>, <0, 4, 0>
pigment { White }
}
polygon { //side 3
5, // number of vertices
<0, 5*clock, 0>, <1, 5*clock, 0>, <1, 5*clock, 1>, <0, 5*clock, 1>, <0,
5*clock, 0>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<0, 4, 1>, <1, 4, 1>, <1, 5*clock, 1>, <0, 5*clock, 1>, <0, 4, 1>
pigment { White }
}
polygon { //side 5
5, // number of vertices
<0, 4, 0>, <1, 4, 0>, <1, 4, 1>, <0, 4, 1>, <0, 4, 0>
pigment { White }
}
polygon { //side 6
5, // number of vertices
<0, 4, 0>, <0, 4, 1>, <1, 4, 1>, <0, 5*clock, 0>, <0, 4, 0>
pigment { White }
}
// Block 8.2
polygon { //side 1
5, // number of vertices
<0, 4, 2>, <1, 4, 2>, <1, 5*clock, 2>, <0, 5*clock, 2>, <0, 4, 2>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<1, 4, 2>, <1, 4, 3>, <1, 5*clock, 3>, <1, 5*clock, 2>, <1, 4, 2>
pigment { Blue }
}
polygon { //side 3
5, // number of vertices
<0, 5*clock, 2>, <1, 5*clock, 2>, <1, 5*clock, 3>, <0, 5*clock, 3>, <0,
5*clock, 2>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<0, 4, 3>, <1, 4, 3>, <1, 5*clock, 3>, <0, 5*clock, 3>, <0, 4, 3>
pigment { White }
}
polygon { //side 5
5, // number of vertices
<0, 4, 2>, <1, 4, 2>, <1, 4, 3>, <0, 4, 3>, <0, 4, 2>
pigment { White }
}
polygon { //side 6
5, // number of vertices
<0, 4, 2>, <0, 4, 3>, <1, 4, 3>, <0, 5*clock, 2>, <0, 4, 2>
pigment { White }
}
// Block 9
polygon { //side 1
5, // number of vertices
<0, 5, 0>, <1, 5, 0>, <1, 6*clock, 0>, <0, 6*clock, 0>, <0, 5, 0>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<1, 5, 0>, <1, 5, 1>, <1, 6*clock, 1>, <1, 6*clock, 0>, <1, 5, 0>
pigment { Blue }
}
polygon { //side 3
5, // number of vertices
<0, 6*clock, 0>, <1, 6*clock, 0>, <1, 6*clock, 1>, <0, 6*clock, 1>, <0,
6*clock, 0>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<0, 5, 1>, <1, 5, 1>, <1, 6*clock, 1>, <0, 6*clock, 1>, <0, 5, 1>
pigment { White }
}
polygon { //side 5
5, // number of vertices
<0, 5, 0>, <1, 5, 0>, <1, 5, 1>, <0, 5, 1>, <0, 5, 0>
pigment { White }
}
polygon { //side 6
5, // number of vertices
<0, 5, 0>, <0, 5, 1>, <1, 5, 1>, <0, 6*clock, 0>, <0, 5, 0>
pigment { White }
}
// Block 10
polygon { //side 1
5, // number of vertices
<1, 5, 0>, <2, 5, 0>, <2, 6*clock, 0>, <1, 6*clock, 0>, <1, 5, 0>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<2, 5, 0>, <2, 5, 1>, <2, 6*clock, 1>, <2, 6*clock, 0>, <2, 5, 0>
pigment { Blue }
}
polygon { //side 3
5, // number of vertices
<1, 6*clock, 0>, <2, 6*clock, 0>, <2, 6*clock, 1>, <1, 6*clock, 1>, <1,
6*clock, 0>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<1, 5, 1>, <2, 5, 1>, <2, 6*clock, 1>, <1, 6*clock, 1>, <1, 5, 1>
pigment { White }
}
polygon { //side 5
5, // number of vertices
<1, 5, 0>, <2, 5, 0>, <2, 5, 1>, <1, 5, 1>, <1, 5, 0>
pigment { White }
}
polygon { //side 6
5, // number of vertices
<1, 5, 0>, <1, 5, 1>, <2, 5, 1>, <1, 6*clock, 0>, <1, 5, 0>
pigment { White }
}
// Block 11
polygon { //side 1
5, // number of vertices
<2, 5, 2>, <3, 5, 2>, <3, 6*clock, 2>, <2, 6*clock, 2>, <2, 5, 2>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<3, 5, 2>, <3, 5, 3>, <3, 6*clock, 3>, <3, 6*clock, 2>, <3, 5, 2>
pigment { Blue}
}
polygon { //side 3
5, // number of vertices
<2, 6*clock, 2>, <3, 6*clock, 2>, <3, 6*clock, 3>, <2, 6*clock, 3>, <2,
6*clock, 2>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<2, 5, 2>, <3, 5, 2>, <3, 6*clock, 2>, <2, 6*clock, 2>, <2, 5, 2>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<2, 5, 2>, <3, 5, 2>, <3, 5, 3>, <2, 5, 3>, <2, 5, 2>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<2, 5, 2>, <2, 5, 3>, <3, 5, 3>, <2, 6*clock, 2>, <2, 5, 2>
pigment { White}
}
// Block 11.2
polygon { //side 1
5, // number of vertices
<2, 5, 0>, <3, 5, 0>, <3, 6*clock, 0>, <2, 6*clock, 0>, <2, 5, 0>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<3, 5, 0>, <3, 5, 1>, <3, 6*clock, 1>, <3, 6*clock, 0>, <3, 5, 0>
pigment { Blue}
}
polygon { //side 3
5, // number of vertices
<2, 6*clock, 0>, <3, 6*clock, 0>, <3, 6*clock, 1>, <2, 6*clock, 1>, <2,
6*clock, 0>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<2, 5, 0>, <3, 5, 0>, <3, 6*clock, 0>, <2, 6*clock, 0>, <2, 5, 0>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<2, 5, 0>, <3, 5, 0>, <3, 5, 1>, <2, 5, 1>, <2, 5, 0>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<2, 5, 0>, <2, 5, 1>, <3, 5, 1>, <2, 6*clock, 0>, <2, 5, 0>
pigment { White}
}
// Block 11.3
polygon { //side 1
5, // number of vertices
<2, 5, 1>, <3, 5, 1>, <3, 6*clock, 1>, <2, 6*clock, 1>, <2, 5, 1>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<3, 5, 1>, <3, 5, 2>, <3, 6*clock, 2>, <3, 6*clock, 1>, <3, 5, 1>
pigment { Blue}
}
polygon { //side 3
5, // number of vertices
<2, 6*clock, 1>, <3, 6*clock, 1>, <3, 6*clock, 2>, <2, 6*clock, 2>, <2,
6*clock, 1>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<2, 5, 1>, <3, 5, 1>, <3, 6*clock, 1>, <2, 6*clock, 1>, <2, 5, 1>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<2, 5, 1>, <3, 5, 1>, <3, 5, 2>, <2, 5, 2>, <2, 5, 1>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<2, 5, 1>, <2, 5, 2>, <3, 5, 2>, <2, 6*clock, 1>, <2, 5, 1>
pigment { White}
}
light_source {
<5, 3.5, -9> White
}
//Second clock part, spins the camera around the E at 90 degrees, and the
light at 460 degrees (all around and a quarter)
//Displays the blocks placed behind the E, moved into position to look like
a Z. (Z blocks side in blue)
#else
camera {
location <1.5, 3.5, -8.5>
look_at <1.5, 3.5, 1.5>
rotate < 0,-90*(clock - 1) 0>
}
light_source {
<5, 3.5, -9> White
rotate < 0,-460*(clock - 1) 0>
}
// Block 1
polygon { //side 1
5, // number of vertices
<0, 1, 0>, <1, 1, 0>, <1, 2, 0>, <0, 2, 0>, <0, 1, 0>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<1, 1, 0>, <1, 1, 1>, <1, 2, 1>, <1, 2, 0>, <1, 1, 0>
pigment { Blue }
}
polygon { //side 3
5, // number of vertices
<0, 2, 0>, <1, 2, 0>, <1, 2, 1>, <0, 2, 1>, <0, 2, 0>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<0, 1, 1>, <1, 1, 1>, <1, 2, 1>, <0, 2, 1>, <0, 1, 1>
pigment { White }
}
polygon { //side 5
5, // number of vertices
<0, 1, 0>, <1, 1, 0>, <1, 1, 1>, <0, 1, 1>, <0, 1, 0>
pigment { White }
}
polygon { //side 6
5, // number of vertices
<0, 1, 0>, <0, 1, 1>, <1, 1, 1>, <0, 2, 0>, <0, 1, 0>
pigment { White }
}
// Block 2
polygon { //side 1
5, // number of vertices
<1, 1, 0>, <2, 1, 0>, <2, 2, 0>, <1, 2, 0>, <1, 1, 0>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<2, 1, 0>, <2, 1, 1>, <2, 2, 1>, <2, 2, 0>, <2, 1, 0>
pigment { Blue }
}
polygon { //side 3
5, // number of vertices
<1, 2, 0>, <2, 2, 0>, <2, 2, 1>, <1, 2, 1>, <1, 2, 0>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<1, 1, 1>, <2, 1, 1>, <2, 2, 1>, <1, 2, 1>, <1, 1, 1>
pigment { White }
}
polygon { //side 5
5, // number of vertices
<1, 1, 0>, <2, 1, 0>, <2, 1, 1>, <1, 1, 1>, <1, 1, 0>
pigment { White }
}
polygon { //side 6
5, // number of vertices
<1, 1, 0>, <1, 1, 1>, <2, 1, 1>, <1, 2, 0>, <1, 1, 0>
pigment { White }
}
// Block 3
polygon { //side 1
5, // number of vertices
<2, 1, 2>, <3, 1, 2>, <3, 2, 2>, <2, 2, 2>, <2, 1, 2>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<3, 1, 2>, <3, 1, 3>, <3, 2, 3>, <3, 2, 2>, <3, 1, 2>
pigment { Blue}
}
polygon { //side 3
5, // number of vertices
<2, 2, 2>, <3, 2, 2>, <3, 2, 3>, <2, 2, 3>, <2, 2, 2>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<2, 1, 2>, <3, 1, 2>, <3, 2, 2>, <2, 2, 2>, <2, 1, 2>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<2, 1, 2>, <3, 1, 2>, <3, 1, 3>, <2, 1, 3>, <2, 1, 2>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<2, 1, 2>, <2, 1, 3>, <3, 1, 3>, <2, 2, 2>, <2, 1, 2>
pigment { White}
}
// Block 3.2
polygon { //side 1
5, // number of vertices
<2, 1, 0>, <3, 1, 0>, <3, 2, 0>, <2, 2, 0>, <2, 1, 0>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<3, 1, 0>, <3, 1, 1>, <3, 2, 1>, <3, 2, 0>, <3, 1, 0>
pigment { Blue}
}
polygon { //side 3
5, // number of vertices
<2, 2, 0>, <3, 2, 0>, <3, 2, 1>, <2, 2, 1>, <2, 2, 0>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<2, 1, 0>, <3, 1, 0>, <3, 2, 0>, <2, 2, 0>, <2, 1, 0>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<2, 1, 0>, <3, 1, 0>, <3, 1, 1>, <2, 1, 1>, <2, 1, 0>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<2, 1, 0>, <2, 1, 1>, <3, 1, 1>, <2, 2, 0>, <2, 1, 0>
pigment { White}
}
// Block 3.3
polygon { //side 1
5, // number of vertices
<2, 1, 1>, <3, 1, 1>, <3, 2, 1>, <2, 2, 1>, <2, 1, 1>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<3, 1, 1>, <3, 1, 2>, <3, 2, 2>, <3, 2, 1>, <3, 1, 1>
pigment { Blue}
}
polygon { //side 3
5, // number of vertices
<2, 2, 1>, <3, 2, 1>, <3, 2, 2>, <2, 2, 2>, <2, 2, 1>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<2, 1, 1>, <3, 1, 1>, <3, 2, 1>, <2, 2, 1>, <2, 1, 1>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<2, 1, 1>, <3, 1, 1>, <3, 1, 2>, <2, 1, 2>, <2, 1, 1>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<2, 1, 1>, <2, 1, 2>, <3, 1, 2>, <2, 2, 1>, <2, 1, 1>
pigment { White}
}
// Block 4
polygon { //side 1
5, // number of vertices
<0, 2, 0>, <1, 2, 0>, <1, 3, 0>, <0, 3, 0>, <0, 2, 0>
pigment { White}
}
polygon { //side 2
5, // number of vertices
<1, 2, 0>, <1, 2, 1>, <1, 3, 1>, <1, 3, 0>, <1, 2, 0>
pigment { Blue}
}
polygon { //side 3
5, // number of vertices
<0, 3, 0>, <1, 3, 0>, <1, 3, 1>, <0, 3, 1>, <0, 3, 0>
pigment { White}
}
polygon { //side 4
5, // number of vertices
<0, 2, 1>, <1, 2, 1>, <1, 3, 1>, <0, 3, 1>, <0, 2, 1>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<0, 2, 0>, <1, 2, 0>, <1, 2, 1>, <0, 2, 1>, <0, 2, 0>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<0, 2, 0>, <0, 2, 1>, <1, 2, 1>, <0, 3, 0>, <0, 2, 0>
pigment { White}
}
// Block 5
polygon { //side 1
5, // number of vertices
<0, 3, 0>, <1, 3, 0>, <1, 4, 0>, <0, 4, 0>, <0, 3, 0>
pigment { White}
}
polygon { //side 3
5, // number of vertices
<0, 4, 0>, <1, 4, 0>, <1, 4, 1>, <0, 4, 1>, <0, 4, 0>
pigment { White}
}
polygon { //side 4
5, // number of vertices
<0, 3, 1>, <1, 3, 1>, <1, 4, 1>, <0, 4, 1>, <0, 3, 1>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<0, 3, 0>, <1, 3, 0>, <1, 3, 1>, <0, 3, 1>, <0, 3, 0>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<0, 3, 0>, <0, 3, 1>, <1, 3, 1>, <0, 4, 0>, <0, 3, 0>
pigment { White}
}
// Block 6
polygon { //side 1
5, // number of vertices
<1, 3, 0>, <2, 3, 0>, <2, 4, 0>, <1, 4, 0>, <1, 3, 0>
pigment { White}
}
polygon { //side 3
5, // number of vertices
<1, 4, 0>, <2, 4, 0>, <2, 4, 1>, <1, 4, 1>, <1, 4, 0>
pigment { White}
}
polygon { //side 4
5, // number of vertices
<1, 3, 1>, <2, 3, 1>, <2, 4, 1>, <1, 4, 1>, <1, 3, 1>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<1, 3, 0>, <2, 3, 0>, <2, 3, 1>, <1, 3, 1>, <1, 3, 0>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<1, 3, 0>, <1, 3, 1>, <2, 3, 1>, <1, 4, 0>, <1, 3, 0>
pigment { White}
}
// Block 6.1
polygon { //side 1
5, // number of vertices
<0, 3, 1>, <1, 3, 1>, <1, 4, 1>, <0, 4, 1>, <0, 3, 1>
pigment { White}
}
polygon { //side 2
5, // number of vertices
<1, 3, 1>, <1, 3, 2>, <1, 4, 2>, <1, 4, 1>, <1, 3, 1>
pigment { Blue}
}
polygon { //side 3
5, // number of vertices
<0, 4, 1>, <1, 4, 1>, <1, 4, 2>, <0, 4, 2>, <0, 4, 1>
pigment { White}
}
polygon { //side 4
5, // number of vertices
<0, 3, 2>, <1, 3, 2>, <1, 4, 2>, <0, 4, 2>, <0, 3, 2>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<0, 3, 1>, <1, 3, 1>, <1, 3, 2>, <0, 3, 2>, <0, 3, 1>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<0, 3, 1>, <0, 3, 2>, <1, 3, 2>, <0, 4, 1>, <0, 3, 1>
pigment { White}
}
// Block 8
polygon { //side 1
5, // number of vertices
<0, 4, 0>, <1, 4, 0>, <1, 5, 0>, <0, 5, 0>, <0, 4, 0>
pigment { White }
}
polygon { //side 3
5, // number of vertices
<0, 5, 0>, <1, 5, 0>, <1, 5, 1>, <0, 5, 1>, <0, 5, 0>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<0, 4, 1>, <1, 4, 1>, <1, 5, 1>, <0, 5, 1>, <0, 4, 1>
pigment { White }
}
polygon { //side 5
5, // number of vertices
<0, 4, 0>, <1, 4, 0>, <1, 4, 1>, <0, 4, 1>, <0, 4, 0>
pigment { White }
}
polygon { //side 6
5, // number of vertices
<0, 4, 0>, <0, 4, 1>, <1, 4, 1>, <0, 5, 0>, <0, 4, 0>
pigment { White }
}
// Block 8.2
polygon { //side 1
5, // number of vertices
<0, 4, 2>, <1, 4, 2>, <1, 5, 2>, <0, 5, 2>, <0, 4, 2>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<1, 4, 2>, <1, 4, 3>, <1, 5, 3>, <1, 5, 2>, <1, 4, 2>
pigment { Blue }
}
polygon { //side 3
5, // number of vertices
<0, 5, 2>, <1, 5, 2>, <1, 5, 3>, <0, 5, 3>, <0, 5, 2>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<0, 4, 3>, <1, 4, 3>, <1, 5, 3>, <0, 5, 3>, <0, 4, 3>
pigment { White }
}
polygon { //side 5
5, // number of vertices
<0, 4, 2>, <1, 4, 2>, <1, 4, 3>, <0, 4, 3>, <0, 4, 2>
pigment { White }
}
polygon { //side 6
5, // number of vertices
<0, 4, 2>, <0, 4, 3>, <1, 4, 3>, <0, 5, 2>, <0, 4, 2>
pigment { White }
}
// Block 9
polygon { //side 1
5, // number of vertices
<0, 5, 0>, <1, 5, 0>, <1, 6, 0>, <0, 6, 0>, <0, 5, 0>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<1, 5, 0>, <1, 5, 1>, <1, 6, 1>, <1, 6, 0>, <1, 5, 0>
pigment { Blue }
}
polygon { //side 3
5, // number of vertices
<0, 6, 0>, <1, 6, 0>, <1, 6, 1>, <0, 6, 1>, <0, 6, 0>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<0, 5, 1>, <1, 5, 1>, <1, 6, 1>, <0, 6, 1>, <0, 5, 1>
pigment { White }
}
polygon { //side 5
5, // number of vertices
<0, 5, 0>, <1, 5, 0>, <1, 5, 1>, <0, 5, 1>, <0, 5, 0>
pigment { White }
}
polygon { //side 6
5, // number of vertices
<0, 5, 0>, <0, 5, 1>, <1, 5, 1>, <0, 6, 0>, <0, 5, 0>
pigment { White }
}
// Block 10
polygon { //side 1
5, // number of vertices
<1, 5, 0>, <2, 5, 0>, <2, 6, 0>, <1, 6, 0>, <1, 5, 0>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<2, 5, 0>, <2, 5, 1>, <2, 6, 1>, <2, 6, 0>, <2, 5, 0>
pigment { Blue }
}
polygon { //side 3
5, // number of vertices
<1, 6, 0>, <2, 6, 0>, <2, 6, 1>, <1, 6, 1>, <1, 6, 0>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<1, 5, 1>, <2, 5, 1>, <2, 6, 1>, <1, 6, 1>, <1, 5, 1>
pigment { White }
}
polygon { //side 5
5, // number of vertices
<1, 5, 0>, <2, 5, 0>, <2, 5, 1>, <1, 5, 1>, <1, 5, 0>
pigment { White }
}
polygon { //side 6
5, // number of vertices
<1, 5, 0>, <1, 5, 1>, <2, 5, 1>, <1, 6, 0>, <1, 5, 0>
pigment { White }
}
// Block 11
polygon { //side 1
5, // number of vertices
<2, 5, 2>, <3, 5, 2>, <3, 6, 2>, <2, 6, 2>, <2, 5, 2>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<3, 5, 2>, <3, 5, 3>, <3, 6, 3>, <3, 6, 2>, <3, 5, 2>
pigment { Blue}
}
polygon { //side 3
5, // number of vertices
<2, 6, 2>, <3, 6, 2>, <3, 6, 3>, <2, 6, 3>, <2, 6, 2>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<2, 5, 2>, <3, 5, 2>, <3, 6, 2>, <2, 6, 2>, <2, 5, 2>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<2, 5, 2>, <3, 5, 2>, <3, 5, 3>, <2, 5, 3>, <2, 5, 2>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<2, 5, 2>, <2, 5, 3>, <3, 5, 3>, <2, 6, 2>, <2, 5, 2>
pigment { White}
}
// Block 11.2
polygon { //side 1
5, // number of vertices
<2, 5, 0>, <3, 5, 0>, <3, 6, 0>, <2, 6, 0>, <2, 5, 0>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<3, 5, 0>, <3, 5, 1>, <3, 6, 1>, <3, 6, 0>, <3, 5, 0>
pigment { Blue}
}
polygon { //side 3
5, // number of vertices
<2, 6, 0>, <3, 6, 0>, <3, 6, 1>, <2, 6, 1>, <2, 6, 0>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<2, 5, 0>, <3, 5, 0>, <3, 6, 0>, <2, 6, 0>, <2, 5, 0>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<2, 5, 0>, <3, 5, 0>, <3, 5, 1>, <2, 5, 1>, <2, 5, 0>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<2, 5, 0>, <2, 5, 1>, <3, 5, 1>, <2, 6, 0>, <2, 5, 0>
pigment { White}
}
// Block 11.3
polygon { //side 1
5, // number of vertices
<2, 5, 1>, <3, 5, 1>, <3, 6, 1>, <2, 6, 1>, <2, 5, 1>
pigment { White }
}
polygon { //side 2
5, // number of vertices
<3, 5, 1>, <3, 5, 2>, <3, 6, 2>, <3, 6, 1>, <3, 5, 1>
pigment { Blue}
}
polygon { //side 3
5, // number of vertices
<2, 6, 1>, <3, 6, 1>, <3, 6, 2>, <2, 6, 2>, <2, 6, 1>
pigment { White }
}
polygon { //side 4
5, // number of vertices
<2, 5, 1>, <3, 5, 1>, <3, 6, 1>, <2, 6, 1>, <2, 5, 1>
pigment { White}
}
polygon { //side 5
5, // number of vertices
<2, 5, 1>, <3, 5, 1>, <3, 5, 2>, <2, 5, 2>, <2, 5, 1>
pigment { White}
}
polygon { //side 6
5, // number of vertices
<2, 5, 1>, <2, 5, 2>, <3, 5, 2>, <2, 6, 1>, <2, 5, 1>
pigment { White}
}
#end
Thanks!
Post a reply to this message
|
|