POV-Ray : Newsgroups : povray.binaries.images : Isofailure : Re: Isofailure Server Time
16 Aug 2024 16:14:57 EDT (-0400)
  Re: Isofailure  
From: Christoph Hormann
Date: 17 Jan 2002 07:40:17
Message: <3C46C630.61EACAB8@gmx.de>
Dan Johnson wrote:
> 
> I was trying to figure out how to warp a cylinder into a sphere sweep
> helix, but it didn't work.  It squished the thing for some reason.  My
> thought was to turn the x dimension of the cylinder into the radius, and
> the y dimension into the angle, but everything needs to be done
> backwards.  I was trying to use a rectangular to polar conversion
> formula, because of things needing to be backwards.
> 
> I would appreciate it if someone could tell how to do it right.  I would
> also like to know how to do the same thing using parametic surfaces, and
> what it was that I was doing wrong.
> 

Why don't you use a built in helix function:

http://users.skynet.be/smellenbergh/buildin.html#Helix1

You can of course do it by hand, but this is a bit complicated, have a
look at the megapov source if you want to know.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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