POV-Ray : Newsgroups : povray.beta-test : function^function not working Server Time
1 Nov 2024 07:29:11 EDT (-0400)
  function^function not working (Message 1 to 4 of 4)  
From: Dennis Miller
Subject: function^function not working
Date: 21 Jun 2002 16:28:05
Message: <3d138c55$1@news.povray.org>
This worked fine in RC5 (or maybe it was 4) but does not work in RC6. Can
anyone tell me why or better yet, how to achieve the same result? I'm using
the function as a pigment on a plane...
Thanks much,
D.

function { (PF3(x*clock,y*clock*1.1,z*clock*.9))^((PF2(x,y,z).red)*1-clock)}



(if interested):

 #declare PF2 = function
    {E*sin(A*sin(I*x*(1-1)) + B*cos(J*y))
              + F*cos(C*cos(K*x) + D*sin(L*y*1))  }

   #declare PF3 = function
    {E*tan(A*sin(I*x) + B*sin(J*y))
              + F*sin(C*cos(K*x) + D*cos(L*y*1) ) }


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: function^function not working
Date: 21 Jun 2002 16:43:05
Message: <3d138fd9$1@news.povray.org>
In article <3d138c55$1@news.povray.org> , "Dennis Miller" 
<dhm### [at] attbicom> wrote:

> This worked fine in RC5 (or maybe it was 4) but does not work in RC6. Can
> anyone tell me why or better yet, how to achieve the same result?

Use the "pow" function instead of the hat operator and read the release
notes.

    Thorsten


Post a reply to this message

From: Dennis Miller
Subject: Re: function^function not working
Date: 21 Jun 2002 23:41:31
Message: <3d13f1eb$1@news.povray.org>
Okay, thanks.
This got it:
pow(PF3(x,y,z),(PF2(x,y,z)))

D~



"Thorsten Froehlich" <tho### [at] trfde> wrote in message
news:3d138fd9$1@news.povray.org...
> In article <3d138c55$1@news.povray.org> , "Dennis Miller"
> <dhm### [at] attbicom> wrote:
>
> > This worked fine in RC5 (or maybe it was 4) but does not work in RC6.
Can
> > anyone tell me why or better yet, how to achieve the same result?
>
> Use the "pow" function instead of the hat operator and read the release
> notes.
>
>     Thorsten


Post a reply to this message

From: Apache
Subject: Re: function^function not working
Date: 22 Jun 2002 00:17:28
Message: <3d13fa58$1@news.povray.org>
I'm interested in how the final rendering of this function will look like.
Please post it in b.b.i.?  :-)

--
Apache
POV-Ray Cloth experiments: http://geitenkaas.dns2go.com/experiments/
Email: apa### [at] yahoocom
ICQ: 146690431


Post a reply to this message

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