Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Scenes
Gary A. Mastin, Peter A. Watterberg,*
and John F. Mareda
Sandia National Laboratories
S cene synthesis has become very popular in having added noise. Ocean waves, however, are not
commercial movie production, flight simulators, simple sinusoids or the superposition of simple
architectural planning, and the graphic presentation of sinusoids. Neither are they fractal surfaces having the
mathematical entities. In the quest for realism, the art of same fractal dimension in all directions. They are
scene synthesis has progressed from line drawings to complex waveforms born of the momentum transfer
shaded polygon tilings to fractal surfaces. Fractal from wind. Ocean waves develop changing profiles due
terrains"3 represent a major step in our ability to to fetch (the distance along open water over which the
synthesize natural-looking landscapes. Natural scenes, wind blows), air-sea temperature difference, variations
however, consist of more than landforms. Water plays an in surface roughness, and alterations in the vertical wind
important role. profile. Furthermore, they transfer energy between
Past attempts at rendering water have been hampered
by overly simplistic views of water. Max4 and
Schachter5 had some success at modeling ocean waves 'Peter Watterberg is currently employed at the Savannah River Laboratory,
as the sum of a limited number of sinusoids, possibly which is run by Dupont for the Department of Energy.
500000-
400000-
3 300000-
0
200000-
100000 -
0
0.000 0.005 0.010 0.015 0.0200. 0.025 0.030
FREQUENCY (Hz)
Figure 2. The frequency response of the 1/f filter used in generating the mountains in Figure 1. The lower
frequencies correspond to the basic shape of the mountains while the higher frequencies give them roughness.
March 1987 17
MODIFIED 1/f NOISE FILTER
FRACTAL DIMENSION IS 2.1
300
260
200
w
¢ 150 \
0
0.
100
60
O-
0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50
FREQUENCY (Hz)
Figure 3. The same 1/f filter as in Figure 2, but with Gaussian attenuation of the lower frequencies.
18 IEEE CG&A
constant = 0.0081, and g = gravitational constant. The al.13 differs from the more traditional cos20 distribution
peak frequency fm is directly related to the wind speed in two ways. First, it creates a narrower profile near the
at a height of 10 m above the sea surface, u1o, by the peak frequency in the downwind direction of the spec-
expression, trum. This modification is in keeping with additional
experimental evidence. Secondly, it attenuates the peak
fm = 0.13 g / u10 . (2) frequency and forms a bimodal spectrum shape for
The significance of this model is that the one- angles nearing 90 degrees from downwind. The effect is
dimensional (in the direction of the wind) spectrum of to suppress the long-crested peak frequency components
a fully developed wind sea may be calculated from Equa- that would run parallel to the wind direction, while
tion 1 using the wind speed, ul0. retaining nonpeak frequency components.
The assumptions inherent in Equations 1 and 2 should A one-dimensional profile of the modified Pierson-
be stated. First, we are assuming fetch-limited wave Moskowitz spectrum computed for a wind speed of 15
growth in deep water with a constant wind field. Fetch- m/s is shown in Figure 4. This profile was extracted in
limited wave growth is divided into three time stages: an the downwind direction which, in this case, was 45
initial growth stage, a transitional stage, and a late stage degrees. Note that the frequency axis has been normal-
where growth is strongly reduced. The latter stage ized by fm and is therefore nondimensional. This is
applies here and is referred to as a fully developed wind- done to provide a reference spectrum often used to com-
sea state. The upper limit of a fully developed sea is wave pare a variety of empirical data. The frequency scale
breaking, a condition not covered here. independence should not be misunderstood as a betrayal
Second, aerodynamic drag does not remain constant, of the physical parameters, which are assumed in the
but changes with wind speed and sea state.10'11 A con- model and are scale sensitive.
stant drag coefficient of C1o = 1.8x1O- assumed here is Probably the most significant reason for performing
valid for a wind speed ulo = 15 m/s. It is approximately frequency normalization when comparing empirical
valid for wind speeds between and 10 and 20 m/s. data is fetch. The fetches generating empirical data,
The Pierson-Moskowitz spectrum, with minor modifi- whether from the field or in laboratory experiments, are
cations,12 is still considered to be a valid model for fully "long," but "long" is a relative term. Komen et al.'2 note
developed seas. Hasselmann et al.'3 suggested a two- that the high frequency part of a fully developed sea spec-
dimensional spectrum, trum is nearly fetch independent. This is not true for the
lower frequencies. The peak frequency varies inversely
F(f,O) = FPM(f) D(f,O), (3) with fetch, however, within the wind speed limits of 10
to 20 m/s, the shape of the fully developed wind-sea
based on the Pierson-Moskowitz model, where D(f,e) is spectrum does not vary appreciably. Normalizing by the
a directional spreading factor that weights the spectrum peak frequency becomes a standardization technique for
at angles 0 from the downwind direction. The spreading generating a reference spectrum.
factor is defined by the relations,
D(f,O) = N -1 cos2p(0/2) (4) Implementation
p
Synthetic ocean images may be generated from white-
where noise images in a very straightforward manner using the
forward FFT, a filter based on Equation 3, and the inverse
p = 9.77 (f/fm) FFT. These steps were implemented on a VAX 11/750
minicomputer. The FFT used here is a mass store two-
4.06 dimensional FFT provided in the IEEE signal-
processing package.14
As= { (5) The white-noise image is generated by adding uni-
-2.34 f > fm formly distributed noise, having intensities between
-127 and 127, to a constant intensity image of gray level
128. This results in random gray shades between 0 and
and the normalization constant 255, inclusive. Figure 5 is an example. A two-dimensional
forward FFT is performed on the image to generate a
N -
2 1-2pn r(2p+1)/r2(p+1) (6) magnitude and a phase image. The result of the FFT is
a complex number file. The magnitude and phase
images are created by the operations,
is defined such that J,-r
DdO - 1.
MAG = SQRT( REAL2 + IMAGINARY2 ) (7)
The frequency associated with the peak power is f11
The spreading function suggested by Hasselmanrn et and
March 1987 19
MODIFIED PIERSON-MOSKOWITZ SEA SPECTRUM
WIND VELOCITY = 15 m/s AT 10 m HEIGHT
DOWNWIND
1-
0.8-
cc
w
o 06-
w
N
< 0.40
0
z
0.2
PHASE -
Arctan ( IMAGINARY / REAL ), (8)
20 IEEE CG&A
Figure 6. The FFT magnitude of the image in Figure Figure 7. The Fourier-domain filter based on the
5. modified Pierson-Moskowitz spectrum model for u10
= 15 m/s at 45 degrees.
March 1987 23