POV-Ray : Newsgroups : povray.advanced-users : Need Help with Noise Macro! : Re: Need Help with Noise Macro! Server Time
26 Sep 2024 17:45:30 EDT (-0400)
  Re: Need Help with Noise Macro!  
From: Tor Olav Kristensen
Date: 18 Jan 2001 21:20:57
Message: <3A67A45F.95872931@online.no>
Lonnie Ezell wrote:
> 
> I've got what I believe should be a working POV macro for Perlin noise (2D
> only, currently). After fixing a number of typographical errors, it now
> crashes whenever I try to use it.
> 
> I was wondering if someone would be willing to look at the code for me.
> 
> If you're up to it, either post here, or write me at kil### [at] homecom.

I have just posted a modified version of your Perlin 
Noise code to povray-text.scene-files:

news://news.povray.org/3A679CD3.CB5F8C27%40online.no


I have tried to keep things simple and in one file only.

Some modifications has also been done to the macros so
that they only modifies arguments that are passed them.

I'll have to agree with Vahur that the main problem 
seems to be your ED_NOISE_Rand_2D macro. It needs to 
be rewritten.

But I'm not sure if the built in noise3d() is suitable 
for this purpose (i.e. to be used within ED_NOISE_Rand_2D).

It might be that your ED_Noise_Init macro also needs to 
be rewritten.


-- 
Best regards,

Tor Olav

mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html


Post a reply to this message

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