Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!iear.arts.rpi.edu!kyriazis From: kyriazis@iear.arts.rpi.edu (George Kyriazis) Newsgroups: comp.graphics Subject: Re: Ocean Synthesis HELP!!! Message-ID: <&3_#DC&@rpi.edu> Date: 2 Mar 90 03:38:16 GMT References: <597.25ecdb1f@brb.isnet.inmos.co.uk> Organization: Rensselaer Polytechnic Institute, Troy NY Lines: 38 In article <597.25ecdb1f@brb.isnet.inmos.co.uk> isacreman@brb.isnet.inmos.co.uk writes: > > Hi Folks, > > > I am unsuccessfully trying to produce a C program from an article in >IEEE CG&A March 1987. The article is titled 'Fourier Synthesis of Ocean >Scenes', written by Gary Mastin, Peter Watterberg, and John Mareda. > > I have produced a working program from the algorithm described in the >article, but the data obtained from this program is, as far as I can >tell, wrong (ie. changing the white noise produces white noise). > > Has anybody successfully implemented this algorithm and produced screen >pictures ?????? (and even animated these pictures?). > Yes, I have used some 2-d fft routines a friend of mine wrote for his Master's project (I think) to produce pretty realistic images. I did the ray tracing on a pixel machine. I tried to animate them also and the result wasn't that bad. > If so, could they mail a working program (preferably in C or Pascal) or >good Pseudo-Code or describe how they coded the algorithm. Anything, I just >need Help!!! > Well, the algorithm isn't anything complicated. The only thing I had to code was the filter generator. The rest was implemented as a unix pipe: fftr