POV-Ray : Newsgroups : povray.general : Most efficient way to code a hemisphere (lathe.inc) : Re: Most efficient way to code a hemisphere (lathe.inc) Server Time
29 Jul 2024 14:13:04 EDT (-0400)
  Re: Most efficient way to code a hemisphere (lathe.inc)  
From: gregjohn
Date: 27 Feb 2011 07:15:00
Message: <web.4d6a3f3736e168b634d207310@news.povray.org>
clipka <ano### [at] anonymousorg> 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.


Wow.  Your claim is compatible with my extensive experimentation, but it blows
my mind that splines cannot do this. Aside from hand-calc-ing the trig.
thanks.

Aside: who's gotten the furthest with elegant solutions to hand-typed (er,
procedurally generated) bicubic meshes?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.