bility to handle complex animations and fluid simula-
tions.
To overcome these limitations, we decided to use
Maya because of its ability to produce compelling
visualizations with minimal programming. Further-
more, Maya has a robust fluid simulation system
and the ability to store artist created presets, which
novices can easily access. This fluid system proved
to be the ideal solution for simulating space dust and
gases.
4 MAYA
Maya is a high-end 3D animation program capa-
ble of producing stunning visual graphics. A major
shortcoming is that it takes a considerable amount of
time and training in order for an individual to pro-
duce these images. Through the Miegel (i.e. Maya-
Spiegel) interface that we created, the user can take
preset files created by an expert in the use of Maya
and insert them into the scene with relative ease. Us-
ing the controls provided in the Miegel interface, the
user can also customize the visualization by simply
adjusting various attributes.
In order to produce the visual effects of space
dust and gases, we utilized Maya’s fluid simulation
system. Through the careful application of noise at-
tributes and color gradients we were able to construct
cloud shapes that were much like those seen in galac-
tic imagery. These settings were then saved as presets,
which allow for faster render times and greater con-
trol. These types of presets can easily be loaded and
adjusted by a novice user to quickly create appealing
visualizations.
Another powerful feature that Maya provides is
the ability to map an image onto a fluid. This is done
by using the color values of the image to represent
specific densities in the fluid. Maya’s fluid simulator
can then use this information to produce the effect of
vortices and cloud formations (Brinsmead, 2007). We
were able to add further detail and realism to the fluid
simulation through the use of photographs of various
cloud formations made available through the National
Oceanic and Atmospheric Administration, as well as
other open source venues. This same technique can be
applied for any photographed astrophysical phenom-
ena, allowing for an added degree of dimensionality
to the visualization. By utilized Maya’s wide array of
physically accurate modifiers, we were able to manip-
ulate the fluid as if it were acted upon by forces found
in space.
5 MIEGEL
Miegel is a software interface designed to integrate
Maya’s rendering capabilities with Spiegel. Miegel
was created because the existing solutions provided
by OpenGL and RenderMan
R
were too complicated
for novices to use since they required significant pro-
gramming experience. The process of adding new
types of effects to the visualization pipeline, for ex-
ample, required many hours of implementation, test-
ing, and debugging. Miegel accomplished this by us-
ing the options available through Maya to produce
stunning visualizations, which in tern require less pro-
gramming hours. In addition, Miegel aimed to allow
for visuals produced by a 3D graphics artist to be eas-
ily integrated into the visualization. With Miegel, the
task of creating visual effects such as those seen in
professional productions as well as the process of in-
tegrating them into the visualization is greatly sim-
plified. This is done by the user interface in Miegel,
which allows for visuals produced by a 3D graphics
artist in Maya to be easily integrated into the visual-
ization through a drop-down menu. The applicable
attributes of the specific preset are then displayed for
the user to modify, giving the user full control over
the aesthetics of the finished rendered image.
Miegel works by producing a MEL (Maya Em-
bedded Language) script and a data cache PDC (Parti-
cle Disk Cache) and passing them to Maya. The MEL
script contains information about the objects Maya
should create, such as color and luminance values for
the given particles, as well as scripts to import addi-
tional scene files. The PDC is a raw file format used
by Maya as a way of caching information about the
particles. The cache maps attribute information about
particles to disk allowing for faster drawing of par-
ticles, versus having to re-calculate the positions for
each particle for each frame (Center, 2005). The PDC
contains the vector data for the particles that repre-
sent the stars in the simulation. Maya can then ren-
der this out into a batch of image files, which can be
at full HD resolution (in contrast with the previous
solution which could only produce standard resolu-
tion images). The big advantage with this system is
that Miegel automates most of the process and allows
users unfamiliar with Maya to still take advantage of
its powerful capabilities.
Figure 5 illustrates the Miegel architecture. A
MEL script is a language provided by Maya that
allows users to create macro programs to automate
many of Maya’s functions and operations. Because
the Maya GUI is itself written in MEL, any operation
that can be performed by a human using Maya can
also be programmed in MEL. This means that a pro-
PHOTOREALISTIC RENDERING OF SCIENTIFIC DATA
721