Jump to content
  • Advertisement
Sign in to follow this  
ChristOwnsMe

LibNoise question

This topic is 2199 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey. How do I specify a range of valid sound? I want to be able to enter very large x,y,z values(between -12 million to +12 million) and still get coherent noise.When I specify values this big though I always get zero. I am very new to noise, so thank you for any help.

Share this post


Link to post
Share on other sites
Advertisement
If you are calling the functions with (x,y,z) coordinates that are integers, and the basis function is Perlin's gradient noise, you are going to get 0. Gradient noise is always 0 on the integer lattice, due to the way the noise is generated. You can tinker with the frequency parameter of any fractal functions to get better results.

Share this post


Link to post
Share on other sites
Ah I see thank you for the info. I am very new to noise and trying to piece things together as I go. Basically I have a cube of points(12million^3), and I want to be able to call a noise function for any point in this cube and get a coherent noise value. How would I go about doing this?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!