|
![](/i/fill.gif) |
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] gmx de>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
![](/i/fill.gif) |