| ovus = Egg, Oval
New in POV-Ray Version 3.7( > beta 40 )
General syntax:
ovus{ rbase,rtop
texture{ ... ... }
} |
Here is rbase the radius of the base sphere and rtop
the radius at the top.
|
The example here:
ovus{ 1.00, 0.65
// base_radius, top_radius
// with top_radius < base_radius!
texture{
pigment{ color rgb<1.0, 0.65, 0.0>*0.9}
normal { bumps 0.75 scale 0.03 }
finish { phong 1
reflection { 0.10 metallic 0.1}}
} // end of texture
scale 0.5
translate<0,0.5,0>
} //---------------------------------- |
|
Variation of ovus{ 1, ... } (from left:) rtop = 1.00, 0.85, 0.65, 0.45, 0.25
|
A Problem with the accuracy of the calculation:
Under certain angles of view and with certain values of rbase and rtop
we may see some errors in this shape.
Mostly it's enough to change one of these values for work around this problem.
|
|
With the following scene we can see the opposite error:
camera{
location < 2.00, 2.00, -2.00>
right x*image_width/image_height
angle 85
look_at < 0.00, 1.50, 0.00>
} // end camera
light_source{<-500,2500,-2500> color White}
ovus{ 1.00, 0.85
// base_radius, top_radius
// with top_radius < base_radius!
texture{
pigment{ color rgb<1.0, 0.65, 0.0>*0.9}
normal { bumps 0.75 scale 0.03 }
finish { phong 1
reflection { 0.10 metallic 0.1}}
} // end of texture
translate<0,1,0>
} //---------------------------------- |
|
|