Modifié le 1 Juillet 2010 à 17 h 57

pappus.pov
// AUTEUR: Fradin Patrick 26/06/2010
//options de compilation: +W640 +H640 +A +P +FN
#include "colors.inc"
#include "glass.inc"
#include "stones.inc"
#include "metals.inc"
global_settings { charset utf8
                  ambient_light rgb 1.5
		  max_trace_level 12
}
background{color White*0.5}
camera{ orthographic
        location <0,0,10>
        sky <0,1,0>
        up 2.2*y
        right 2.2*x
        look_at <0,0,0>
        translate <0,0,0>}
light_source { 17320.5080756888*<-0.28571428571428,0.42857142857142,0.85714285714285> color rgb<1,1,1>} 

// déclarations des objets
#declare cercles = union{
torus { 1,0.0055
matrix <-1,0,0,
         0,6.12303176911189E-17,1,
         0,-1,6.12303176911189E-17,
         0,0,0>
        }
torus { 0.66666666666666,0.0055
matrix <-1,0,0,
         0,5.55111512312578E-17,1,
         0,-1,6.12303176911189E-17,
         0,0.33333333333333,0>
        }
torus { 0.44444444444444,0.0055
matrix <-1,0,0,
         0,1.11022302462516E-16,1,
         0,-1,6.12303176911189E-17,
         0,0.55555555555555,0>
        }
torus { 0.3076923076923,0.0055
matrix <-1,0,0,
         0,1.11022302462516E-16,1,
         0,-1,6.12303176911189E-17,
         0,0.69230769230769,0>
        }
}

#declare rangee1 = union{
sphere { <0.37735849056603,0.90566037735849,0> 0.0188679245283 }
sphere { <0.41379310344827,0.88505747126436,0> 0.02298850574712 }
sphere { <0.45714285714285,0.85714285714285,0> 0.02857142857142 }
sphere { <0.5090909090909,0.81818181818181,0> 0.03636363636363 }
sphere { <0.57142857142857,0.76190476190476,0> 0.04761904761904 }
sphere { <0.64516129032258,0.67741935483871,0> 0.06451612903225 }
sphere { <0.72727272727272,0.54545454545454,0> 0.09090909090909 }
sphere { <0.8,0.33333333333333,0> 0.13333333333333 }
sphere { <0.8,-5.55111512312578E-17,0> 0.2 }
sphere { <0.57142857142857,-0.42857142857142,0> 0.28571428571428 }
sphere { <0,-0.66666666666666,0> 0.33333333333333 }
sphere { <-0.57142857142857,-0.42857142857142,0> 0.28571428571428 }
sphere { <-0.8,-5.55111512312578E-17,0> 0.2 }
sphere { <-0.8,0.33333333333333,0> 0.13333333333333 }
sphere { <-0.72727272727272,0.54545454545454,0> 0.09090909090909 }
sphere { <-0.64516129032258,0.67741935483871,0> 0.06451612903225 }
sphere { <-0.57142857142857,0.76190476190476,0> 0.04761904761904 }
sphere { <-0.5090909090909,0.81818181818181,0> 0.03636363636363 }
sphere { <-0.45714285714285,0.85714285714285,0> 0.02857142857142 }
sphere { <-0.41379310344827,0.88505747126436,0> 0.02298850574712 }
sphere { <-0.37735849056603,0.90566037735849,0> 0.0188679245283 }
}

#declare rangee2 = union{
sphere { <0.25157232704402,0.93710691823899,0> 0.0125786163522 }
sphere { <0.27586206896551,0.92337164750957,0> 0.01532567049808 }
sphere { <0.3047619047619,0.9047619047619,0> 0.01904761904761 }
sphere { <0.33939393939393,0.87878787878787,0> 0.02424242424242 }
sphere { <0.38095238095238,0.84126984126984,0> 0.03174603174603 }
sphere { <0.43010752688172,0.78494623655914,0> 0.04301075268817 }
sphere { <0.48484848484848,0.69696969696969,0> 0.06060606060606 }
sphere { <0.53333333333333,0.55555555555555,0> 0.08888888888888 }
sphere { <0.53333333333333,0.33333333333333,0> 0.13333333333333 }
sphere { <0.38095238095238,0.04761904761904,0> 0.19047619047619 }
sphere { <0,-0.11111111111111,0> 0.22222222222222 }
sphere { <-0.38095238095238,0.04761904761904,0> 0.19047619047619 }
sphere { <-0.53333333333333,0.33333333333333,0> 0.13333333333333 }
sphere { <-0.53333333333333,0.55555555555555,0> 0.08888888888888 }
sphere { <-0.48484848484848,0.69696969696969,0> 0.06060606060606 }
sphere { <-0.43010752688172,0.78494623655914,0> 0.04301075268817 }
sphere { <-0.38095238095238,0.84126984126984,0> 0.03174603174603 }
sphere { <-0.33939393939393,0.87878787878787,0> 0.02424242424242 }
sphere { <-0.3047619047619,0.9047619047619,0> 0.01904761904761 }
sphere { <-0.27586206896551,0.92337164750957,0> 0.01532567049808 }
sphere { <-0.25157232704402,0.93710691823899,0> 0.0125786163522 }
}

#declare rangee3 = union{
sphere { <0.1863715783343,0.94874781595806,0> 0.00931857891671  }
sphere { <0.20382165605095,0.93772116065109,0> 0.01132342533616 }
sphere { <0.22436459246275,0.92287467134092,0> 0.01402278702892 }
sphere { <0.24861265260821,0.9023307436182,0> 0.01775804661487  }
sphere { <0.27705627705627,0.87301587301587,0> 0.02308802308802 }
sphere { <0.30947775628626,0.82978723404255,0> 0.03094777562862 }
sphere { <0.34316353887399,0.76407506702412,0> 0.04289544235924 }
sphere { <0.36781609195402,0.66283524904214,0> 0.06130268199233 }
sphere { <0.35359116022099,0.51381215469613,0> 0.08839779005524 }
sphere { <0.24060150375939,0.33834586466165,0> 0.12030075187969 }
sphere { <0,0.24786324786324,0> 0.13675213675213 }
sphere { <-0.24060150375939,0.33834586466165,0> 0.12030075187969 }
sphere { <-0.35359116022099,0.51381215469613,0> 0.08839779005524 }
sphere { <-0.36781609195402,0.66283524904214,0> 0.06130268199233 }
sphere { <-0.34316353887399,0.76407506702412,0> 0.04289544235924 }
sphere { <-0.30947775628626,0.82978723404255,0> 0.03094777562862 }
sphere { <-0.27705627705627,0.87301587301587,0> 0.02308802308802 }
sphere { <-0.24861265260821,0.9023307436182,0> 0.01775804661487  }
sphere { <-0.22436459246275,0.92287467134092,0> 0.01402278702892 }
sphere { <-0.20382165605095,0.93772116065109,0> 0.01132342533616 }
sphere { <-0.1863715783343,0.94874781595806,0> 0.00931857891671  }
}

// rendu des objets
//fond
plane{ <0, 0, 1>, -5  texture{T_Stone5} }
//cercles
object{cercles texture{T_Brass_4C} }
//spheres
object{ rangee1 texture{T_Dark_Green_Glass} interior{I_Glass2} }
object{ rangee2 texture{T_Yellow_Glass} interior{I_Glass2} }
object{ rangee3 texture{T_Orange_Glass} interior{I_Glass2} }