POV-Ray : Newsgroups : povray.general : old POV => current Server Time
30 Jul 2024 16:13:47 EDT (-0400)
  old POV => current (Message 1 to 2 of 2)  
From: Dennis Miller
Subject: old POV => current
Date: 19 Jul 2008 22:45:24
Message: <4882a6c4$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?
Thanks much.
Dennis


-- 

dhm### [at] comcastnet
http://www.dennismiller.neu.edu


Post a reply to this message

From: Tim Attwood
Subject: Re: old POV => current
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.