POV-Ray : Newsgroups : povray.general : Spiral tube? : Re: Spiral tube? Server Time
5 Jul 2024 10:01:52 EDT (-0400)
  Re: Spiral tube?  
From: Alain
Date: 9 Jan 2016 12:13:51
Message: <56913fcf$1@news.povray.org>
Le 16-01-08 17:48, clipka a écrit :
> Am 08.01.2016 um 22:06 schrieb Mike Horvath:
>> On 1/6/2016 3:55 AM, Le_Forgeron wrote:
>>> Le 06/01/2016 09:11, Thomas de Groot a écrit :
>>>> On 6-1-2016 6:48, Mike Horvath wrote:
>>>>> How do I create a spiral tube, like a spring? Like this:
>>>>>
>>>>> http://www.f-lohmueller.de/pov_tut/animate/anim16e.htm
>>>>>
>>>>> but a single object, not a union of spheres?
>>>>>
>>>>> Thanks!
>>>>>
>>>> In a modeller, this is pretty easy, for instance building a spiral line
>>>> segment (aka a spline) and an appropriate surface to follow it. However,
>>>> that may not be what you want.
>>>>
>>>
>>> generating a spline along an helix is rather easy. Then if sphere_sweep
>>> is acceptable, the problem is solved.
>>>
>>> Now, do you considere sphere_sweep a single object ?
>>>
>>>
>>
>>
>> Can a spline accurately mimic a helix?
>
> A natural, bezier or other cubic spline -- nope, not precisely.
>

But, if you are willing to throw in enough points, the error can be kept 
low enough that it's not visible.


Post a reply to this message

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