POV-Ray : Newsgroups : povray.programming : ridgedMF HELP! : ridgedMF HELP! Server Time
1 Jun 2024 06:35:56 EDT (-0400)
  ridgedMF HELP!  
From: Captain Morgan
Date: 19 Aug 2005 10:00:01
Message: <web.4305e574eed205a915b9d80a0@news.povray.org>
I have the following code segment:

#declare f = function {"ridgedMF", <1, 2, 5, 1, 1>}
#declare sea = function {y - 5 * f(0.2 * x, 0.2 * y, 0.2 * z) / 10 - f(x, y,
z)/10 - f((x - 0.15)/0.2,(y - 0.15)/0.2, (z - 0.15)/0.2)/100}

the entire image code was originally rendered using an older version of
POV-Ray and MegaPOV 0.7,

PROBLEM IS...now trying to run this with Povray 3.5 or 3.6 using megapov 1.0
or 1.2, i ALWAYS get a stupid parse error right here:

#declare f = function {"ridgedMF", < <----ERROR

Parse Error: Expected 'valid function expression', ( found instead

ANYONE ABLE TO HELP please!?!?
I havent touched povray in a long time and i am very rusty on
this....obviously im stuck at this point, cause it used to run and now it
doesnt :(

p.s. deleting the comma after the quotes still gives the same error.


Post a reply to this message

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