   Using Perlin Noise
  Hey guys,I am confused on how to generate waves using perlin noise function. I have beenreading about perlin noise from this site , http://freespace.virgin.net/hugo.elias/models/m_perlin.htmI also searched this site about it, and learned that that website does notaccurately describe perlin noise. Instead its like an approximation. Anyways, I want to generate waves using the noise function provided. I have a vague idea,but definitely not enough to get started. So imagine I have a flat 3d grid.I would like to apply some function that calculates the height of a point in thatgrid. This height would effectively simulate a wave of some sort. So any ideason how to generate waves?   
  If you only have a vague idea, then you need to reread that page again, maybe twice. There's nothing anybody here is going to tell you that is going to make it any easier.That page looks clear with lots of pictures, examples, code, and a full implementation. What more are you possibly hoping for here?   ;  Well I understand that the noise function presented there could be used asa heightmap. But using raw noise values would not produce good effects, thusthey present interpolation for those raw noise values. The part I am notsure about is how to use those values to generate waves. For example do weapply the interpolated noise as the height for each point in the grid, and thenmaybe assign the height at point (i,j) to the vertex (i+1,j) or (i,j+1) or something. I just need an idea on how to use it to produce the waves. But I guess, I will re-read the site again and not skim over this time. Thanks for theresponse.   ;  The problem is how to animate the wave over time? Or just what?   ;Quote:Original post by ZahlmanThe problem is how to animate the wave over time? Or just what?Yes.   ;  Write your perlin noise function using three dimensions (discussed on the page you posted).  Use the third dimension as time.   ;  note that, even though Hugo gives a good introduction, it's not perlin, but value noise.   ;Quote:Original post by phresnelnote that, even though Hugo gives a good introduction, it's not perlin, but value noise.And that's a shame since it's one of the more commonly suggested articles on perlin noise.   ;  Does anyone have the enxtension of 3d perlin noise. I can try and test my own,using magic numbers, but I figure there has been some well tested ones outthere already so why not use them. Thanks   ;Quote:Original post by ConcentrateDoes anyone have the enxtension of 3d perlin noise. I can try and test my own,using magic numbers, but I figure there has been some well tested ones outthere already so why not use them. ThanksBasically, one only adds additional dimensions in the lookup formulas, which is not really harder than adding a dimension into a C-style array (I mean, e.g., surface[x+y*width], volume[x+y*width+z*width*depth], like that).   