POV-Ray : Newsgroups : povray.general : Feature request - spliney cylinders - or howto model pipes : Feature request - spliney cylinders - or howto model pipes Server Time
16 Nov 2024 07:15:31 EST (-0500)
  Feature request - spliney cylinders - or howto model pipes  
From: David Greaves
Date: 20 Sep 1998 14:42:57
Message: <36053D37.868A081@telekinesys.co.uk>
Hi

This started with "How can I model a bendy pipe?"

I got sPatch, created a line with 10 points, lathed it (6 sides) and
then moved/rotated the hexagonal groups of points. The problem is that
this doesn't retain the pipe walls equidistant to the pipe's axis :(

I kinda fixed this by using three groups of hexagons around a bend so
the 'straight' bits were cylindrical but thats quite fiddly and not
accurate.

Then, some reading later I thought:
Wouldn't it be nice to have a spline that had thickness?
Maybe a blob spline? (but that would be too thick at the bends)
Maybe have a 'map' function to determine radius wrt distance along the
spline (assuming you can calculate the distance travelled along a spline
- my maths is not that good)
A function of '1' would then produce a bent cylinder - more interesting
functions would produce eg, a string of pearls....

Any other ideas for bendy pipes?

David


Post a reply to this message

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