File:AGK-pentacube.png

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

Original file (800 × 800 pixels, file size: 99 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents
Description A chiral pentacube
Source Povray image made by Andrew Kepert for wikipedia.
Author User AndrewKepert on en.wikipedia
Permission
(Reusing this file)
AndrewKepert at the English-language Wikipedia, the copyright holder of this work, hereby publishes it under the following license:
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.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
Attribution: AndrewKepert
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.
Other versions

Originally from en.wikipedia; description page is (was) here

* 05:32, 24 October 2005 [[:en:User:AndrewKepert|AndrewKepert]] 200×200 (17,049 bytes) <span class="comment">(Povray image made by me (AndrewKepert) for wikipedia. Source under LGPL to follow)</span>

Source

[edit]

Source under LGPL below

// Povray source for a wikipedia image of a polycube
// By Andrew Kepert, October 2005
// License : LGPL

#include "colors.inc"
#declare eps=0.001;


background{White}

#declare ringn=31;
#declare ang=0;
#while (ang < 359)
    light_source {<0,0,9000> rgb .7/ringn rotate 40*x rotate ang*z}
    #declare ang=ang+360/ringn;
#end
light_source { 
    <0,0,1000> .8*White 
    area_light <100, 0, 0>, <100, 0, 5>, 7,7    
    // adaptive 1
    rotate 55*x rotate 15*z
    }

#declare r=0.05;
#declare ptA=<r,r,r>;
#declare ptB=<1-r,r,r>;
#declare ptC=<1-r,r,1-r>;
#declare ptD=<r,r,1-r>;
#declare cubiecentre=<0.5,0.5,0.5>;

#declare cubiefrag=union{
    cylinder { ptA,ptB,r }
    sphere { ptB,r }
    cylinder  { ptB,ptC,r }
    sphere { ptC,r }
    cylinder { ptC,ptD,r }
    }
#declare cubie=union{
    box { <r,r,0>,<1-r,1-r,1> }
    box { <r,r,0>,<1-r,1-r,1> translate -cubiecentre rotate 90*x translate cubiecentre}
    box { <r,r,0>,<1-r,1-r,1> translate -cubiecentre rotate 90*y translate cubiecentre}
#if(1)
    object { cubiefrag }
    object { cubiefrag translate -cubiecentre rotate 90*z translate cubiecentre }
    object { cubiefrag translate -cubiecentre rotate 180*z translate cubiecentre }
    object { cubiefrag translate -cubiecentre rotate 270*z translate cubiecentre }
#end
    }



//=================== floor
#if (1)
plane {
    z, -0.1
    pigment {checker .95*White, 1*White scale 2.5}
    finish {
        ambient .2
        diffuse .8
        }
    }
#end

union {
    object { cubie translate <0,0,0> }
    object { cubie translate <1,0,0> }
    object { cubie translate <0,1,0> }
    object { cubie translate <0,0,1> }
    object { cubie translate <0,-1,1> }
    pigment { rgb <.5,.8,1> }
    finish { phong 0.8 diffuse 0.6 ambient 0.2 }
    }
    


#if (0) // axes for draft
#declare axislength=7;
cylinder { <0,0,0>,<axislength,0,0>,0.1 texture { pigment { colour rgb <1,0,0> } finish { ambient 1 } } }
cylinder { <0,0,0>,<0,axislength,0>,0.1 texture { pigment { colour rgb <0,1,0> } finish { ambient 1 } } }
cylinder { <0,0,0>,<0,0,axislength>,0.1 texture { pigment { colour rgb <0,0,1> } finish { ambient 1 } } }
#end

//======================== camera stuff
#declare camera_elevation=25;
#declare camera_bearing=-35;
#declare camera_dist=6;
#declare camera_ratio=1/2;
camera {
    perspective
    direction -x
    right y*camera_ratio
    up z*camera_ratio
    location camera_dist*x
    rotate -camera_elevation*y  
    rotate camera_bearing*z
    translate <1,0,1>
}

File history

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

Date/TimeThumbnailDimensionsUserComment
current03:01, 11 July 2007Thumbnail for version as of 03:01, 11 July 2007800 × 800 (99 KB)Jleedev (talk | contribs)Larger version.
18:33, 25 August 2006Thumbnail for version as of 18:33, 25 August 2006200 × 200 (17 KB)Liftarn (talk | contribs){{Information| |Description=A chiral pentacube |Source=Povray image made by Andrew Kepert for wikipedia. |Date= |Author=User AndrewKepert on [http://en.wikipedia.org en.wikipedia] |Permission={{GFDL-user

The following page uses this file:

File usage on other wikis

The following other wikis use this file: