CME342 / AA220 / CS238 Assignment 3

Visualization Program



 
 
MD11 Full Configuration Mesh S3A Full Configuration Mesh

 

A small OpenInventor program that reads the following files:

has been prepared so that you can get a quick view of the graph partitioning that you have performed.   In order to see the outcome of your partitioning, make sure that the three files above are present, and execute the following command:
 
metis_viewer graph npart
You will get a screen with the surface geometry colored by the partition that each portion of the domain belongs to.  Only npart partitions will be displayed.  If npart is larger than the actual number of partitions, the additional partitions will be disregarded.  Note that the files, graph.part, graph.xyz, and graph.surf need to be present in the directory where you execute the program metis_viewer.

The compiled form of the viewer and its source can be downloaded here:

If you want to test it, download the following 3 files: which have already been partitioned in 8 parts, by executing the command
 
metis_viewer oneram6 8
For the Windows 2000 version, after you unzip the file, place the graph.part, graph.xyz, and graph.surf files in the same directory and from the Start button choose Run and type in the command with the full path to metis_viewer. You should get a window that looks somethings like the images below

and

You can play around with the menu that appears by clicking the right mouse button in order to get a variety of rendering options (wireframe, hidden line, solid surfaces, etc.).

Good luck,

JJA
11/7/03

Note
If any of you guys are OpenInventor C++ experts, feel free to modify the program. Please send me an updated copy if you do so, so that we can use a better program the next time around. Thanks.