Smart Hardware- Accelerated Volume Rendering Stefan Roettger Stefan Guthe Daniel Weiskopf Wolfgang Strasser Thomas Ertl.

Slides:



Advertisements
Similar presentations
Ray Tracing Depth Maps Using Precomputed Edge Tables Kevin Egan Rhythm & Hues Studios.
Advertisements

An Optimized Soft Shadow Volume Algorithm with Real-Time Performance Ulf Assarsson 1, Michael Dougherty 2, Michael Mounier 2, and Tomas Akenine-Möller.
High-Quality Unstructured Volume Rendering on the PC Platform High-Quality Unstructured Volume Rendering on the PC Platform Hardware Workshop 2002 Stefan.
Normal Map Compression with ATI 3Dc™ Jonathan Zarge ATI Research Inc.
Solving Some Common Problems in a Modern Deferred Rendering Engine
VIS Group, University of Stuttgart Tutorial T4: Programmable Graphics Hardware for Interactive Visualization Pre-Integrated Splatting (Stefan Roettger)
Status – Week 257 Victor Moya. Summary GPU interface. GPU interface. GPU state. GPU state. API/Driver State. API/Driver State. Driver/CPU Proxy. Driver/CPU.
Direct Volume Rendering. What is volume rendering? Accumulate information along 1 dimension line through volume.
A Coherent Grid Traversal Algorithm for Volume Rendering Ioannis Makris Supervisors: Philipp Slusallek*, Céline Loscos *Computer Graphics Lab, Universität.
Week 10 - Monday.  What did we talk about last time?  Global illumination  Shadows  Projection shadows  Soft shadows.
Fast Volumetric Display of Natural Gaseous Phenonema Stefan Roettger Thomas Ertl University of Erlangen.
REAL-TIME VOLUME GRAPHICS Christof Rezk Salama Computer Graphics and Multimedia Group, University of Siegen, Germany Eurographics 2006 Real-Time Volume.
Fast Volume Rendering Using a Shear-Warp Factorization of the Viewing Transformation Philippe Larcoute & Marc Levoy Stanford University Published in SIGGRAPH.
Siggraph/Eurographics Workshop on Graphics Hardware 2001
Interactive High-Quality Volume Rendering on Flexible Consumer Graphics Hardware Klaus Engel, Martin Kraus, Thomas Ertl Visualization and Interactive Systems.
Ray-casting in VolumePro™ 1000
Computer Graphics Visible Surface Determination. Goal of Visible Surface Determination To draw only the surfaces (triangles) that are visible, given a.
Part I: Basics of Computer Graphics
Fast High Accuracy Volume Rendering Thesis Defense May 2004 Kenneth Moreland Ph.D. Candidate Sandia is a multiprogram laboratory operated by Sandia Corporation,
Hank Childs, University of Oregon November 15 th, 2013 Volume Rendering, Part 2.
Cell-Projection of Convex Polyhedra Stefan Roettger Thomas Ertl University of Erlangen.
Efficient Sparse Voxel Octrees
High-Quality Volume Graphics on Consumer PC Hardware
Direct Volume Rendering Joe Michael Kniss Scientific Computing and Imaging Institute University of Utah.
Skin Rendering GPU Graphics Gary J. Katz University of Pennsylvania CIS 665 Adapted from David Gosselin’s Power Point and article, Real-time skin rendering,
Shadow Algorithms Gerald Matzka Computer Science Seminar.
IN4151 Introduction 3D graphics 1 Introduction to 3D computer graphics part 2 Viewing pipeline Multi-processor implementation GPU architecture GPU algorithms.
Hardware-Based Nonlinear Filtering and Segmentation using High-Level Shading Languages I. Viola, A. Kanitsar, M. E. Gröller Institute of Computer Graphics.
Hardware-Assisted Visibility Sorting for Tetrahedral Volume Rendering Steven Callahan Milan Ikits João Comba Cláudio Silva Steven Callahan Milan Ikits.
Ray Space Factorization for From-Region Visibility Authors: Tommer Leyvand, Olga Sorkine, Daniel Cohen-Or Presenter: Alexandre Mattos.
Computer Graphics Shadows
Afrigraph 2004 Massive model visualization Tutorial A: Part I Rasterization Based Approaches Andreas Dietrich Computer Graphics Group, Saarland University.
Computer Graphics Mirror and Shadows
Interactive Visualization of Volumetric Data on Consumer PC Hardware: Introduction Daniel Weiskopf Graphics Hardware Trends Faster development than Moore’s.
VIS Group, University of Stuttgart Tutorial T4: Programmable Graphics Hardware for Interactive Visualization Volume Graphics - Advanced Klaus Engel Volume.
Prefiltered Anti-Aliasing on Parallel Hardware
Stefan Roettger University of Stuttgart A Two-Step Approach for Interactive Pre-Integrated Volume Rendering of Unstructured Grids VolVis '02 A Two-Step.
Efficient Volume Visualization of Large Medical Datasets Stefan Bruckner Institute of Computer Graphics and Algorithms Vienna University of Technology.
Visibility Queries Using Graphics Hardware Presented by Jinzhu Gao.
REAL-TIME VOLUME GRAPHICS Markus Hadwiger VRVis Research Center, Vienna Eurographics 2006 Real-Time Volume Graphics [04] GPU-Based Ray-Casting.
Graphics Hardware 2002 Saarbrücken September 1-2, 2002 Adaptive Texture Maps Martin Kraus and Thomas Ertl VIS Group, Universität Stuttgart.
Lecture 3 : Direct Volume Rendering Bong-Soo Sohn School of Computer Science and Engineering Chung-Ang University Acknowledgement : Han-Wei Shen Lecture.
Interactive Time-Dependent Tone Mapping Using Programmable Graphics Hardware Nolan GoodnightGreg HumphreysCliff WoolleyRui Wang University of Virginia.
Smart Hardware-Accelerated Volume Rendering Stefan Roettger Stefan Guthe Daniel Weiskopf.
09/09/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Event management Lag Group assignment has happened, like it or not.
VIS Group, University of Stuttgart Tutorial T4: Programmable Graphics Hardware for Interactive Visualization Adaptive Terrain Slicing (Stefan Roettger)
1 Rendering Geometry with Relief Textures L.Baboud X.Décoret ARTIS-GRAVIR/IMAG-INRIA.
Stream Processing Main References: “Comparing Reyes and OpenGL on a Stream Architecture”, 2002 “Polygon Rendering on a Stream Architecture”, 2000 Department.
Using Graphics Hardware for Multiple Datasets Visualization Gaurav Khanduja Dr. Bijaya B. Karki Louisiana State University, Department of Computer Science.
CMSC 635 Volume Rendering. Volume data  3D Scalar Field: F(x,y,z) = ?  Implicit functions  Voxel grid  Scalar data  Density  Temperature  Wind.
Volume Rendering CMSC 491/635. Volume data  3D Scalar Field: F(x,y,z) = ?  Implicit functions  Voxel grid  Scalar data  Density  Temperature  Wind.
Tone Mapping on GPUs Cliff Woolley University of Virginia Slides courtesy Nolan Goodnight.
Rendering Fake Soft Shadows with Smoothies Eric Chan Massachusetts Institute of Technology.
Hardware-accelerated Rendering of Antialiased Shadows With Shadow Maps Stefan Brabec and Hans-Peter Seidel Max-Planck-Institut für Informatik Saarbrücken,
REAL-TIME VOLUME GRAPHICS Christof Rezk Salama Computer Graphics and Multimedia Group, University of Siegen, Germany Eurographics 2006 Real-Time Volume.
REAL-TIME VOLUME GRAPHICS Klaus Engel Siemens AG, Erlangen, Germany Eurographics 2006 Real-Time Volume Graphics [05] Transfer Functions.
Hierarchical Penumbra Casting Samuli Laine Timo Aila Helsinki University of Technology Hybrid Graphics, Ltd.
Volume Clipping via Per-Fragment Operations in Texture-Based Volume Visualization Visualization and Interactive Systems Group University of Stuttgart Germany.
Hank Childs, University of Oregon Volume Rendering, pt 1.
Motivation Properties of real data sets Surface like structures
3/16/04James R. McGirr1 Interactive Rendering of Large Volume Data Sets Written By : Stefan Guthe Michael Wand Julius Gonser Wolfgang Straβer University.
Hardware Accelerated Volume Rendering Using PC Hardware CSE564 Final Demo Evan Closson.
Pre-Integrated Volume Rendering: Past, Present, Future
High-Quality Pre-Integrated Volume Rendering Using Hardware Accelerated Pixel Shading Klaus Engel, Martin Kraus, Thomas Ertl Visualization and Interactive.
CHC ++: Coherent Hierarchical Culling Revisited Oliver Mattausch, Jiří Bittner, Michael Wimmer Institute of Computer Graphics and Algorithms Vienna University.
Image Fusion In Real-time, on a PC. Goals Interactive display of volume data in 3D –Allow more than one data set –Allow fusion of different modalities.
Real-Time Soft Shadows with Adaptive Light Source Sampling
Normal Map Compression with ATI 3Dc™
An Efficient Method for Volume Rendering using Perspective Projection
RADEON™ 9700 Architecture and 3D Performance
Presentation transcript:

