File:Gerotor anm.gif

页面内容不支持其他语言。
這個文件來自維基共享資源
维基百科,自由的百科全书

Gerotor_anm.gif(400 × 300像素,文件大小:426 KB,MIME类型:image/gif、​循环、​30帧、​3.0秒)


摘要

描述 Animated POV-Ray Gerotor
日期 2006年5月7日 (原始上传日期)
来源 无法识别来源。根据版权声明推断为其自己的作品。
作者 无法识别作者。根据版权声明推断作者为Ravedave
 
本图片使用POV-Ray创作.

许可协议

我,本作品著作权人,特此采用以下许可协议发表本作品:
GNU head 已授权您依据自由软件基金会发行的无固定段落及封面封底文字(Invariant Sections, Front-Cover Texts, and Back-Cover Texts)的GNU自由文件许可协议1.2版或任意后续版本的条款,复制、传播和/或修改本文件。该协议的副本请见“GNU Free Documentation License”。
w:zh:知识共享
署名 相同方式共享
本文件采用知识共享署名-相同方式共享 3.0 未本地化版本许可协议授权。
您可以自由地:
  • 共享 – 复制、发行并传播本作品
  • 修改 – 改编作品
惟须遵守下列条件:
  • 署名 – 您必须对作品进行署名,提供授权条款的链接,并说明是否对原始内容进行了更改。您可以用任何合理的方式来署名,但不得以任何方式表明许可人认可您或您的使用。
  • 相同方式共享 – 如果您再混合、转换或者基于本作品进行创作,您必须以与原先许可协议相同或相兼容的许可协议分发您贡献的作品。
本许可协议标签作为GFDL许可协议更新的组成部分被添加至本文件。
w:zh:知识共享
署名
本文件采用知识共享署名 2.5 通用许可协议授权。
您可以自由地:
  • 共享 – 复制、发行并传播本作品
  • 修改 – 改编作品
惟须遵守下列条件:
  • 署名 – 您必须对作品进行署名,提供授权条款的链接,并说明是否对原始内容进行了更改。您可以用任何合理的方式来署名,但不得以任何方式表明许可人认可您或您的使用。
您可以选择您需要的许可协议。

Source

Gerotor.pov

//oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo//
//                                                                        //
// Windows users: to start rendering this image, press Alt+G or the 'Run' //
// button on the toobar.                                                  //
//                                                                        //
// Experienced windows users: try right-clicking on the line below ...    //
//                                                                        //
// +w320 +h240
// +w800 +h600 +a0.3 +am2
//                                                                        //
// See the docs for full explanations of new features such as the above.  //
//                                                                        //
//oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo//

//Gerotor by [[:En:User:Ravedave]]
// Copyright: CC-2.5               
//This is my 1st attempt at using POV ray so it is sort of rough. 

#include "colors.inc"
#include "functions.inc"
#include "logo.inc"
#include "textures.inc"
#include "shapes.inc"

// several different gold colors, finishes and textures
#include "golds.inc"

// various metal colors, finishes and textures
// brass, copper, chrome, silver
#include "metals.inc"

global_settings { assumed_gamma 2.2 
max_trace_level 256
max_intersections 128}

                    
#declare Iron2=texture {    
    pigment {color rgb .1}
    finish {
        ambient .5
        reflection .25
        phong 1
        }
    }  
    
#declare Iron=texture {    
    pigment {color rgb .3}
    finish {
        ambient .5
        reflection .25
        phong 1
        }
}       

#declare Iron3=texture {
      pigment {
        wood
    color_map {
        [0 color rgb 0]
        [1 color rgb 1]
        }
        scale <0.05, 0.03, 1>
      }
      finish { phong 1 }
    }      
    
    #declare StripesDepth = 0.000;
#declare AluminiumBase = 
texture {
 
    pigment { rgb <0.658824, 0.658824, 0.658824> }
 
    normal {
        wood StripesDepth ramp_wave rotate 90*y scale 0.15
    } 
 
    finish {
        ambient 0
        diffuse 0.35
        specular 0.25
        roughness 0.1
        reflection {
        0.00 0.96        metallic 0.5 fresnel on     falloff 1 exponent 1.25} 
        brilliance 2.15
    }
}
 

#declare BrushedAluminium =
texture{
  average
  texture_map{
   #declare R=seed(1001);
   #declare V=0;
   #while(V<12)        // number of samples up to 256
    [1
     AluminiumBase
     normal{
      bumps StripesDepth
      scale <15, 15, 0.03>     
      translate <rand(R),rand(R),rand(R)>
     }
    ]
    #declare V=V+1;
   #end
  }
}
    
   
                 

//*create objects for the drawing */

#declare Axis =
union{
//Axis
cylinder { 0, x*1000, 0.1 texture { pigment { color rgb <255, 1, 1> }}}
cylinder { <.5,0,0>, <.5,1000,0>, 0.1 texture { pigment { color rgb <1,255, 1> }}}
cylinder { 0, z*1000, 0.1 texture { pigment { color rgb <1, 1, 255> }}}

//Axis
cylinder { 0, -x*1000, 0.04 texture { pigment { color rgb <255, 1, 1> }}}
cylinder { 0, -y*1000, 0.04 texture { pigment { color rgb <1,255, 1> }}}
cylinder { 0, -z*1000, 0.04 texture { pigment { color rgb <1, 1, 255> }}}
}

//draw axes when editing. 
//object {Axis}

        
#declare HalfCirc =        
difference{
        cylinder {<0,-.1,0>,<0,1,0>, 1}    
        plane {z,0}
}               

#declare outring = 
difference {
      cylinder {<0,0,0>, <0,1,0>, 1}
      cylinder {<0,-.1,0>, <0,1.1,0>, .7} 
}  

#declare inring =
difference
{
        cylinder {<0,0,0>, <0,1,0>, 1}   
}

#declare halfcirc_out =
object {HalfCirc rotate -90*y scale<1.5,1,1.5> translate <3.2,0,0>   }

#declare halfcirc_in =
object {HalfCirc rotate -90*y scale<1.5,1.1,1.5> translate <2.67,0,0>    }
           
#declare hub =
union      
{                                                   
                                             
cylinder {<0,0,0>, <0,1,0>, 1 }    
 box {  <.25,0,-.25> ,< -.25  1,  .25> translate<1,0,0>}   
   texture { T_Brass_1D }
}      

#declare Inner_Rotor =  
union{
difference{        
object {inring scale <2.105,0,2.105>   }
object {halfcirc_in rotate 90*y scale<1,2,1> }
object {halfcirc_in rotate 0*y scale<1,2,1> }
object {halfcirc_in rotate 180*y scale<1,2,1> }
object {halfcirc_in rotate 270*y scale<1,2,1> } 
 texture{ T_Gold_5B }                         
}                                                
                                                                                          
object{ hub  translate<0,0,0> scale<.4,1.1,.4>  }       
rotate y*360*clock  
}

#declare Outer_Rotor = 
union{
object {halfcirc_out }
object {halfcirc_out rotate 72*y}
object {halfcirc_out rotate 144*y}
object {halfcirc_out rotate 216*y}
object {halfcirc_out rotate 288*y}
object {outring scale<4,0,4>} 
//add an X to the outer ring for tracking
texture{BrushedAluminium } //Iron3 normal { bumps 0.01 }}
} 

//*The actual drawing */
           
           
union{
object {Outer_Rotor  rotate y*360*(4/5)*clock }
object {Inner_Rotor translate<.5,0,0> }
//plane {y,0 texture { pigment { color rgb <1,1,1> }}}    //Used for perspective when editing
}
        
        
camera {location <-5,8,-5> look_at <.25,.05,0> angle 62} 
        
       
#local SpottyPattern=pigment { 
    granite
    color_map {
        [0 color rgb 0]
        [1 color rgb 1]
        }
    }  
    
sky_sphere {
    pigment {
        gradient y
        pigment_map {
            [0.00 color rgb <1,1,1>]
           // [0.12 color rgb <1,1,1>]
            //[0.15 SpottyPattern]
            //[1.00 SpottyPattern]
            }
        translate -.5
        scale 2
        rotate <-56,51,0>      
    }
}
        
// Light sources   

light_source {< 200,100,-100> color rgb 1}
light_source {<-200,200, 100> color rgb 1}
light_source {< 200,100, 200> color rgb 1}

Gerotor.ini

Antialias=On     
Width=400
Height=300

Input_File_Name=gerotor.pov

Initial_Frame=1
Final_Frame=30   
Initial_Clock=0
Final_Clock=1

Cyclic_Animation=on
Pause_when_Done=off

说明

添加一行文字以描述该文件所表现的内容

此文件中描述的项目

描繪內容

文件历史

点击某个日期/时间查看对应时刻的文件。

日期/时间缩⁠略⁠图大小用户备注
当前2014年11月12日 (三) 04:462014年11月12日 (三) 04:46版本的缩略图400 × 300(426 KB)RavedaveEnlarged and centered object.
2014年11月12日 (三) 04:332014年11月12日 (三) 04:33版本的缩略图400 × 300(273 KB)RavedaveUpdated to be anti-aliased and use colors to differentiate the inner and outer rotors.
2006年5月7日 (日) 05:142006年5月7日 (日) 05:14版本的缩略图400 × 300(658 KB)RavedaveAnimated POV-Ray Gerotor

以下2个页面使用本文件:

全域文件用途

以下其他wiki使用此文件:

元数据