|
![](/i/fill.gif) |
Peter Popov <pet### [at] usa net> writes:
> On Wed, 26 Apr 2000 15:19:27 -0500, Chris Huff
> <chr### [at] yahoo com> wrote:
>
> >> Or use the helix object in the megapatch.
> >
> >There is no such thing as a helix object, not even in MegaPOV. You could
> >do it with the parametric or the isosurface objects in MegaPOV, though.
>
> I think Thomas had in mind the built-in helix isosurface function.
You're right. I should have given a more detailed answer. Here is a small
scene that uses the helix isosurface function:
#version unofficial MegaPov 0.4;
camera { location <4,2,0> look_at <0,0,0> }
light_source { <10,10,10> color 1 }
#declare rad1 = 1;
#declare rad2 = 0.2FF;
#declare length = 0.5;
isosurface {
function "helix1", <2, 2*pi*length, rad2, rad1, 1, 1, 0>
contained_by{
box <-rad1-rad2-0.001, -2,-rad1-rad2-0.001>,
<rad1+rad2+0.001, 2, rad1+rad2+0.001>
}
pigment { color rgb 1 }
}
Thomas
--
http://thomas.willhalm.de/ (includes pgp key)
Post a reply to this message
|
![](/i/fill.gif) |