|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Identical to one formed by a sphere_sweep? (ie circular cross-section)
--
David http://thunder.prohosting.com/~davidf (ICQ 55354965)
"The paper holds their folded faces to the floor" -Pink Floyd
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <385ACC3F.AD113882@isd.net>, lfo### [at] isdnet wrote:
> Identical to one formed by a sphere_sweep? (ie circular cross-section)
Well, this one looks like a sphere sweep, the documentation covers the
parameters:
function "helix1", <1, 5, 0.2, 1, 1, 1, 0>
This function is a bit different, it will always create circular
surfaces when sliced with a plane perpendicular to the axis of the
helix. I think. It doesn't act like a sphere_sweep, though, more like a
circle_sweep. I broke it up to make it more modular.
#declare cylFunc = function {sqrt((x-1)^2 + z^2)-y}
function {cylFunc(x+sin(5*y), 0.5, z+cos(5*y))}
--
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Well, this one looks like a sphere sweep, the documentation covers the
> parameters:
> function "helix1", <1, 5, 0.2, 1, 1, 1, 0>
I wanted the actual function so I could modify it :-)
> This function is a bit different, it will always create circular
> surfaces when sliced with a plane perpendicular to the axis of the
> helix. I think. It doesn't act like a sphere_sweep, though, more like a
> circle_sweep. I broke it up to make it more modular.
> #declare cylFunc = function {sqrt((x-1)^2 + z^2)-y}
>
> function {cylFunc(x+sin(5*y), 0.5, z+cos(5*y))}
Um, yes, it is a circular cross-section, but it's too flat. I want something
that's identical to a sphere_sweep. Do you know where I could find the
function used by the built-in "helix1"?
Also this creates some nasty black spots on the surface. Do you get them as
well?
--
David http://thunder.prohosting.com/~davidf (ICQ 55354965)
"The paper holds their folded faces to the floor" -Pink Floyd
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <385BF5FB.5C386956@isd.net>, lfo### [at] isdnet wrote:
> I wanted the actual function so I could modify it :-)
> Um, yes, it is a circular cross-section, but it's too flat. I want
> something that's identical to a sphere_sweep. Do you know where I
> could find the function used by the built-in "helix1"?
It is probably somewhere in the source code, I will look it up later. As
it is, you can modify the parameters to it.
> Also this creates some nasty black spots on the surface. Do you get them
> as well?
I would guess that increasing max_gradient would help.
--
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <chrishuff_99-93D292.16150718121999@news.povray.org>, Chris
Huff <chr### [at] yahoocom> wrote:
> It is probably somewhere in the source code, I will look it up later.
Well, I found the function, but the equation used isn't documented. I
will try to come up with one that works the way you want it, it might be
helpful if I knew in what ways you wanted to modify the helix. Anyone
with more math knowledge want to try?
--
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|