next uppreviouscontents
Next: Tutorial # 2: Simple Up: Brief Tutorials. Previous: Brief Tutorials.

Tutorial #1: Visualizing Data Sets.

Data Set 1  

Give the command `g3d DataSet1.g3d'. This data set (see Appendix II) has the format described in `FILE_FMT.doc' (see also Appendix I) and is a good illustration of the simplicity of the data format.
Choose Tools tex2html_wrap_inline394 Slice to bring up the Slicer Widget. Slice through the data by using the forward/back arrows or by entering the slice index directly in the text field. Select x, y and z slices of 2, 3 and 3 respectively. Select the Zoom icon in the Main Drawing Window and use the mouse in the Drawing Area to change the view as described in Section 2.2.
Choose Tools tex2html_wrap_inline394 Contour to expose the Contour widget which is used to draw isosurfaces. Select the Cell Contour toggle, enter the range From .2 to .7 into the text fields, and select Redraw. The cells with values in this range will be drawn. When done, toggle Cell Contour to `off'.
Select Contour, enter a value of .2 into the text field and to produce the image in Figure 2.

Figure2: Tutorial #1 - Data Set 1

Figure2: Tutorial #1 - Data Set 1

Changing the slider bars for opacity and contour value will produce different effects. To change the lighting model option, select Draw tex2html_wrap_inline394 Lighting tex2html_wrap_inline394 Front.
Select File tex2html_wrap_inline394 Exit when done.

Data Set 2 

For a more interesting data set, select `DataSet2.g3d' by giving the command `g3d DataSet2 .g3d'. You may choose various options to view and post-process the simulation. Begin, for example, by choosing a right-handed coordinate system from the widget (Draw tex2html_wrap_inline394 Coord. System).
To provide a translucent overlay wrapped to the top surface of the grid, use the Image button of the Slices widget to load the image `topo.ppm' which is included in the downloaded tar-file. Do this by selecting the slice z=1 from the Slices widget and toggle the radio-button I  to the right of the z=1 text field. The Opacity may be changed using the slider bar. Select other slices to show the griding (e.g. choose x=51, y=41) and change the view using the mouse buttons as described in Section 2.2.
Change the z slice to 31, and x and y slice text fields to 40 and 1, respectively. Select the menu option Edit tex2html_wrap_inline394 Material tex2html_wrap_inline394 Regions and in this widget choose Display: Selected. Select the `tan clay' region ( (1,1,8)-(51,41,10) ) from the list of material regions. Animate in time using the time control widget in the Main Drawing Window. Adjust the application of the color map, by use of the text fields for the minimum and maximum.
To add isosurfaces, choose Tools tex2html_wrap_inline394 Contour to expose the Contour widge. Select the first Contour, enter a value of .003 in the text field and set the Opacity to 60%. Changing the slider bars for opacity and contour value will produce various visual effects. Select the second Contour, enter a value of 1.e-4 in the text field and set the Opacity to 40%. The lighting model option should be set to Draw tex2html_wrap_inline394 Lighting tex2html_wrap_inline394 Front.


A sample rendering of the actions produced by this tutorial is shown in Figure 3 and on the front cover of this manual.

Figure 3: Tutorial #1 - Data Set 2

Figure 3: Tutorial #1 - Data Set 2

Select File tex2html_wrap_inline394 Exit when done.


next uppreviouscontents
Next: Tutorial # 2: Simple Up: Brief Tutorials. Previous: Brief Tutorials.

Robert Sharpley
Tue Dec 9 10:30:18 EST 1997