קובץ:Rotating raytraced ball and stick model of a dodecahedron.ogv

תוכן הדף אינו נתמך בשפות אחרות.
מתוך ויקיפדיה, האנציקלופדיה החופשית

Rotating_raytraced_ball_and_stick_model_of_a_dodecahedron.ogv(קובץ וידאו Theora של Ogg, באורך 14 שניות, 720 × 540 פיקסלים, 1.61 מגה־ביטים בשנייה, גודל הקובץ: 2.77 מ"ב)

ויקישיתוף זהו קובץ שמקורו במיזם ויקישיתוף. תיאורו בדף תיאור הקובץ המקורי (בעברית) מוצג למטה.

תקציר

תיאור
English: A rotating raytraced ball and stick model of a dodecahedron, made with POV-Ray.
תאריך יצירה
מקור נוצר על־ידי מעלה היצירה
יוצר Prateek Karandikar
גרסאות אחרות A 4000x3000 still image : File:Raytraced ball and stick model of a dodecahedron.png

Source Code

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

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)

רישיון

אני, בעל זכויות היוצרים על היצירה הזאת, מפרסם אותה בזאת תחת הרישיונות הבאים:
GNU head מוענקת בכך הרשות להעתיק, להפיץ או לשנות את המסמך הזה, לפי תנאי הרישיון לשימוש חופשי במסמכים של גנו, גרסה 1.2 או כל גרסה מאוחרת יותר שתפורסם על־ידי המוסד לתוכנה חופשית; ללא פרקים קבועים, ללא טקסט עטיפה קדמית וללא טקסט עטיפה אחורית. עותק של הרישיון כלול בפרק שכותרתו הרישיון לשימוש חופשי במסמכים של גנו.
w:he:Creative Commons
ייחוס שיתוף זהה
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International, 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic license.
הנכם רשאים:
  • לשתף – להעתיק, להפיץ ולהעביר את העבודה
  • לערבב בין עבודות – להתאים את העבודה
תחת התנאים הבאים:
  • ייחוס – יש לתת ייחוס הולם, לתת קישור לרישיון, ולציין אם נעשו שינויים. אפשר לעשות את זה בכל צורה סבירה, אבל לא בשום צורה שמשתמע ממנה שמעניק הרישיון תומך בך או בשימוש שלך.
  • שיתוף זהה – אם תיצרו רמיקס, תשנו, או תבנו על החומר, חובה עליכם להפיץ את התרומות שלך לפי תנאי רישיון זהה או תואם למקור.
הנכם מוזמנים לבחור את הרישיון הרצוי בעיניכם.

כיתובים

נא להוסיף משפט שמסביר מה הקובץ מייצג

פריטים שמוצגים בקובץ הזה

מוצג

היסטוריית הקובץ

ניתן ללחוץ על תאריך/שעה כדי לראות את הקובץ כפי שנראה באותו זמן.

תאריך/שעהתמונה ממוזערתממדיםמשתמשהערה
נוכחית12:56, 23 בדצמבר 201014 שניות, 720 × 540 (2.77 מ"ב)Kprateek88(uploaded a wrong file earlier)
12:52, 23 בדצמבר 201014 שניות, 720 × 540 (2.78 מ"ב)Kprateek88{{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

אין בוויקיפדיה דפים המשתמשים בקובץ זה.

מטא־נתונים