Razaekel / noise-rs

Procedural noise generation library for Rust.
Apache License 2.0
854 stars 120 forks source link

Unexpected smooth noise in unreleased version #334

Closed vallentin closed 5 months ago

vallentin commented 1 year ago

I was in the need for #308, so I used the repo as a git dependency. I noticed, that the output is vastly different all of a sudden.

Using Fbm<OpenSimplex>, then noise = "0.8" produces:

20230829_014111

While using noise = { git = "https://github.com/Razaekel/noise-rs" } produces:

20230829_014037

The unreleased version produces an output that is a lot more smoother, with a much smaller output range. I took the noise value and scaled it by val = noise.get([x, y]) * 0.75 + 0.5, then I used val as the input for a jet colormap.

I would almost say, the unreleased version produces a noise output, that looks like the Fbm isn't even used, and it's just OpenSimplex.

I understand that I'm using unreleased code, but I just wanted to address it, in case this wasn't noticed, and is unintentional.

PrinceOfBorgo commented 7 months ago

The problem should have been solved as part of #342 (merging commits of #339)