|
![](/i/fill.gif) |
clipka <ano### [at] anonymous org> wrote:
> Am 27.02.2011 03:08, schrieb gregjohn:
> > Hi. I was trying to find the most efficient way to code a mesh for a perfect
> > hemisphere. I could probably do it if I were to break out a while loop with a
> > couple thousand entries in the spline based on trig functions. But it would
> > really help to know the simplest way to define one. So far I haven't hit on it
> > with quadratic spline, supposed I will next try cubic.
> >
> > TIA for any help.
>
> Forget it - you can't get a perfect arc section from cubic (or
> lower-order) splines. As for the other fancy splines in POV-Ray, they're
> actually just cubic splines in disguise.
The best way (outside of just using a sphere object) would be a rationally built
and calculated mesh. The basic math for a hemisphere is simple, the most
difficult part is organizing the points into faces.
-tgq
Post a reply to this message
|
![](/i/fill.gif) |