POV-Ray : Newsgroups : povray.general : old POV => current : Re: old POV => current Server Time
30 Jul 2024 18:12:32 EDT (-0400)
  Re: old POV => current  
From: Tim Attwood
Date: 19 Jul 2008 23:40:25
Message: <4882b3a9$1@news.povray.org>
> I'm trying to convert some old MegaPOV files to modern syntax.
> The old line was:
> Noise = function { (.1 - 2*noise3d(x, y, z))*clock }
>
> and I thought this would work:
> Noise = function { (.1 - 2*f_noise3d(x, y, z))*clock }
>
> but it doesn't. "expected operator, ( found instead.
>
> Can someone show me the light?
You need to include functions.inc

#include "functions.inc"
#declare Noise = function { (.1 - 2*f_noise3d(x, y, z))*clock }


Post a reply to this message

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