quick perlin noise question

Started by
2 comments, last by Shai 19 years, 2 months ago
do you smooth and then interpolate or interpolate and then smooth?
"It's better to regret something you've done than to regret something you haven't done."
Advertisement
I know you interpolate for perlin noise, but where does 'smooth' come into it?
"In order to understand recursion, you must first understand recursion."
My website dedicated to sorting algorithms
float center = temp[x][y]/4.0f;float sides = (temp[x+1][y] + temp[x-1][y] + temp[x][y+1] + temp[x][y-1])/8.0f;float corners = (temp[x+1][y+1] + temp[x+1][y-1] + temp[x-1][y+1] + temp[x-1][y-1])/16.0f;


and that for every pixel
"It's better to regret something you've done than to regret something you haven't done."
nm, I think I found it :)
"It's better to regret something you've done than to regret something you haven't done."

This topic is closed to new replies.

Advertisement