Jump to content
  • Advertisement
Sign in to follow this  
mike74

perlin noise

This topic is 4857 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

Let's say you are writing a 3d procedural texture generation function like so: Color texturegen(float u, float v, float w); where Color is defined as such: struct Color { float red, green, blue; }; If you decide to use Perlin noise for the function, is there going to be a steep memory requirement? I saw an example that used an array of size 64x64x64, but I'm not sure if it was really necessary. Mike http://www.coolgroups.com/forum

Share this post


Link to post
Share on other sites
Advertisement
A typical, unoptimized perlin implementation does not use more than half of the memory used by the end result.

An optimized perlin noise can theoretically run in constant space (that is, the memory used to create the data does not depend on the size of the result), but is slower than the normal version.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!