Wednesday, April 18, 2012

Make 3D perlin noise function from 2D function

So, I am trying to plot abstract shapes that change with time using openGL. For that, I want to use the Perlin noise funtion. This code (http://www.sorgonet.com/linux/noise_textures/) is a just perfect start for me, except for the fact that the function found here takes only two coordinates. I want one that takes two spacial coordinates, and a third one, that will change with time.



My question is: is it possible to adaptate this function to work with one more coordinate?





No comments:

Post a Comment