Perlin Noise ==> Images

Started by
1 comment, last by atreyu 21 years, 1 month ago
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
Advertisement
A common approach is to apply a colour ramp.
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!
With love, AnonymousPosterChild

This topic is closed to new replies.

Advertisement