Jump to content
  • Advertisement

Question on working with noise results

Recommended Posts

Hi, everyone!

I recently decided to dig a little deeper into Perlin's rabbit hole.
So far, it's working out nicely. But now, I struggle with things that come on top of that.
Simply put: how will I get the most out of that?

To keep things easy and visual, let's pretend, I'd plot the results onto a texture.
Let's also say, I'd have some pre-defined value ranges like for example 0-.33 would get a red pixel, .34-.66 a green one and .64-1 would get a blue one.
So we'd now have a texture with clear shapes of either one color, right?

Now, my question would then be: Is there a CPU-friendly, algorithmic way to
a) get some information about those shapes (like their center point, area and perimeter).
b) tell something about any given point within those areas (like their distance to the nearest border or to the center)

Thanks a lot! :)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!