Export to GitHub

caseman - issue #3

3d simplex noise produces unscaled values


Posted on Aug 14, 2009 by Grumpy Giraffe

What steps will reproduce the problem?

>>> import noise >>> noise.snoise3(1,1,1,2) -24867311190016.0

What is the expected output? What do you see instead? I would expect the result to be between 0 and 1 like the other noise functions. This is only a problem when using more than one octave.

What version of the product are you using? On what operating system? noise-1.0b3 on Gentoo

Please provide any additional information below. A patch for _simplex.c is attached

Attachments

Comment #1

Posted on Aug 19, 2009 by Swift Camel

Will look into this, thanks!

Comment #2

Posted on Aug 19, 2009 by Grumpy Giraffe

Thanks for putting the library out there. Beats the hell out of my pure python implementation.

Status: Accepted

Labels:
Type-Defect Priority-Medium