File:Reeb foliation half-torus POV-Ray.png

出自Wikimedia Commons
跳至導覽 跳至搜尋

原始檔案(1,000 × 800 像素,檔案大小:420 KB,MIME 類型:image/png

說明

說明

添加單行說明來描述出檔案所代表的內容

摘要

[編輯]
描述
English: Reeb foliation, generated with gnuplot and POV-Ray (see details below)
日期
來源 自己的作品
作者 Ilya Voyager
 
本PNG 點陣圖使用Gnuplot創作。
 
圖形使用Persistence of Vision創作。

I used gnuplot 4.0 with this patch to produce POV-Ray sources, than tweeked it slightly and rendered. The following sources are in public domain as well as the image.

set term povray
set output "~/prj/wikipedia/reebfoliation/torus.pov"
set view 40,280
set parametric
set iso 15
unset key
unset border
r=3
fx1(u,v)=(pi/2*sin(v)+r)*cos(u/(pi/2-0.3)*2*pi)
fy1(u,v)=(pi/2*sin(v)+r)*sin(u/(pi/2-0.3)*2*pi)
fz1(u,v)=pi/2*cos(v) 
fx2(u,v,n)=(abs(u)*sin(v)+r)*cos(1/cos(u)+2*n*pi/6)
fy2(u,v,n)=(abs(u)*sin(v)+r)*sin(1/cos(u)+2*n*pi/6)
fz2(u,v,n)=abs(u)*cos(v)
splot [0:pi/2-0.3] [2*pi/4:6*pi/4] \
fx1(u,v), fy1(u,v), fz1(u,v) w l lt 6, \
fx1(u,v), fy1(u,v), fz1(u,v) w d lt 6,\
fx2(u,v,0), fy2(u,v,0), fz2(u,v,0) w l lt 2, \
fx2(u,v,0), fy2(u,v,0), fz2(u,v,0) w d lt 2,\
fx2(u,v,1), fy2(u,v,1), fz2(u,v,3) w l lt 3, \
fx2(u,v,1), fy2(u,v,1), fz2(u,v,3) w d lt 3,\
fx2(u,v,2), fy2(u,v,2), fz2(u,v,3) w l lt 2, \
fx2(u,v,2), fy2(u,v,2), fz2(u,v,3) w d lt 2,\
fx2(u,v,3), fy2(u,v,3), fz2(u,v,3) w l lt 3, \
fx2(u,v,3), fy2(u,v,3), fz2(u,v,3) w d lt 3, \
fx2(u,v,4), fy2(u,v,4), fz2(u,v,12) w l lt 2, \
fx2(u,v,4), fy2(u,v,4), fz2(u,v,12) w d lt 2, \
fx2(u,v,5), fy2(u,v,5), fz2(u,v,15) w l lt 3, \
fx2(u,v,5), fy2(u,v,5), fz2(u,v,3) w d lt 3,\
fx2(u,v,6), fy2(u,v,6), fz2(u,v,15) w l lt 2, \
fx2(u,v,6), fy2(u,v,6), fz2(u,v,3) w d lt 2,\
fx2(u,v,7), fy2(u,v,7), fz2(u,v,15) w l lt 3, \
fx2(u,v,7), fy2(u,v,7), fz2(u,v,3) w d lt 3

The following patch is then applied to pov source:

--- torus-orig.pov	2010-03-13 17:09:46.000000000 +0300
+++ torus.pov	2010-03-13 21:10:44.000000000 +0300
@@ -3,22 +3,22 @@
 #include "colors.inc" 
 #include "shapes.inc" 
 #include "textures.inc" 
-camera{ location <-291.511,-30.8094,-403.022>
+camera{ location <-291.511,-30.8094,-703.022>
 sky <0,0,-1>
-look_at <23,25,-18>
-angle 13}
+look_at <23,25,-33>
+angle 5}
 background{ color White }
-object{ Plane_XY texture{ PinkAlabaster }}
+//object{ Plane_XY texture{ pigment {White}  }}
 light_source{ <-291.511, -30.8094, -403.022> color 0.9* White }
 light_source{ <-116.604,-12.3238,-282.116> color 0.9* White }
 //color_definition
 //#declare Pcolor0 = material{texture{pigment{color Red filter 0.6} finish{ambient 0.05 phong 0.8}}}
 #declare Pcolor1 = material{texture{pigment{color Red}}}
-#declare Pcolor2 = material{texture{pigment{color Green}}}
-#declare Pcolor3 = material{texture{pigment{color Blue}}}
+#declare Pcolor2 = material{texture{pigment{color rgbt<0.5,0.9,0.5,0>}}}
+#declare Pcolor3 = material{texture{pigment{color rgbt<0.5,0.5,0.9,0>}}}
 #declare Pcolor4 = material{texture{pigment{color Magenta}}}
 #declare Pcolor5 = material{texture{pigment{color SkyBlue}}}
-#declare Pcolor6 = material{texture{pigment{color Brown}}}
+#declare Pcolor6 = material{texture{pigment{color rgbt<0.9,0.4,0.5,0>}}}
 #declare Pcolor7 = material{texture{pigment{color Yellow}}}
 #declare Pcolor8 = material{texture{pigment{color Orange}}}
 #declare Grid = union{
@@ -65,9 +65,9 @@
 cylinder{<0,25,0><50,25,0>,0.2}
 cylinder{<0,37.5,0><50,37.5,0>,0.2}
 }
