POV-Ray : Newsgroups : povray.binaries.animations : circle or spiral by spline ?? : Re: circle or spiral by spline ?? Server Time
6 Oct 2024 06:46:59 EDT (-0400)
  Re: circle or spiral by spline ??  
From: Tor Olav Kristensen
Date: 14 Oct 2004 07:44:38
Message: <416e66a6$1@news.povray.org>
Shurakai wrote:
> Hi everybody,
> 
> i tried to create a perfect circle using the spline function. But somehow i
> wasn't able to create a real circle. The problem is i can't use Chris
> Colefax's spline macro, because it's not working with my PovRay. Always
> produces a fatal error ??!! The prob is i need the circle defined by a
> spline otherwise my animation debug macro will show no path for the camera.
> Anyway is there a trick ?? I tried cubic, quadratic and natural splines,
> but no chance, never a real circle. The spline looks always a bit weird.
> not perfectly round. And the camera moves near and far from the focused
> object, when going around on the spline.
> Then i tried to create a spiral, but there i have the same problem.
> Please if someone knows a solution, i would be happy to know it also :).

I recommend that you read a little about Rational B-Splines.

-- 
Tor Olav
http://subcube.net
http://subcube.com


Post a reply to this message

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