|
|
Daniel C. Bastos <dba### [at] yahoocombr> wrote:
> What I would like to do on your code is to keep the plane where it is
> --- that would be my xy-plane --- and make the helix start from the
> plane and spiral up, because that's how this helix should be as x varies
> according to cos(t) and y to sin(t) and z = t. That is, while x and y
> circle around, z keeps on going up (or down.)
Either swap the contents of the y and z components of the vectors, like
this:
#declare P1 = <X(T1), Z(T1), Y(T1)>;
#declare P2 = <X(T2), Z(T2), Y(T2)>;
or alternatively add a "rotate -x*90" at the very end of the 'union' block.
--
- Warp
Post a reply to this message
|
|