POV-Ray : Newsgroups : povray.beta-test : f_noise - I'm confused Server Time
4 Nov 2024 23:15:45 EST (-0500)
  f_noise - I'm confused (Message 1 to 5 of 5)  
From: Tom Melly
Subject: f_noise - I'm confused
Date: 11 Sep 2001 04:54:33
Message: <3b9dd149$1@news.povray.org>
What is the correct syntax for using f_noise? I've placed   noise_generator 3
in my global block.

#declare fn_Noise = function{f_noise3d(x,y,z)} // nope
#declare fn_Noise = f_noise3d(x,y,z) // nope

--
#macro G(D,E,F)#local I=array[3]{D,E,F}#local B=0;triangle{#while(
B<3)#while(I[B])A[mod(I[B],10)]+#local I[B]=div(I[B],10);#end<-5,-
2,9>#local B=B+1;#end}#end #local A=array[7]{x,x*2,x*4,y,y*2,y*4,z
}light_source{-x*6-z*9,1}mesh{G(105,10,146)G(105,246,10)G(105,56,
146)G(105,1256,246)G(1256,126,220)G(22156,2216,201)pigment{rgb 1}}//TM


Post a reply to this message

From: Gail Shaw
Subject: Re: f_noise - I'm confused
Date: 11 Sep 2001 06:25:41
Message: <3b9de6a5@news.povray.org>
"Tom Melly" <tom### [at] tomandlucouk> wrote in message
news:3b9dd149$1@news.povray.org...
> What is the correct syntax for using f_noise? I've placed
noise_generator 3
> in my global block.
>
> #declare fn_Noise = function{f_noise3d(x,y,z)} // nope
> #declare fn_Noise = f_noise3d(x,y,z) // nope

Stupid question, but have you included functions.inc?

Gail
--
*************************************************************************
* gsh### [at] monotixcoza                *   Step into the abyss,           *
* http://www.rucus.ru.ac.za/~gail/   *   and let go.          Babylon 5 *
*************************************************************************
* Just think of me as the storm before the calm     Magic: The Gathering*
*************************************************************************


Post a reply to this message

From: Tom Melly
Subject: Re: f_noise - I'm confused
Date: 11 Sep 2001 06:42:24
Message: <3b9dea90$1@news.povray.org>
"Gail Shaw" <gsh### [at] monotixcoza> wrote in message
news:3b9de6a5@news.povray.org...
>
>
> Stupid question, but have you included functions.inc?
>

<very_small_voice>no</very_small_voice>


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: f_noise - I'm confused
Date: 11 Sep 2001 08:35:42
Message: <3b9e051e@news.povray.org>
Tom Melly schrieb in Nachricht <3b9dd149$1@news.povray.org>...
>#declare fn_Noise = function{ f_noise3d(x,y,z)} // nope


I used this syntax without problems. A typo perhaps? You did include
"functions.inc", didn't you?

Marc-Hendrik


Post a reply to this message

From: Marc-Hendrik Bremer
Subject: Re: f_noise - I'm confused
Date: 11 Sep 2001 08:36:25
Message: <3b9e0549@news.povray.org>
Oh, to late ...


Post a reply to this message

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