Download presentation
Presentation is loading. Please wait.
Published byMeryl Gilmore Modified over 9 years ago
1
http://vistools.npaci.edu/ Visualization Services Group Steve Cutchin – Manager Amit Chourasia – Visualization Scientist Alex DeCastro – Visualization Scientist
2
http://vistools.npaci.edu/ Overview of Tools Mesh Viewer – Interactive Volume Viewer Vista – Volume Renderer
3
http://vistools.npaci.edu/ What is Mesh Viewer? Interactive volume viewer Load and view volume data Apply color maps to scalar data Save camera viewpoints and paths Connect to Vista to render a volume
4
http://vistools.npaci.edu/ Steps to Use Mesh Viewer 1.Describe the volume dataset 2.Load the volume into Mesh Viewer 3.Select a color map and opacity transfer function 4.Select a camera viewpoint 5.Render the volume with Vista
5
http://vistools.npaci.edu/ Step 1: Describe the volume dataset Example volumes from the GEON group Volume files located at: –tg-login1:/gpfs/geon.e3d/0928164226.000/volume1.XXX0.3DSMPI –200 volume time steps: 001 to 200 Volume format: –Resolution: 274 x 125 x 442 (slow to fast) –Voxels: scalar floating-point number –Min-max Range: -0.0001 to +0.0001 –36 byte header
6
http://vistools.npaci.edu/ Step 1: Describe the raw volume Use a header file to describe the volume Datafile: C:/data/geon/volume1.0250.3DSMPI Resolution: 274 125 442 VoxelType: SCALAR FieldType: FLOAT MinVal: -0.00001 (range of interest) MaxVal: +0.00001 ByteOrder: LSB SkipBytes: 36
7
http://vistools.npaci.edu/ Step 2: Load the header volume file into Mesh Viewer Using a standard file chooser
8
http://vistools.npaci.edu/ Step 3: Create a color map and opacity transfer function The default color map is VIBGYOR, reverse rainbow Opacity transfer function is a V-shape, so that zero values (green) are transparent
9
http://vistools.npaci.edu/ Step 3: Select a color map and opacity transfer function Blue to Red Color Map Negative values are mapped to Blue Positive values are mapped to Red
10
http://vistools.npaci.edu/ Save to Color Map File Blue to Red color map file: # SDSC MeshViewer-Vista color map file ColorMapKnots: 3 Knot: 0.0 0.0 0.0 1.0 (Blue) Knot: 0.5 0.0 0.0 0.0 Knot: 1.0 1.0 0.0 0.0 (Red) OpacityMapPoints: 3 (V-shape function) Point: 0.0 1.0 Point: 0.5 0.0 Point: 1.0 1.0
11
http://vistools.npaci.edu/ Step 4: Select a camera viewpoint
12
http://vistools.npaci.edu/ Camera File Save viewpoint to camera file # SDSC MeshViewer-Vista camera file CameraWindow: -0.0414 0.0414 0.03105 -0.03105 (view frustum) CameraClipping: 0.1 0.2 10.0 (near and far clipping planes) CameraMatrix: -0.6989149439603387 0.011896984783295261 0.7151058403216444 0.0 -0.4173230704777921 - 0.8187834937827949 -0.3942525144573973 0.0 0.5808264421977076 -0.5739791390478042 0.5772249058919149 0.0 0.9258084413238429 -0.8096295572294344 0.9728538996344641 1.0 (view matrix)
13
http://vistools.npaci.edu/ Step 5: Render the volume with Vista Run Vista on Teragrid –Copy the color map files and camera file to the Teragrid machine and run Vista Connect to the Vista server –Transmit color map and camera viewpoint to directly to Vista
14
http://vistools.npaci.edu/ Vista Volume Renderer Play rendered animation
15
http://vistools.npaci.edu/ Tools built on Scalable Visualization Toolkits (SVT) 1.Vista – Volume Renderer 2.Compositing with z buffered images 3.Mixing volumes (create multi-variables volumes, magnitudes) 4.Histogram for volumes 5.Minmax probe in Volumes 6.Create test Volumes 7.Ppm to mesh 8.Resample 9.RGB to Scalar 10.Mesh Convert 11.Format Info
16
http://vistools.npaci.edu/ Vista It is a multithreaded, platform independent, scalable and robust volume renderer. It allows users to do volume rendering of datasets even those that exceed available memory (using out of core paging).
17
http://vistools.npaci.edu/ What Vista can do? Volume Render any size volume using out of core paging Large Image resolutions - any resolution possible Create walk through around data segments Handles 2D meshes IsoVoluming IsoSurfacing
18
http://vistools.npaci.edu/ How to install? Download http://vistools.npaci.edu/VISTA/VISTA.htm Unzip Configure (options pthreads,64 bits, etc) Make You are ready to render
19
http://vistools.npaci.edu/ In’s and out’s for Vista? Input – raw, volb, volc,mpr, some hdf5 Output – ppm (rgb,rgb+az) png( rgba,rgb+az) needs png libs where z is depth information
20
http://vistools.npaci.edu/ How to run Vista? Run on Command line Run as a server Link as library with other tools --help displays long list of options available--help How to use vista? Three things required 1.Data 2.Dimension 3.Range./vista --raw 100 100 100 --minmax 0 99 cube.raw
21
http://vistools.npaci.edu/ What Vista comes with? Small library of Test volumes Transfer functions (Built in color ramps and opacity mapping) Camera files
22
http://vistools.npaci.edu/ Summary in snapshots Default./vista --raw 100 100 100 --minmax 0 99 cube.raw Change Background
23
http://vistools.npaci.edu/ Mapping control minmax 30 70 minmax -25 125 minmax 0 99
24
http://vistools.npaci.edu/ Color Ramps
25
http://vistools.npaci.edu/ Skip zones Default (no skip) Skip in mid zone Skip in both end zones Skip in 3 zones
26
http://vistools.npaci.edu/ Overall Opacity Control Default (top view) Reduced Opacity (top view)
27
http://vistools.npaci.edu/ Custom Opacity Control Default Reduced opacity on left Reduced opacity in middle
28
http://vistools.npaci.edu/ Custom Transfer Functions ColorMapKnots: 3 Knot: 0.00 1.0 0.0 0.0 (red) Knot: 50.0 0.0 1.0 0.0 (green) Knot: 99.0 0.0 0.0 1.0 (blue)
29
http://vistools.npaci.edu/ Custom Transfer Functions ColorMapKnots: 3 Knot: 0.00 1.0 0.0 0.0 Knot: 50.0 0.0 1.0 0.0 Knot: 99.0 0.0 0.0 1.0 OpacityMapPoints: 3 Point: 0.00 0.00 (no opacity) Point: 50.0 0.05 (high opacity) Point: 99.0 0.00 (no opacity)
30
http://vistools.npaci.edu/ Custom Transfer Functions ColorMapKnots: 5 Knot: 0.00 1.0 0.0 0.0 Knot: 25.0 0.0 1.0 0.0 Knot: 50.0 0.0 0.0 1.0 Knot: 75.0 0.0 1.0 1.0 Knot: 99.0 1.0 0.0 1.0 OpacityMapPoints: 4 Point: 0.00 0.01 Point: 50.0 0.05 Point: 75.0 0.00 Point: 99.0 0.05
31
http://vistools.npaci.edu/ Viewing positions Standard options for 6 orthographic views and spin on x, y and z and spiral
32
http://vistools.npaci.edu/ What about other viewing orientations? A small library of camera files are shipped with source Mesh Viewer can be used to generate camera paths Maya can be used for generating camera paths
33
http://vistools.npaci.edu/ Is Vista supported ? Online documentation User discussion forum
34
http://vistools.npaci.edu/ Future Directions Light support Text support Slicing volumes in arbitrary manner Super Sampling AMR Geometry ???
35
http://vistools.npaci.edu/ Video Clips ENZO Terashake Surface Rendering Terashake Volume Rendering (on going)Terashake Volume Rendering Rupture Dynamics
36
http://vistools.npaci.edu/ Q’s and Discussion
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.