Smart Hardware- Accelerated Volume Rendering Stefan Roettger Stefan Guthe Daniel Weiskopf Wolfgang Strasser Thomas Ertl

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 2 Overview Current state of the art in direct volume rendering What can be improved? Rendering of segmented data Hardware-accelerated raycasting

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 3 Direct Volume Rendering 3D slicing approach (Akeley ‘87) Pre-integration (Max VolVis ‘90, Roettger VIS ‘00, Engel HWW ‘01) Pre-integrated material properties (Meissner GI ‘02) Hardware-accelerated pre-integration (Roettger VolVis ‘02, Guthe HWW ‘02) Multi-Dimensional TF (Kniss VIS ‘01) Volume clipping (Weiskopf VIS ‘02)

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 4 What is missing? From a medical point of view: Pre-integration is difficult to apply to segmented medical data Pre-integration quality is still not good enough 8 bit frame buffer produces artifacts on consumer graphics hardware

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 5 Pre-Integration Ray integral depends on three variables: S f, S b, and l, where l is assumed to be constant Pre-compute a table for all combinations of S f and S b and store it in a 2D dependent texture

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 6 Volume Clipping Use additional scalar clip volume C(x,y,z) Iso surface for C=0.5 defines clip geometry Adjust S f, S b, and l according to clip volume (naive approach: set l=0) for the case C f <0.5<C b w = |C b -0.5|/|C b -C f | S’ f = (1-w)*S b +w*S f l’= l*w   ’ ≈  *w C=0.5

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 7 Pre-Integration & Segmentation Segmentation with two materials is easy: Define second transfer function TF2 In the pixel shader: Make a lookup in TF1 for the blue area Blend with the lookup in TF2 for the grey area C=0.5

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 8 Quality Comparison naive clipping correct adjust- ment clipped Bonsai

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 9 Undersampling Quality Slicing artifacts

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 10 Undersampling Quality Slicing artifacts

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 11 Sampling Quality Slicing artifacts

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 12 Sampling Quality Interpolation artifacts

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 13 Supersampling Quality Still minor interpolation artifacts

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 14 Supersampling Quality Almost correct

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 15 Drawback of Pre-Integration Linear interpolation assumed in slab But in fact the interpolation is trilinear Inside the slab one may cross a voxel boundary Lighting is also a non-linear operation Conclusion: For superior quality we need at least 2-times, better 4-times oversampling!

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 16 Ray Casting Supersampling is slow, but fortunately we do not need to supersample everywhere Define importance volume which tells where to sample more precisely Depends on 2nd deriv. of scalar volume and 1st deriv. of TF Perform adaptive ray casting on the graphics hardware

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 17 Hardware-Accelerated Ray Casting Implemented on the ATI Radeon 9700 with multiple floating point render targets: Need to process all pixels at once Cannot exploit ray coherence Early ray termination by early Z-test Exploit hierarchical Z-buffer compression Adaptive sampling includes space leaping Stop if all pixels are terminated (asynchronous occlusion query)

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 18 Hardware-Accelerated Ray Casting Store ray parameter to determine actual position Complete PS 2.0 code given in the paper

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 19 Quality Comparison 4-times oversampling 8 bit frame buffer HW ray casting full floating point

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 20 Performance Same performance as 4 times over-sampling with alpha Direct 9 drivers (about 2 seconds per frame) But already much better quality With latest drivers we achieve 2-5 frames per second due to greatly improved performance of occlusion query (12 ms vs. 100 ms)

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 21 ANFSCD: The Bonsai Note: Raw data of all three Bonsai’ is available on my homepage

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 22 Conclusions We have shown how to combine volume clipping/segmentation with pre-integrated volume rendering With respect to quality HW ray casting is superior to the traditional slicing approach and with latest drivers is also faster By reducing the number of adaptive samples frame rates can be pushed even higher while maintaining good quality Now switching to the Live Demo

Smart Hardware-Accelerated Volume Rendering VisSym ‘03 Stefan Roettger, University of Erlangen - Stefan Guthe, University of Tübingen Grenoble 23 Thanks for your attention! Fin