Gerotor_anm.gif(400 × 300 pixels, taille du fichier : 426 kio, type MIME : image/gif, en boucle, 30 trames, 3,0 s)

Description

Description Animated POV-Ray Gerotor
Date 7 mai 2006 (date de téléversement originale)
Source La source n’a pas pu être reconnue automatiquement. « Travail personnel » supposé (étant donné la revendication de droit d’auteur).
Auteur L’auteur n’a pas pu être identifié automatiquement. Il est supposé qu'il s'agit de : Ravedave (étant donné la revendication de droit d’auteur).
 
Cette infographie a été créée avec POV-Ray.

Conditions d’utilisation

Moi, en tant que détenteur des droits d’auteur sur cette œuvre, je la publie sous les licences suivantes :
GNU head Vous avez la permission de copier, distribuer et modifier ce document selon les termes de la GNU Free Documentation License version 1.2 ou toute version ultérieure publiée par la Free Software Foundation, sans sections inaltérables, sans texte de première page de couverture et sans texte de dernière page de couverture. Un exemplaire de la licence est inclus dans la section intitulée GNU Free Documentation License.
w:fr:Creative Commons
paternité partage à l’identique
Ce fichier est disponible selon les termes de la licence Creative Commons Attribution – Partage dans les Mêmes Conditions 3.0 (non transposée).
Vous êtes libre :
  • de partager – de copier, distribuer et transmettre cette œuvre
  • d’adapter – de modifier cette œuvre
Sous les conditions suivantes :
  • paternité – Vous devez donner les informations appropriées concernant l'auteur, fournir un lien vers la licence et indiquer si des modifications ont été faites. Vous pouvez faire cela par tout moyen raisonnable, mais en aucune façon suggérant que l’auteur vous soutient ou approuve l’utilisation que vous en faites.
  • partage à l’identique – Si vous modifiez, transformez, ou vous basez sur cette œuvre, vous devez distribuer votre contribution sous la même licence ou une licence compatible avec celle de l’original.
Ce bandeau de licence a été ajouté à ce fichier dans le cadre de la procédure de mise à jour des licences des images sous GFDL.
w:fr:Creative Commons
paternité
Ce fichier est disponible selon les termes de la licence Creative Commons Attribution 2.5 Générique.
Vous êtes libre :
  • de partager – de copier, distribuer et transmettre cette œuvre
  • d’adapter – de modifier cette œuvre
Sous les conditions suivantes :
  • paternité – Vous devez donner les informations appropriées concernant l'auteur, fournir un lien vers la licence et indiquer si des modifications ont été faites. Vous pouvez faire cela par tout moyen raisonnable, mais en aucune façon suggérant que l’auteur vous soutient ou approuve l’utilisation que vous en faites.
Vous pouvez choisir l’une de ces licences.

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

Légendes

Ajoutez en une ligne la description de ce que représente ce fichier

Éléments décrits dans ce fichier

dépeint

Historique du fichier

Cliquer sur une date et heure pour voir le fichier tel qu'il était à ce moment-là.

Date et heureVignetteDimensionsUtilisateurCommentaire
actuel12 novembre 2014 à 06:46Vignette pour la version du 12 novembre 2014 à 06:46400 × 300 (426 kio)RavedaveEnlarged and centered object.
12 novembre 2014 à 06:33Vignette pour la version du 12 novembre 2014 à 06:33400 × 300 (273 kio)RavedaveUpdated to be anti-aliased and use colors to differentiate the inner and outer rotors.
7 mai 2006 à 07:14Vignette pour la version du 7 mai 2006 à 07:14400 × 300 (658 kio)RavedaveAnimated POV-Ray Gerotor

La page suivante utilise ce fichier :

Usage global du fichier

Les autres wikis suivants utilisent ce fichier :

Métadonnées