File:Raytraced ball and stick model of an icosahedron.png

מתוך Wikimedia Commons
קפיצה לניווט קפיצה לחיפוש

לקובץ המקורי(4,000 × 3,000 פיקסלים, גודל הקובץ: 1.26 מ"ב, סוג MIME‏: image/png)

כיתובים

כיתובים

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

תקציר

[עריכה]
תיאור
English: A raytraced ball and stick model of an icosahedron, made with POV-Ray.
תאריך יצירה
מקור נוצר על־ידי מעלה היצירה
יוצר Prateek Karandikar

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 -15*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
	}
}

#macro EdgeGroup(One, Zero, Phi, Col) //One, Zero, and Phi should all be unit vectors
	Rod(One + phi*Phi, -One + phi*Phi, Col)
	Rod(One + phi*Phi, phi*Zero + Phi, Col)
	Rod(-One + phi*Phi, phi*Zero + Phi, Col)
	Rod(One + phi*Phi, -phi*Zero + Phi, Col)
	Rod(-One + phi*Phi, -phi*Zero + Phi, Col)
#end

union{
	//3 groups each of 4 vertices, the vertices of a rectangle
	object{SteelBall translate <1,0,phi>}
	object{SteelBall translate <-1,0,phi>}
	object{SteelBall translate <1,0,-phi>}
	object{SteelBall translate <-1,0,-phi>}
	
	object{SteelBall translate <0,phi,1>}
	object{SteelBall translate <0,phi,-1>}
	object{SteelBall translate <0,-phi,1>}
	object{SteelBall translate <0,-phi,-1>}
	
	object{SteelBall translate <phi,1,0>}
	object{SteelBall translate <phi,-1,0>}
	object{SteelBall translate <-phi,1,0>}
	object{SteelBall translate <-phi,-1,0>}
	
	//6 groups each of 5 edges. A short edge of a rectangle, and the edges of the two triangular faces it is a part of.
	EdgeGroup(x,y,z, Green)
	EdgeGroup(x,y,-z, Red)
	EdgeGroup(y,z,x, Blue)
	EdgeGroup(y,z,-x, Yellow)
	EdgeGroup(z,x,y, Orange)
	EdgeGroup(z,x,-y, Med_Purple)
	rotate <15,15,15>
}

global_settings{
	max_trace_level 20
	photons{count 100000}
	radiosity{recursion_limit 10}
}

רישיון

[עריכה]
אני, בעל זכויות היוצרים על היצירה הזאת, מפרסם אותה בזאת תחת הרישיונות הבאים:
GNU head מוענקת בכך הרשות להעתיק, להפיץ או לשנות את המסמך הזה, לפי תנאי הרישיון לשימוש חופשי במסמכים של גנו, גרסה 1.2 או כל גרסה מאוחרת יותר שתפורסם על־ידי המוסד לתוכנה חופשית; ללא פרקים קבועים, ללא טקסט עטיפה קדמית וללא טקסט עטיפה אחורית. עותק של הרישיון כלול בפרק שכותרתו הרישיון לשימוש חופשי במסמכים של גנו.
w:he:Creative Commons
ייחוס שיתוף זהה
הנכם רשאים:
  • לשתף – להעתיק, להפיץ ולהעביר את העבודה
  • לערבב בין עבודות – להתאים את העבודה
תחת התנאים הבאים:
  • ייחוס – יש לתת ייחוס הולם, לתת קישור לרישיון, ולציין אם נעשו שינויים. אפשר לעשות את זה בכל צורה סבירה, אבל לא בשום צורה שמשתמע ממנה שמעניק הרישיון תומך בך או בשימוש שלך.
  • שיתוף זהה – אם תיצרו רמיקס, תשנו, או תבנו על החומר, חובה עליכם להפיץ את התרומות שלך לפי תנאי רישיון זהה או תואם למקור.
הנכם מוזמנים לבחור את הרישיון הרצוי בעיניכם.

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

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

תאריך/שעהתמונה ממוזערתממדיםמשתמשהערה
נוכחית13:43, 16 בדצמבר 2010תמונה ממוזערת לגרסה מ־13:43, 16 בדצמבר 2010‪3,000 × 4,000‬ (1.26 מ"ב)Kprateek88 (שיחה | תרומות){{Information |Description={{en|1=A raytraced ball and stick model of an icosahedron, made with POV-Ray.}} |Source=Own work |Author=Prateek Karandikar |Date=2010-12-06 |Permission= |other_versions= }} Category:Icosahedron [[Category:Created with Pers

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