File:Truncated octahedra.png

From testwiki
Jump to navigation Jump to search
    Original file (3,000 × 3,000 pixels, file size: 502 KB, MIME type: image/png)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

    Description
    English: Tesselation of space using truncated octahedra
    Français : Pavage de l'espace par empilement d'octaèdres tronqués.
    Date (UTC)
    Source Own work based on: Truncated octahedra.jpg by AndrewKepert
    Author Morn
    Other versions
    PNG development
    InfoField
     This image was created with POV-Ray.


    This is a retouched picture, which means that it has been digitally altered from its original version. Modifications: re-rendered at higher resolution. The original can be viewed here: Truncated octahedra.jpg: .

    Licensing

    I, the copyright holder of this work, hereby publish it under the following licenses:
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
    • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
    This licensing tag was added to this file as part of the GFDL licensing update.
    GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
    You may select the license of your choice.

    Povray code

     #include "colors.inc"
     #include "math.inc"
     #include "rand.inc"
     
     //#include "truncated_octahedron.povi"
     #declare A=sqrt(3);
     #declare truncoct =
     intersection {
       box { < -2,-2,-2>, <2,2,2> }
       plane { < 1, 1, 1>, A }
       plane { < 1, 1,-1>, A }
       plane { < 1,-1, 1>, A }
       plane { < 1,-1,-1>, A }
       plane { <-1, 1, 1>, A }
       plane { <-1, 1,-1>, A }
       plane { <-1,-1, 1>, A }
       plane { <-1,-1,-1>, A }
       }
     //end of inclusion "truncated_octahedron.povi"
     
     global_settings{ ambient_light White }
     background { color White }
     
     #declare LX = 60;
     #declare LZ = 100;
     light_source { <LX,-LX,LZ> color White}
     light_source { <-LX,LX,LZ> color White}
     light_source { <LX,LX,LZ> color White}
     light_source { <-LX,-LX,LZ> color White}
     
     #declare extent = 3 ;
     #declare i = -extent;
     #while ( i <= extent )
       #declare j = -extent;
       #while ( j <= extent )
       #declare k = -extent;
         #while ( k <= extent )
           #if ( even(i+j) & even(i+k) & ( i+j+2*k<3*extent ) & Prob(0.95, RdmD))
             #declare RCOLOUR = rgb < Rand_Normal( 0.6, 0.2, RdmA ) ,
                   Rand_Normal( 0.4, 0.2, RdmB ) ,
                   Rand_Normal( 0.6, 0.2, RdmC ) > ; 
             #declare COLANG = rand(RdmA)*2*3.14159;
             object { truncoct
               scale 0.48
               translate < i, j, k >
               texture {
                 pigment { color RCOLOUR }
                 finish { ambient 0.3 diffuse 0.3 phong Rand_Normal( 0.5, 0.2, RdmC ) }
                 }
               }
           #end // if
           #declare k = k+1;
         #end // while k
         #declare j = j+1;
       #end // while j
       #declare i = i+1;
     #end // while i
     
     camera {
       location 28*y
       direction -y
       right 0.4*x
       up 0.4*z
       rotate 20*x
       rotate -30*z
       translate -0.5*z
       }
    

    Original upload log

    This image is a derivative work of the following images:

    • File:Truncated_octahedra.jpg licensed with Cc-by-sa-3.0-migrated, GFDL
      • 2009-11-15T04:09:17Z Tomruen 256x256 (12080 Bytes) Reverted to version as of 16:48, 18 March 2006
      • 2009-10-28T04:51:39Z SharkD 1024x1024 (152571 Bytes) Brightened things up a bit.
      • 2006-03-18T16:48:00Z Maksim 256x256 (12080 Bytes) La bildo estas kopiita de wikipedia:en. La originala priskribo estas: Tesselation of space using truncated octahedra. See [[truncated octahedron]]. [[Category:Honeycomb image]] Created by [[User:AndrewKepert|Andrew Kepert]

    Uploaded with derivativeFX

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    5 August 2012

    File history

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

    Date/TimeThumbnailDimensionsUserComment
    current10:54, 7 July 2015Thumbnail for version as of 10:54, 7 July 20153,000 × 3,000 (502 KB)wikimediacommons>CmdrjamesonCompressed with pngout. Reduced by 205kB (29% decrease).

    There are no pages that use this file.