File:Rotating raytraced ball and stick model of a dodecahedron.ogv
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
No higher resolution available.
Rotating_raytraced_ball_and_stick_model_of_a_dodecahedron.ogv (Ogg Theora video file, length 14 s, 720 × 540 pixels, 1.61 Mbps, file size: 2.77 MB)
File information
Structured data
Captions
Summary
[edit]DescriptionRotating raytraced ball and stick model of a dodecahedron.ogv |
English: A rotating raytraced ball and stick model of a dodecahedron, made with POV-Ray. |
Date | |
Source | Own work |
Author | Prateek Karandikar |
Other versions | A 4000x3000 still image : File:Raytraced ball and stick model of a dodecahedron.png |
Source Code
[edit]The include file vert_edge.inc:
#declare SteelBall = sphere{
0 , 0.2
texture{
pigment{color rgb <224/255, 223/255, 219/255>}
finish{
reflection 0.7
diffuse 0.5
specular 1
roughness 0.005
metallic
}
}
photons{
target
reflection on
refraction on
}
}
#macro Rod(End1, End2, Col)
cylinder{
End1, End2, 0.1
texture{
pigment{Col}
}
}
#end
The main source:
#include "colors.inc"
#include "vert_edge.inc"
#declare phi = (1+sqrt(5))/2;
camera{
location -13*z
look_at 0
angle 25
}
light_source{
<-5,5,-5>
White
area_light
0.3*y, 0.3*z, 15,15
adaptive 2
photons{
reflection on
refraction on
}
}
light_source{
<5,5,-5>
White
area_light
0.3*y, 0.3*z, 15,15
adaptive 2
photons{
reflection on
refraction on
}
}
light_source{
0
0.4*White
photons{
reflection on
refraction on
}
}
//6 groups each of 5 edges. Consider the inscribed cube, as in http://commons.wikimedia.org/wiki/File:Dodecahedron-with-inscribed-cube.svg . Each group consists of a "hut" made on one face of the cube
#macro EdgeGroup(Face, HutPar, HutPerp, Col) //Face identifies the face of the cube under consideration. HutPar is parallel to the roof of the "hut", and HutPerp is perpendicular to it. All these should be unit vectors. HutPar and HutPerp can be multiplied by -1 without affecting the output
Rod(phi*Face + (1/phi)*HutPar, phi*Face - (1/phi)*HutPar, Col) //The roof of the hut
Rod(phi*Face + (1/phi)*HutPar, Face + HutPar + HutPerp, Col)
Rod(phi*Face + (1/phi)*HutPar, Face + HutPar - HutPerp, Col)
Rod(phi*Face - (1/phi)*HutPar, Face - HutPar + HutPerp, Col)
Rod(phi*Face - (1/phi)*HutPar, Face - HutPar - HutPerp, Col)
#end
#declare Mone = array[2] {1,-1};
#declare Mphi = array[2] {phi,-phi};
#declare Mphirec = array[2] {1/phi,-1/phi};
union{
#declare i=0; #while (i<2)
#declare j=0; #while (j<2)
#declare k=0; #while (k<2)
object{SteelBall translate <Mone[i], Mone[j], Mone[k]>}
#declare k=k+1; #end
#declare j=j+1; #end
#declare i=i+1; #end
#declare i=0; #while (i<2)
#declare j=0; #while (j<2)
object{SteelBall translate <0, Mphirec[i], Mphi[j]>}
#declare j=j+1; #end
#declare i=i+1; #end
#declare i=0; #while (i<2)
#declare j=0; #while (j<2)
object{SteelBall translate <Mphirec[i], Mphi[j], 0>}
#declare j=j+1; #end
#declare i=i+1; #end
#declare i=0; #while (i<2)
#declare j=0; #while (j<2)
object{SteelBall translate <Mphi[j], 0, Mphirec[i]>}
#declare j=j+1; #end
#declare i=i+1; #end
EdgeGroup(x,z,y, Red)
EdgeGroup(-x,z,y, Blue)
EdgeGroup(z,y,x, Green)
EdgeGroup(-z,y,x, Yellow)
EdgeGroup(y,x,z, Orange)
EdgeGroup(-y,x,z, Med_Purple)
rotate <15,10,15>
rotate clock*360*y
}
global_settings{
max_trace_level 20
photons{count 100000}
radiosity{recursion_limit 10}
}
Render Statistics
[edit]Scene Statistics Finite objects: 50 Infinite objects: 0 Light sources: 3 Total: 53 Render Statistics Image Resolution 720 x 540 ---------------------------------------------------------------------------- Pixels: 140202000 Samples: 295679007 Smpls/Pxl: 2.11 Rays: 420840744 Saved: 4887 Max Level: 12/20 ---------------------------------------------------------------------------- Ray->Shape Intersection Tests Succeeded Percentage ---------------------------------------------------------------------------- Cone/Cylinder 33877295166 2792090409 8.24 Sphere 13858707512 4788385938 34.55 Bounding Box 287114274211 91854800843 31.99 Light Buffer 1442126257 717381463 49.74 Vista Buffer 3066335021 1843504464 60.12 ---------------------------------------------------------------------------- Calls to Noise: 0 Calls to DNoise: 3600 ---------------------------------------------------------------------------- Shadow Ray Tests: 26706086655 Succeeded: 3628453998 Reflected Rays: 110414975 ---------------------------------------------------------------------------- Radiosity samples calculated: 652 (0.11 %) Radiosity samples reused: 600914 ---------------------------------------------------------------------------- Number of photons shot: 7488723 Surface photons stored: 554010 Priority queue insert: 9856774408 Priority queue remove: 5699 Gather function called: 200151748 ---------------------------------------------------------------------------- Smallest Alloc: 9 bytes Largest Alloc: 327688 bytes Peak memory used: 1077764 bytes Total Scene Processing Times Parse Time: 0 hours 0 minutes 10 seconds (10 seconds) Photon Time: 0 hours 3 minutes 2 seconds (182 seconds) Render Time: 63 hours 57 minutes 36 seconds (230256 seconds) Total Time: 64 hours 0 minutes 48 seconds (230448 seconds)
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following licenses:
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.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
This file is licensed under the Creative Commons Attribution-Share Alike Attribution-Share Alike 4.0 International, 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic 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.
You may select the license of your choice.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 09:56, 23 December 2010 | 14 s, 720 × 540 (2.77 MB) | Kprateek88 (talk | contribs) | (uploaded a wrong file earlier) | |
09:52, 23 December 2010 | 14 s, 720 × 540 (2.78 MB) | Kprateek88 (talk | contribs) | {{Information |Description={{en|1=A rotating raytraced ball and stick model of a dodecahedron, made with POV-Ray.}} |Source=Own work |Author=Prateek Karandikar |Date=2010-12-19 |Permission= |other_versions=A 4000x3000 still image : [[:File:Raytraced ball |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
Transcode status
Update transcode statusMetadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Software used | Xiph.Org libtheora 1.1 20090822 (Thusnelda) |
---|