Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Perlin Noise ==> Images

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

I''ve been looking at perlin noise a little, but I''m a little confused on one point. I have a 3D implementation of the noise function, and it returns values between [-1, 1]. This is great, but I can''t figure out how to go from the noise function to actually generating colorful images. For instance: Marble like this: is generated by doing this with the noise function: I can follow that equation no problem, but how do I use its result to get independent RGB color channels? I''m basically trying to understand how the above picture is more than just grayscale. ----------------------------------------------------- I''m basically trying to throw this into my raytracer, so I can just plug ray intersection points into the noise algorithm and get a diffuse color for my result. Thanks for any help. --Ben

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
A common approach is to apply a colour ramp.

Share this post


Link to post
Share on other sites
When I tried to do colour using perlin noise, I just used a similar function to generate random colour. It hasn''t been perfected yet, but its really early.

--------------------------------------------
Yunalesca: MEGA DEATH!
Anima: *shrugs off Mega Death* PAIN!
Yunalesca: Gahh! You killed me with your EYE!

Share this post


Link to post
Share on other sites

  • 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!