POV-Ray : Newsgroups : povray.advanced-users : Correct function/pigment syntax? : Re: Correct function/pigment syntax? Server Time
25 Jul 2021 15:36:44 EDT (-0400)
  Re: Correct function/pigment syntax?  
From: Mike Horvath
Date: 13 May 2021 19:33:33
Message: <609db74d$1@news.povray.org>
On 5/13/2021 7:07 PM, Bald Eagle wrote:
> Mike Horvath <mik### [at] gmailcom> wrote:
> 
>> But I am getting a parse error on pigment_2. What is the correct syntax
>> to get this example to work?
> 
> You don't have to use the x, y, z until you actually evaluate the function for
> something.
> 
> So you should just be able to do:
> 
> #declare pigment_2 = pigment {function {function_1}}
> 

I found what I was looking for here:

http://news.povray.org/povray.newusers/thread/%3C5473da29%40news.povray.org%3E/

But I cannot get it to produce anything other than rgb <0,0,0> in the 
render. See p.t.s-f.




> Also, test_clu.pov ran for 6:45, and I halted it, as it was still parsing away
> like mad.  You must have quite a system if you did it in 2:20.
> 
> Maybe just attach your completed render?
> 
> 
> 
> 

I got this all to work. Will update the other thread later.


Mike


Post a reply to this message

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