File:Bcc-animated.gif

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Bcc-animated.gif(800 × 600 pixels, file size: 216 KB, MIME type: image/gif, looped, 9 frames, 9.0 s)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: Animated construction of the Wigner–Seitz cell of a bcc lattice. Source code, rendering and animation by Matthias Schönborn, Berlin.
Deutsch: Animierte Konstruktion der Wigner-Seitz-Zelle eines bcc-Gitters. Quellcode, rendern und Animation von Matthias Schönborn, Berlin.
Date
Source Own work
Author Saney

Povray-Code:

#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}}

Rendering via:

$ povray +p +H600 +W800 Antialias=1 bcc.pov +Obcc09.png
$ mogrify -format gif bcc09.png

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:

$ 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

Licensing

[edit]
Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current08:46, 23 November 2010Thumbnail for version as of 08:46, 23 November 2010800 × 600 (216 KB)Saney~commonswiki (talk | contribs){{Information |Description={{en|1=Animated construction of the first Brillouin-zone of a bcc lattice. Source code, rendering and animation by Matthias Schönborn, Berlin.}} {{de|1=Animierte Konstruktion der ersten Brillouin-Zone eines bcc-Gitters. Quellco

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: