interactive volume visualization of general polyhedral grids

23
Interactive Volume Visualization of General Polyhedral Grids Philipp Muigg 1,3 , Markus Hadwiger 2 , Helmut Doleisch 3 , M. Eduard Gröller 1 1, Vienna University of Technology, Austria 2, King Abdullah University of Science and Technology, Saudi Arabia 3, SimVis GmbH, Vienna, Austria

Upload: xiu

Post on 12-Jan-2016

18 views

Category:

Documents


0 download

DESCRIPTION

Interactive Volume Visualization of General Polyhedral Grids. Philipp Muigg 1,3 , Markus Hadwiger 2 , Helmut Doleisch 3 , M. Eduard Gröller 1 1, Vienna University of Technology, Austria 2, King Abdullah University of Science and Technology, Saudi Arabia 3, SimVis GmbH, Vienna, Austria. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Interactive Volume Visualization of General Polyhedral Grids

Interactive Volume Visualization of General Polyhedral Grids

Philipp Muigg1,3, Markus Hadwiger2, Helmut Doleisch3, M. Eduard Gröller1

1, Vienna University of Technology, Austria

2, King Abdullah University of Science and Technology, Saudi Arabia

3, SimVis GmbH, Vienna, Austria

Page 2: Interactive Volume Visualization of General Polyhedral Grids

Motivation

• Computational Fluid Dynamics (CFD) simulations• Increase in size• Meshes become more complex

Page 3: Interactive Volume Visualization of General Polyhedral Grids

Motivation

• Many unstructured grid volume visualization techniques limited to tetrahedral grids

• Tetrahedralization required

1.4M poly cells (~89M tets)82K poly cells (~4M tets)

Page 4: Interactive Volume Visualization of General Polyhedral Grids

Motivation

• Direct volume rendering for grids composed of general polyhedral cells

• Data structure to represent polyhedral grids• Low memory footprint• Support traversal operations required by ray casting

Page 5: Interactive Volume Visualization of General Polyhedral Grids

Data Structure

• Requirements for ray casting• Query all faces of a cell• Query neighouring cell across a face• Query vertices of a face

Page 6: Interactive Volume Visualization of General Polyhedral Grids

Data Structure

• 2D illustration• 3D Faces 2D Edges• 3D Cells 2D Faces

• Example contains• 6 „faces“• 3 „cells“

Page 7: Interactive Volume Visualization of General Polyhedral Grids

• Common grid representations cell centered

Data Structure

6 links

Page 8: Interactive Volume Visualization of General Polyhedral Grids

Data Structure

• Common grid representations cell centered• Cell to cell traversal for ray casting requires

(redundant) face connectivity

Page 9: Interactive Volume Visualization of General Polyhedral Grids

Data Structure

• Redundancy• Cell to face data derivable from face to cell data• Face to cell data derivable from cell to face data

21 links

Page 10: Interactive Volume Visualization of General Polyhedral Grids

Data Structure: TSFL

• Two sided face lists (TSFL)• Face based

(comparable to winged/half edge)• Cells represented via linked lists• Two links per face

(front and back link)

Page 11: Interactive Volume Visualization of General Polyhedral Grids

Data Structure: TSFL

• Additional bit flag per link (front and back flag)• Blue facing towards cell• Green facing away from cell

Page 12: Interactive Volume Visualization of General Polyhedral Grids

Data Structure: TSFL

• Visit all faces of a cell via links• Select link at face based on previous flag• Step from one cell to neighbour

by selecting other link

12 links

Page 13: Interactive Volume Visualization of General Polyhedral Grids

Data Structure: TSFSL

• Two sided face sequence lists (TSFSL)• Group faces facing towards same cell• Discard front links

(retain last in sequence)

Page 14: Interactive Volume Visualization of General Polyhedral Grids

Data Structure: TSFSL

• Two sided face sequence lists (TSFSL)• Group faces facing towards same cell• Discard front links

(retain last in sequence)

9 links

Page 15: Interactive Volume Visualization of General Polyhedral Grids

Data Structure: TSFSL

• Requirements for ray casting

Query all faces of a cell

Query neighouring cell across a face• Query vertices of a face

Page 16: Interactive Volume Visualization of General Polyhedral Grids

Data Structure: TSFSL

• TSFSL storage• Interleave mesh connectivity and face geometry• Back links stored in front of face geometry• Terminating front link stored at end of sequence (sequence

terminator)• Entire mesh stored in single 1D array

fbl c fbl d fbl e ffl

Sequence [cde]

fbl a fbl f ffl

Sequence [af]

fbl b ffl

Sequence [b]

Page 17: Interactive Volume Visualization of General Polyhedral Grids

Data Structure: TSFSL

• Requirements for ray casting

Query all faces of a cell

Query neighouring cell across a face

Query vertices of a face

Page 18: Interactive Volume Visualization of General Polyhedral Grids

GPU based Ray Casting

• TSFSL traversal for ray casting

bl c bl d bl e flSequence [cde]

bl a bl f flSequence [af]

bl b flSequence [b]

Page 19: Interactive Volume Visualization of General Polyhedral Grids

bl a bl f fl

GPU based Ray Casting

• TSFSL traversal for ray casting

bl c bl d bl e flSequence [cde]

Sequence [af]

bl b flSequence [b]

Page 20: Interactive Volume Visualization of General Polyhedral Grids

GPU based Ray Casting

• Spatial subdivision based on kD-tree

• Bricks rasterized independently

• Depth peeling for non-convex meshes

• Mean-value interpolation within cells

• Ray casting performed in view space

• See paper for additional details

Page 21: Interactive Volume Visualization of General Polyhedral Grids

Application Examples

Hardware:Core 2 Quad @ 2.8GHzGeforce GTX480 1GB RAM

HAVS [Callahan 2005]: ~7-9 byte/tet GPU and 118-149 byte/tet CPU

Tet Strips [Weiler 2004]: ~15 byte/tet

Cells/Faces 1.5M/4.7M 1.3M/8.9M

Tetrahedra 17M 89M

Byte/Tetrahedra 8.5 byte/tet 7.5 byte/tet

Bricks/Overhead 4/1.7% 10/8.6%

Render Time (preview) 222ms (81ms) 2.9s (742ms)

Page 22: Interactive Volume Visualization of General Polyhedral Grids

Summary/Future Work

• TSFSL data structure• Face based• Low memory footprint

• GPU-based ray-casting on polyhedral meshes• Works directly on TSFSL• Domain decomposition for culling/depth peeling

• Future Work• Utilize CUDA/OpenCL shared memory during ray-casting• Parallelize across multiple GPUs

Page 23: Interactive Volume Visualization of General Polyhedral Grids

Questions?

Thank you for your attention!

Acknowledgements:Polyhedral datasets courtesy of CD-Adapco

Cooling jacket and Diesel Particulate Filter datasets courtesy of AVL List GmbH, Graz, Austria

Parts of this project have been funded by the Austrian Research Funding Agency (FFG) in the scope of the project AutARG (No. 819352) and the ScaleVS (WWTF) project