POV-Ray : Newsgroups : povray.general : Tubes from Cartesian Coordinates : Re: Tubes from Cartesian Coordinates Server Time
31 Jul 2024 18:21:28 EDT (-0400)
  Re: Tubes from Cartesian Coordinates  
From: Tor Olav Kristensen
Date: 11 Nov 2006 12:18:21
Message: <455605dd$1@news.povray.org>
Eric Brown wrote:
> I wish to make a "tube" which follows along a set of cartesian coordinates
> which I input:
> 
> {x1,y1,z1},
> {x2,y2,z1},
> ....
> {xN,yN,zN}
> 
> and the tube radius.
> 
> In general, the "tube" does not obey a quadratic polynomial, but it could
> easily be represented by a cubic-spline.  I though about making a bunch of
> cylinders, but this might introduce texture that shows the granularity of
> my step size.
> 
> Does anyone have a solution?

sphere_sweep as Alain suggested or a mesh made with NURBS or
other splines possibly combined with some Frenet Frame macros.

-- 
Tor Olav
http://subcube.com


Post a reply to this message

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