POV-Ray : Newsgroups : povray.advanced-users : ridgedMF trouble using Pov3.6 with megapov 1.2 : Re: ridgedMF trouble using Pov3.6 with megapov 1.2 Server Time
28 Jul 2024 12:26:08 EDT (-0400)
  Re: ridgedMF trouble using Pov3.6 with megapov 1.2  
From: nomail
Date: 19 Aug 2005 10:15:01
Message: <web.4305e902b948bc2bbb95c26a0@news.povray.org>
"Captain Morgan" <nomail@nomail> wrote:
> 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,

This syntax was only valid in the ancient isosurface patch and MegaPOV up to
0.7. MegaPOV isn't an official POV-Ray, nor is the isosurface patch.

> 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!?!?

RTFM, please!?!?


Post a reply to this message

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