ENGR/CSCI 8840: HOMEWORK 6

Visualization with OpenDX

The objective of this assignment is to visualize a 2D dataset using OpenDX.

OpenDX is an extremely powerful data visualization tool. The downside is the steep learning curve. In this homework, you will create a vision of a 2D dataset with a few extra options.

Task 1: Create the dataset.

First part: Use cimage to create the dataset as follows: Go to Special, then Generate. Choose DLA cluster. Leave the image size at 512, but increase the number of particles to 6000. Start the process. Once the DLA is generated, edit the data type to 8-bit uchar, threshold the image (binary, threshold value=1) and save the image two times: As TIFF and as DX.

Second part: Let's assume that the DLA aggregate is an electrode in a petri dish and compute the electrostatic potential for this arrangement. Still in cimage, choose Special and Potential Operator. In the dialog, leave everything untouched except SOR, which you set to 1.8. Hit OK to start. Since by default the inner electrode is ground, invert the resulting image. The center (of the approximate shape of the DLA) should now be white. Save this image both as TIFF and as DX.

Visualize this image as 3D surface using cimage. Use Special, then 3D surface view (GL). Increase Z scale and turn on spotlight illumination. Your rendering should look like the image below. Save the scene image with a ".png" suffix, for example dla_scene.png.

Alternatives: You may choose alternative "scenes" to visualize as long as it encompasses the merging of two distinct parts (as in the example above the DLA cluster and its potential field). A color bar should be included. Some suggested examples:

Task 2: Create the vision with OpenDX.

Create a rendering of this dataset by using OpenDX. You may start in "autopilot" mode, but the network should be tidied up so that all unused parts (inquire, glyphs, isosurface) are removed.

For the example above, the result should look as follows:

Note how the DLA cluster (in white) is superimposed over the electrostatic potential level, and how a colorbar has been added. If you choose your own scene, similar features should exist.

Hints and tricks:

Due date

The homework is due on 05/05/16 in by e-mail.