global_settings{ assumed_gamma 1 }
#default{ finish{ ambient 0.1 diffuse 0.9 }}
#include "colors.inc"
#include "textures.inc"
camera { angle 130
location <30 , 1.5 ,-15.0>
look_at <0.0 ,1 , 0.0>}
light_source{<1000,1500,-2500> color White}
sphere{<0,0,0>,1 hollow
texture{pigment{gradient <0,1,0>
color_map{[0.00 color Red ]
[0.25 color Blue ]
[0.50 color Green]
[0.75 color Blue ]
[1.00 color Orange ]}
scale 2 translate<0,-1,0>}
finish {ambient 1 diffuse 0.5}}
scale 10000}
plane {
y,0
texture {
pigment { SeaGreen }
finish { reflection .35 specular 1 }
normal { ripples .35 turbulence .5 scale .25 }
}
}
#declare Egg_Tex =
texture{ pigment{ color White}
normal { bumps 0.3 scale 0.01}
finish { phong 0.1}}
#declare Egg_upperpart =
intersection{
sphere{<0,0,0>,1 scale<1,1.75,1>}
box{<-1,0,-1>,<1,1.75,1>}
}
#declare Egg_lowerpart =
intersection{
sphere{<0,0,0>,1 scale<1,1.2,1>}
box{<-1,-1.2,-1>,<1,0,1>}
}
#declare Egg =
union{ object{Egg_upperpart}
object{Egg_lowerpart}
texture{Egg_Tex}
}
object{ Egg translate< 0.0,0.8,1>}
object{ Egg translate< 3.6,5,3>
scale 0.5
}