POV-Ray : Newsgroups : povray.general : Help needed with Lissajous Knot : Re: Help needed with Lissajous Knot Server Time
5 Aug 2024 02:21:26 EDT (-0400)
  Re: Help needed with Lissajous Knot  
From: Tor Olav Kristensen
Date: 31 Dec 2002 09:00:06
Message: <web.3e11a27556251e337d655a8f0@news.povray.org>
Ib Rasmussen wrote:
>
>St. wrote:
>
>>   Could you show me where and how please?
>>
>>   Here's the part:
>>
>>  #macro Method3(T)
>>  <
>>   R*sin(A*T)*sin(B*T)^exp_X,
>>   R*sin(A*T)*cos(B*T)^exp_Y,
>>   R*sin(A*T)^exp_Z
>>  >
>> #end
>
>That should be
>
>  #macro Method3(T)
>  <
>   R*sin(A*T) * pow(sin(B*T), exp_X),
>   R*sin(A*T) * pow(cos(B*T), exp_Y),
>   pow(R*sin(A*T), exp_Z)
>  >
> #end
>
>
>if I understand it right. I haven't tested it, though.

Ib, I think he is using the code Lutz-Peter Hooge
posted to povray.text.scene-files 8. Dec. 2001 for
his "Lissajou-Knot generator":

http://news.povray.org/povray.text.scene-files/20596/135690/#135690
http://news.povray.org/povray.binaries.images/20597/

And if that is so, then he should rewrite the
macro like this (for the final POV-Ray v3.5):


#macro Method3(T)

  <
    R*sin(A*T)*pow(sin(B*T), exp_X),
    R*sin(A*T)*pow(cos(B*T), exp_Y),
    R*pow(sin(A*T), exp_Z)
  >

#end


Tor Olav


Post a reply to this message

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