Vous êtes sur la page 1sur 2

+,+ompete+

cally, doing simple computations


Carla's Island Revisited to enhance a limited number of
supercomputer-produced frames.
During my presentation at SIG-
Nelson L. Max G R A P H '81, I proposed that
these simple computations could
Lawrence Liverrnore National Laboratory, P.O. Box 808, also be done on a raster graphics
Livermore, CA 94550, USA
workstation. When Apollo Com-
puter, Inc. planned to announce
A computer animated movie, In making the movie, a cycle of their color D N 6 6 0 at SIG-
titled "Carla's Island", showing 144 ray-traced images was stored G R A P H '82, they requested the
sunset and moonset over the on three magnetic tapes. The data for one frame of my movie
ocean, was recreated as an inter- wave motion was made periodic to use in a " slide s h o w " presenta-
active art installation. so that the last frame could be fol- tion on their machine. I instead
lowed again by the first. Each suggested that we could make a
pixel was assigned one of 256 real-time demonstration and was
The movie "Carla's Island" was numbers, depending on where the invited to spend the week before
produced by ray-tracing on the direct or reflected ray hit the sky, the meeting preparing it.
Cray-1 as described in Max clouds, hills, cliffs, or beach. As It turned out that the D N 660 had
(1981). Figure l a - c are single the film was being recorded, a exactly the capabilities necessary
frames from this movie, showing minicomputer gradually changed to compute the changes a), b) and
the same ocean scene at different the tables which assigned these c) very efficiently.
times of day. The terrain and 256 numbers to their colors ac- First of all, it had two megabytes
clouds are the same in all three cording to the time of day, and of graphics memory connected
views. The only changes are a) the added in the sun or the moon be- with special high speed block
positions of the waves, b) the col- hind the clouds or hills. This mini- transfer hardware ("bitblit").
ors, and c) the position of the sun computer was thus able to cycle This memory was enough to hold
or moon. through the 144 frames automati- two full frames of a 512 x 512 im-

Fig. 1 a Islands, ocean, and clouds in the afternoon, b Scene of Fig. i at sunset, e Scene of Fig. 1 at moonset

The Visual Computer (1986) 2:171-173 171


9 Springer-Verlag 1986
Fig. 2. Top half of two megabit graphics fled clouds and sky in steps 1 and 3 of 7). Note the digits on the top, which are
memory of the D N 660. The refresh area the process for moving the sun. The two copied into the digital clock area
is in the top left quarter. The top right small square work areas and the four
quarter contains a full image, whose m o o n and four sun images can be seen
waves, together with the partial wave-only in the upper right. Of the two square work Fig. 3. The author at the D N 660. The re-
images in the lower half of the picture and areas, the upper shows area 1 after step fresh area of Fig. 2 has been magnified to
in the unseen memory, are copied in order 4). The lower shows area 2 after step 6) fill the screen. Note the plastic cover over
into the refresh area. The upper part of and is identical to the region of the refresh the keyboard revealing only the labelled
this frame is used as a source for unmodi- area onto which it has been copied by step function keys

age, as well as 14 other partial the movie, taking advantage of with subpixel increments. The
frames, showing the portion of the floating point accelerator in logical steps in creating a new sun
the image below the horizon con- the D N 660. position were:
taining the moving waves (Fig. 2). Finally, the motion of the sun or I. Copy unmodified sky and
The first full frame was in the re- moon was accomplished by spe- clouds over old sun position in
gion refreshed by the video, and cial raster operation hardware, refresh area
the lower sections in the other 15 which can combine two images 2. Copy sun to work area 1
frames formed one complete cycle according to boolean operations 3. Copy unmodified sky and
of wave motion. The bitblit was on their bits. The upper portion clouds at new sun position to
fast enough that if it started trans- of the second full frame was used work area 2
ferring one of these bottom sec- to keep the data for the sky and 4. Blank clouds from sun using
tions into the refresh area when clouds, unmodified by the sun or area 1 = area 1 a n d n o t area 2
the video started refreshing the moon. In unneeded portions of 5. Blank sun from sky using area
top of the frame, the transfer this image were two square work 2--area 2 a n d n o t area 1
would be complete before the re- areas and four small square anti- 6. Combine sun, sky, and clouds
fresh reached the area with the aliased images of the moon and using area 2--area 2 or area 1
waves. Thus, the video picture four of sun (Fig. 2). The four im- 7. Copy sun, sky, and clouds to
could be changed smoothly with- ages of the sun or moon had new position in refresh area
out glitches. centers at (0, 0), (0, 1/2), (1/2, 0), Using the methods just described,
The color tables were recomputed and (1/2, 1/2). This made it possi- the D N 660 was able to animate
with the same program used for ble to move the center smoothly the sunset and moonset just as if

172

Vous aimerez peut-être aussi