POV-Ray : Newsgroups : povray.general : Smooth curve with splines? : Smooth curve with splines? Server Time
5 Nov 2024 13:24:06 EST (-0500)
  Smooth curve with splines?  
From: Tyler Eaves
Date: 1 Apr 2003 22:26:33
Message: <3e8a5868@news.povray.org>
Hi gang!

Looking for a way to do a spline that follows the smoothest possible curve.
What do I mean by that? Heres an example.

spline{
        0, <0,0,-1>
        1, <0,0,0>
        2, <1,0,1>
        3, <2,0,0>
        4, <2,0,-1>
}

Should produce a perfect 180 curve, with straght lines entering and exiting.
The final goal of the project is to render a rollercoaster design, so smooth
curves are a must!


Post a reply to this message

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