POV-Ray : Newsgroups : povray.text.scene-files : 3D Text with Sphere_sweeps : Re: 3D Text with Sphere_sweeps Server Time
5 Jul 2022 04:44:59 EDT (-0400)
  Re: 3D Text with Sphere_sweeps  
From: Bald Eagle
Date: 21 Jun 2022 06:15:00
Message: <web.62b199c318b1901c1f9dae3025979125@news.povray.org>
"Dave Blandston" <IsN### [at] protonmailch> wrote:
> "Bald Eagle" <cre### [at] netscapenet> wrote:
> > Now the thing is, the objects have to be converted into isosurfaces for all of
> > this to work:
> >
> > #declare _Box = function (X, Y, Z) { max((X*X-1),(Y*Y-1),(Z*Z-1)) }
> > #declare _Sphere = function { x*x + y*y + z*z - 1 }
> >
> > And so you'd need to do a Bill P ObjectAsIso type conversion.  Because you can't
> > have the infinite gradient between object and no-object.
> >
> > So it would work, but it might be rather slow...
> Ah-ha! Thanks for the follow-up! I've been trying to figure out how to make it
> work since your last post - and not getting anywhere.

Now, IIRC, Mike Williams has done an impressive amount of work on tubes and
splines and using them in isosurfaces to mimic sphere sweeps.   So If you wanted
to implement the smoothing, then maybe the way to go would be to convert the
code so that you were using proper isosurfaces right out of the gate, rather
than a slow and inefficient conversion from a primitive.

Post a reply to this message

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