verpeteren / rust-simd-noise

SIMD noise library for Rust
https://crates.io/crates/simdnoise
251 stars 20 forks source link

Provide start offset #53

Closed AJLProjects closed 1 week ago

AJLProjects commented 1 year ago

This isnt really an issue so you can close it, but just wondering if it is possible to provide an offset. I have a minecraft clone, and the chunk needs to continue from the last one.

AJ213 commented 6 months ago

there is _offset variations when you use the noise builders (e.g. gradient_3d_offset). I am also doing the same thing as you and I am finding the noise builders to be very helpful for performance

verpeteren commented 1 week ago

@AJLProjects : @AJ213 is right. You can use the _offset function variants or the NoiseBuilder . Take a look at the example for inspiration how to use the NoiseBuilder.

I'll close this issue now.