Examples of this type of data include:
GridZilla is at this time a quality piece of work, however it is not very full featured. Programs such as AVS or OpenDX have much more code for the visualization of this kind of data. Although we would love and to add more features to GridZilla, such as streamlines, the handling a two dimensional data, a more math operations for modifying grids, and the output of new grids, the current feature set is sufficient for most of the needs of the people the Modelzilla framework was written for. If the situation changes GridZilla may be expanded.
GridZilla makes use of the VisAD library for its iso-surfacing visualization. In the future we hope to use the abilities of the library more fully.
At this time GridZilla can read only three file formats. All of these formats are oriented towards the field of molecular biology. Interestingly, all these formats express exactly the same thing. The people that wrote the software that generate these files seemed to make no effort at all to look towards outputting the existing standards, and quite irresponsibly made up their own ad-hoc file formats. VisAD can read several file formats as well, most importantly the NetCDF format, which is becoming something of a standard format for expressing grids. If there is a need for it, GridZilla can be made to handle the NetCDF file format, since there are numerous programs that convert various ad-hoc grid formats to this format.
Currently the readable grid file formats include:
Another limitation of GridZilla at this time is that the grids must be linear. This means that the values must be in a regularly spaced array.
Using GridZilla generally involves these steps:
| To load a new grid from a file, go to the "Grid" panel and use the "New Grid" function. This brings up a file entry dialog box. You may open files only in the formats given above. Hit the OK button in the file dialog and grid date is loaded into memory. An abstract visualization of the grid is put the viewport that shows the grid's boundaries in space and sample size. | ![]() |
| If you don't care about some of the grid data of an existing grid, GridZilla has the ability to slice the existing grid from any one of its six bounding faces. This process is exactly analogous cropping an image viewing program. To create a sliced grid use the "Slice Grid" function. This function will create a new grid that initially will have the same bounding faces as the original grid. To change the bounding faces go to the properties of the sliced grid and selecting the one of the max_x, max_y, max_z, min_x, min_y, min_z properties. If you select the "handle" check box, a graphical handle is added to the viewport, that lets you change this slice position in a convenient way that has a nice tactile feel. | ![]() |
All of the visualizations have three parameters in common:
|
The iso-surface visualization puts a surface through the grid everywhere
an interpolated grid sample is equal to the user specified iso-value. The
surface forms the boundary between the volume greater than the the iso-value,
and the volume less than the iso-value. Once the iso surface object is
created you may want to adjust some parameters, especially the iso-value.
Parameters:
|
![]() |
|
The planar section visualization slices a planar surface through the grid.
The surface is colored by the local value of the grid it slices through.
This visualization allows you to sweep a plane to the grid volume to get
a feel for the shape of the value distribution.
Parameters:
|
![]() |
|
The general section visualization slices an existing geometry through the
grid. This geometry could be created with Vincent Van Mol, CAD-Zilla, or
another application module. It is possible to duplicate the planar section
visualization by creating a plane with CAD-Zilla and slicing this through
the grid using the general section function. The general section object
is simply a new copy of the slicing geometry with a color map applied to
it's surface. The colors are determined by the local value of the grid.
To create a general section, first select the geometry to section, then
hit the General Section button. This will create general section object
and that looks at the current grid and geometry have previously selected.
Parameters:
|
![]() |
|
The point cloud visualization distributes a cloud of points throughout
the volume of the grid. Points are colored according to a color map object.
The point clouded visualization is similar to the general section and the
planar section, except that the sectioning geometry is a cloud of points.
This visualization is actually nice to see entire contents of a grid at
one time.
Parameters:
|
![]() |
|
The iso curve initialization draws a set of curves through a set of iso
values confined to a plane. This is equivalent to the familiar topological
map. The iso curve has essentially the same purpose a planar section
visualization, but it is to compute.
Parameters:
|
![]() |
|
Several of the visualizations offered by GridZilla associate grid values
to color. A color map object is used to control this mapping. Each
visualization may look at a different color map object, or they may share
color maps. If any one of these visualization is created and there no
color map in existence, a color map object is made and added to the color
map control panel. By default all visualizations will share the first
color mapping object created. However using a color map control panel
is possible to create a new color map object. This will then be the
current color map and it will be the one that new visualizations will
look at.
The color spectrum is done by and making a smooth spline between any number of control points in the HSV domain. The color control points are called "ducks". The default color spectrum has a duck at the beginning and the end. It is possible to add and remove ducks with the "Add Duck" and the "Remove Duck" function. The ducks are represented by white bars on the vertical color spectrum bar to the left of the color map control panel. If you select on of these white bars the duck becomes the current duck and you may change its HSV value with the hue saturation and value sliders. The beginning and end of the color spectrum represents the maximum and minimum values of the grid. It is possible to change the minimum and maximum using the gridMin and gridMax settings in the color map control panel. If most of the interesting grid data is within a narrow range is usually smart to change these values to surround this narrow range because the color mapping will then have a greater variation within this range. Grid values outside of the maximum and minimum range will be considered the same as the minimum of if they're under, or the maximum if they're over. The color corresponding to a grid value is computed in a two-stage process. The first stage maps to grid value to a point on the color spectrum range. This mapping is linear by default, but is possible to change the shape of this mapping by dragging the mouse in the area to the right of the color spectrum. By doing so is possible do such things as making a sharp change in color value at a certain grid value. The second stage looks up the color at this point on the color spectrum. To see the color mapping updated in the visualization object in the view port you need to hit the "Apply" button. Changes made to the color map are not applied automatically because this application usually takes several seconds. So you get the color map right first, then hit "Apply". |
![]() |