Keywords: Bcc-animated.gif en Animated construction of the Wigner “Seitz cell of a bcc lattice Source code rendering and animation by Matthias Schönborn Berlin de Animierte Konstruktion der Wigner-Seitz-Zelle eines bcc-Gitters Quellcode rendern und Animation von Matthias Schönborn Berlin own Saney 2010-11-22 Povray-Code <pre> include colors inc background color White light_source <-3000 3000 -3000> color White shadowless light_source <-2800 2000 -2400> color White shadowless light_source <-0 446532 5 -0 36543> color shadowless camera location <-0 7 3 5 -2 9> look_at <1 1 1> sphere <0 0 0> 0 05 pigment color Blue sphere <2 0 0> 0 05 pigment color Blue sphere <0 2 0> 0 05 pigment color Blue sphere <0 0 2> 0 05 pigment color Blue sphere <2 2 0> 0 05 pigment color Blue sphere <2 0 2> 0 05 pigment color Blue sphere <0 2 2> 0 05 pigment color Blue sphere <2 2 2> 0 05 pigment color Blue sphere <1 1 1> 0 05 pigment color Blue cylinder <0 0 0> <0 0 2> 0 01 pigment color Gray cylinder <0 0 0> <0 2 0> 0 01 pigment color Gray cylinder <0 0 0> <2 0 0> 0 01 pigment color Gray cylinder <0 0 0> <2 2 2> 0 01 pigment color Gray cylinder <0 0 2> <2 0 2> 0 01 pigment color Gray cylinder <0 0 2> <0 2 2> 0 01 pigment color Gray cylinder <0 2 0> <2 2 0> 0 01 pigment color Gray cylinder <0 2 0> <0 2 2> 0 01 pigment color Gray cylinder <0 2 0> <2 0 2> 0 01 pigment color Gray cylinder <0 2 2> <2 2 2> 0 01 pigment color Gray cylinder <2 0 0> <2 2 0> 0 01 pigment color Gray cylinder <2 0 0> <0 2 2> 0 01 pigment color Gray cylinder <2 0 0> <2 0 2> 0 01 pigment color Gray cylinder <2 0 2> <2 2 2> 0 01 pigment color Gray cylinder <2 2 0> <2 2 2> 0 01 pigment color Gray cylinder <2 2 0> <0 0 2> 0 01 pigment color Gray declare subbox box <-0 866 -1 5 -1 5> <0 866 1 5 1 5> declare greenbox difference box <0 0 0> <2 2 2> object subbox rotate <0 0 -45> rotate <0 -45 0> translate <0 2 0> object subbox rotate <0 0 45> rotate <0 45 0> translate <2 2 0> object subbox rotate <0 0 45> rotate <0 -45 0> translate <2 2 2> object subbox rotate <0 0 -45> rotate <0 45 0> translate <0 2 2> object subbox rotate <0 0 45> rotate <0 -45 0> object subbox rotate <0 0 -45> rotate <0 45 0> translate <2 0 0> object subbox rotate <0 0 -45> rotate <0 -45 0> translate <2 0 2> object subbox rotate <0 0 45> rotate <0 45 0> translate <0 0 2> object greenbox pigment color Green transmit 0 4 </pre> Rendering via <pre> povray +p +H600 +W800 Antialias 1 bcc pov +Obcc09 png mogrify -format gif bcc09 png</pre> To animate uncomment the substraction off the original cube line by line and call the files bcc01 pov bcc02 pov and so forth Animate via <pre> for i in 0 1 2 3 4 5 6 7 8 9; do povray +p +H600 +W800 +Q11 Antialias 1 +Obcc0 i png bcc0 i pov; done mogrify -format gif bcc0 png convert -delay 100 bcc0 gif -loop 0 bcc-animated gif</pre> Wigner-Seitz cell Animated GIF |