POV-Ray : Newsgroups : povray.general : Spline object: what is it? : Re: Spline object: what is it? Server Time
5 Aug 2024 12:20:56 EDT (-0400)
  Re: Spline object: what is it?  
From: Slime
Date: 17 Sep 2002 15:07:40
Message: <3d877d7c$1@news.povray.org>
> Is his
>     preview_spline (MySpline, default_options)
> simply a sphere sweep?

Don't confuse Chris Colefax's spline include file with POV-Ray 3.5 splines.
The include file was written well before splines were brought into POV-Ray,
so it doesn't make any use of them at all.

The preview_spline macro does not use sphere sweeps, though it may simulate
them. If you want the 3.5 equivalent of that macro, then use a sphere_sweep.

Unfortunately, POV-Ray has no way to apply a separarely defined spline to a
sphere_sweep object. Nor can it apply a separate spline to a prism object or
something of that sort. I think this is a weakness in POV-Ray - it has the
same data structure represented in different ways depending on what you're
using it for.

I understand that the data structures aren't *identical*, but they're darn
similar and would be much more powerful if they were more portable.

 - Slime
[ http://www.slimeland.com/ ]


Post a reply to this message

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