POV-Ray : Newsgroups : povray.advanced-users : How to cap a cylinder by a 2d-function? : Re: How to cap a cylinder by a 2d-function? Server Time
10 May 2024 04:17:54 EDT (-0400)
  Re: How to cap a cylinder by a 2d-function?  
From: Bald Eagle
Date: 5 Dec 2016 16:20:01
Message: <web.5845d99693354f5bc437ac910@news.povray.org>
"Kay" <uhu### [at] webde> wrote:
> Hey Folks,
>
> I'm trying to code a cylinder, which is capped on one side by a 2d-function. The
> 2d-function I have in mind is running like a helix with the parameters (x,y,z)
> of the form {x=r*Cos[a], y=r*Sin[a], z=a} with r and a, both running from 0 to
> 1.
>
> How can I do that? I tried Isosurface, but I failed...
> Could anyone help out?

See:
http://www.f-lohmueller.de/pov_tut/all_shapes/shapes910e.htm

And Mike Williams' Isosurface tutorial, as well as the POV-Ray docs.

I'd say you need to go from 0 to 2*pi to get a full wrap, and do the "cylinder"
and the cap in 2 parts...


Post a reply to this message

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