Modifié le 15 Mai 2008 à 23 h 17
//@AUTEUR: Maxime Chupin
//@DATE: 15 mai 2008
camera{
location <2,2,2>
look_at <0,0,0>
}
light_source{
<2,5,-5>, color rgb<1,1,1>
}
background{
color rgb<1,1,1>
}
//*intersection d'une sphere et d'un tore
intersection{
sphere{
<0,0,0>,1
pigment{
color rgb <1,0,0>
}
}
torus{
1, 0.5
pigment{
color rgb <0,1,0>
}
}
}
sphere{
<0,0,0>,0.99
pigment{
color rgb <0.9,0.9,1,0.5>
}
finish {
ambient 0.2
diffuse 0.8
phong 1
}
}
torus{
1, 0.5
pigment{
color rgb <1,1,0.9>
transmit 0.5
}
finish {
ambient 0.2
diffuse 0.8
phong 1
}
}