POV-Ray : Newsgroups : povray.general : evenly spaced points on splines : Re: evenly spaced points on splines Server Time
30 Jul 2024 22:21:08 EDT (-0400)
  Re: evenly spaced points on splines  
From: Jellby
Date: 11 Apr 2008 10:40:06
Message: <o984d5-ht7.ln1@badulaque.unex.es>
Among other things, stevenvh saw fit to write:

> Hi,
> when I recently started working with (natural) splines I was somewhat
> disappointed to see that the generated points weren't evenly spaced.
> This is not a problem when modeling a garden hose, where the constituting
> spheres should be packed close to get a smooth surface, but it cab be a
> bit of a nuisance when placing a series of disjunct objects along the
> spline's path. So I tried to get my objects evenly spaced. Here's the
> idea:

This article may be interesting

http://www.cs.uiowa.edu/~kearney/pubs/CurvesAndSurfacesArcLength.pdf

I recently applied this idea for representing the reaction path of a
chemical reaction (in multidimensional space, though).

-- 
light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby


Post a reply to this message

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