-object{ Grid texture{DMFWood6}}
-text{ ttf "crystal.ttf","-5",0.2,0
-pigment{White}
+//object{ Grid texture{DMFWood6}}
+//text{ ttf "crystal.ttf","-5",0.2,0
+/*pigment{White}
 scale 4
 rotate<-40,0,280>
 translate<3,-7,-1>
@@ -108,6 +108,7 @@
 translate<-5,55,-37>
 finish{ambient 3}
 }
+*/
 #declare Plot1 = union{
 cylinder{<47.854,25,-36.6667>,<47.808,26.4495,-36.6667>,0.2}
 cylinder{<47.808,26.4495,-36.6667>,<47.6701,27.8931,-36.6667>,0.2}
@@ -38492,4 +38493,3 @@
 triangle{<22.5996,16.6939,-36.6667>,<21.481,17.0323,-36.6667>,<22.5554,16.5408,-31.9537>}
 }
 object{Plot18 material{Pcolor3}}
-

授權條款

[編輯]
Creative Commons CC-Zero 此檔案在創用CC CC0 1.0 通用公有領域貢獻宣告之下分發。
在此宣告之下分發本作品者,已依據各國著作權法,在全世界放棄其對本作品所擁有的著作權及所有相關相似的法律權利,從而將本作品貢獻至公有領域。您可以複製、修改、分發和演示該作品,用於任何商業用途,所有這些都不需要請求授權。

檔案歷史

點選日期/時間以檢視該時間的檔案版本。

日期/時間縮⁠圖尺寸使用者備⁠註
目前2010年3月13日 (六) 18:19於 2010年3月13日 (六) 18:19 版本的縮圖1,000 × 800(420 KB)Ilya Voyager留言 | 貢獻Tweeks with colors
2010年3月13日 (六) 16:56於 2010年3月13日 (六) 16:56 版本的縮圖1,000 × 800(315 KB)Ilya Voyager留言 | 貢獻Some tweeking with viewpoint, colors are more calm
2010年3月13日 (六) 14:12於 2010年3月13日 (六) 14:12 版本的縮圖1,000 × 800(241 KB)Ilya Voyager留言 | 貢獻{{Information |Description={{en|1=Reeb foliation, generated with gnuplot and POV-Ray (see details below)}} |Source={{own}} |Author=Ilya Voyager |Date=2010-03-13 |Permission= |other_versions= }} {{gnuplot}} {{povray}} I used gnuplot 4

沒有使用此檔案的頁面。

全域檔案使用狀況

以下其他 wiki 使用了這個檔案: