Splatting Josh Anon Advanced Graphics 1/29/02. Types of Rendering Algorithms Backward mapping Image plane mapped into data Ray casting Forward mapping.

Slides:



Advertisements
Similar presentations
VIS Group, University of Stuttgart Tutorial T4: Programmable Graphics Hardware for Interactive Visualization Pre-Integrated Splatting (Stefan Roettger)
Advertisements

Direct Volume Rendering. What is volume rendering? Accumulate information along 1 dimension line through volume.
3D Graphics Rendering and Terrain Modeling
Fast Volume Rendering Using a Shear-Warp Factorization of the Viewing Transformation Philippe Larcoute & Marc Levoy Stanford University Published in SIGGRAPH.
Other DVR Algorithms and A Comparison Jian Huang, CS 594, Spring 2002.
1 Computer Graphics Chapter 9 Rendering. [9]-2RM Rendering Three dimensional object rendering is the set of collective processes which make the object.
Computer Graphics Visible Surface Determination. Goal of Visible Surface Determination To draw only the surfaces (triangles) that are visible, given a.
CS 551 / CS 645 Antialiasing. What is a pixel? A pixel is not… –A box –A disk –A teeny tiny little light A pixel is a point –It has no dimension –It occupies.
Volume Rendering Volume Modeling Volume Rendering Volume Modeling Volume Rendering 20 Apr
Splatting Jian Huang, CS 594, Spring 2002 This set of slides reference slides made by Ohio State University alumuni over the past several years.
Footprint Evaluation for Volume Rendering
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Virtual Trackball, Scientific.
University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2005 Tamara Munzner Information Visualization.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Object-Order vs. Screen-Order Rendering April 24, 2003.
IN4151 Introduction 3D graphics 1 Introduction 3D Computer Graphics part 1 Projective display Viewing pipeline Graphics hardware Image-based rendering.
Introduction to Volume Rendering Presented by Zvi Devir.
Introduction to Volume Visualization Mengxia Zhu Fall 2007.
1Notes. 2Atop  The simplest (useful) and most common form of compositing: put one image “atop” another  Image 1 (RGB) on top of image 2 (RGB)  For.
Sorting and cell compositing for irregular meshes Nelson Max, Peter Williams, Richard Cook, Claudio Silva.
Paper by Alexander Keller
Direct Volume Rendering w/Shading via Three- Dimensional Textures.
Volume Rendering & Shear-Warp Factorization Joe Zadeh January 22, 2002 CS395 - Advanced Graphics.
Computer graphics & visualization. Game Design - Rendering Smoke & Clouds Jürgen Treml Talk Overview 1.Introduction to Clouds.
Erdem Alpay Ala Nawaiseh. Why Shadows? Real world has shadows More control of the game’s feel  dramatic effects  spooky effects Without shadows the.
Ray Tracing Primer Ref: SIGGRAPH HyperGraphHyperGraph.
1 Computer Graphics Week13 –Shading Models. Shading Models Flat Shading Model: In this technique, each surface is assumed to have one normal vector (usually.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Antialiasing CAP4730: Computational Structures in Computer Graphics.
Optical Models Jian Huang, CS 594, Spring 2002 This set of slides are modified from slides used by Prof. Torsten Moeller, at Simon Fraser University, BC,
Lecture 3 : Direct Volume Rendering Bong-Soo Sohn School of Computer Science and Engineering Chung-Ang University Acknowledgement : Han-Wei Shen Lecture.
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS 1 Shading (Shading) & Smooth Shading Graphics.
-Global Illumination Techniques
Scientific Visualization Module 6 Volumetric Algorithms (adapted by S.V. Moore – slides deleted, modified, and added) prof. dr. Alexandru (Alex) Telea.
MIT EECS 6.837, Durand and Cutler Graphics Pipeline: Projective Transformations.
REAL-TIME VOLUME GRAPHICS Christof Rezk Salama Computer Graphics and Multimedia Group, University of Siegen, Germany Eurographics 2006 Real-Time Volume.
ITUppsala universitet Advanced Computer Graphics Filip Malmberg
09/11/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Graphics Pipeline Texturing Overview Cubic Environment Mapping.
Visible-Surface Detection Jehee Lee Seoul National University.
Week 6 - Wednesday.  What did we talk about last time?  Light  Material  Sensors.
Rendering Overview CSE 3541 Matt Boggus. Rendering Algorithmically generating a 2D image from 3D models Raster graphics.
Week 10 - Wednesday.  What did we talk about last time?  Shadow volumes and shadow mapping  Ambient occlusion.
CS-378: Game Technology Lecture #4: Texture and Other Maps Prof. Okan Arikan University of Texas, Austin V Lecture #4: Texture and Other Maps.
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.
An Enhanced Splatting Method Graphics and Visualization Group Department of Computer Science The University of Auckland Peter Kulka & Richard Lobb.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Lynwood Dunn ( ) Visual effects pioneer Acme-Dunn optical printer.
Volume Visualization with Ray Casting
Visual Appearance Chapter 4 Tomas Akenine-Möller Department of Computer Engineering Chalmers University of Technology.
COMPUTER GRAPHICS CS 482 – FALL 2015 SEPTEMBER 29, 2015 RENDERING RASTERIZATION RAY CASTING PROGRAMMABLE SHADERS.
3-D Information cs5764: Information Visualization Chris North.
Volume Rendering Volumetric Presentation State Supplement 190 Public Comment Review Joe Luszcz, Philips Healthcare Chair, DICOM Working Group 11 January.
CDS 301 Fall, 2008 From Graphics to Visualization Chap. 2 Sep. 3, 2009 Jie Zhang Copyright ©
CSE 681 Introduction to Ray Tracing. CSE 681 Ray Tracing Shoot a ray through each pixel; Find first object intersected by ray. Image plane Eye Compute.
Volume Rendering Volumetric Presentation State Supplement 190 Public Comment Review Joe Luszcz, Philips Healthcare Chair, DICOM Working Group 11 January.
Volume Rendering (3) Hardware Texture Mapping Methods.
Visualization of Scanned Cave Data with Global Illumination
Computer Graphics Chapter 9 Rendering.
Volume Visualization Chap. 10 November 20 , 2008 Jie Zhang Copyright ©
3D Graphics Rendering PPT By Ricardo Veguilla.
Volume Rendering Lecture 21.
Volume Visualization Chap. 10 December 3 , 2009 Jie Zhang Copyright ©
Real-Time Volume Graphics [06] Local Volume Illumination
Hank Childs, University of Oregon
Volume Rendering Lecture 21.
CS-378: Game Technology Lecture #4: Texture and Other Maps
Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Survey of Parallel Volume Rendering Algorithms
Presentation transcript:

Splatting Josh Anon Advanced Graphics 1/29/02

Types of Rendering Algorithms Backward mapping Image plane mapped into data Ray casting Forward mapping Map data onto image plane Accumulate image front-back, back-front Image complete when every data point displayed or pixel “full”

Backward Mapping Problems Basic parallel solns require volume be duplicated at each node Input values often not right on ray, so interpolated Requires anti-aliasing to correct for tri- linear interpolation

Goal of Splatting Avoid artifacts from convential volume rendering Simplify computation Parallelize, lookup tables, etc. Be fast!

Enter Forward Mapping Algo Treat each data point in isolation so avoid replicating volume Since working in 2D with a footprint function, don’t have to interpolate Footprint = area of pixels a voxel affects Uses tables as often as possible

Basic Algorithm Input mapped to screen space Density, gradient strength/direction, and screen coordinates Packet then shaded Splatted Composited

Screen mapping DDA xyzxyz dx/di dx/djdx/dk dy/didy/djdy/dk dz/didz/djdz/dk ijkijk =

Shading 4 tables Emitted color Reflected color Opacity Table to modulate opacity Also use gradient vector for each sample (generated during pre- processing)

Calculations I emit = Table emit [index emit ] I diff = Table refl [index refl ] * dot(l, g) I spec = Table refl [index refl ] * dot(h, g) n L: light vector, g: gradient, h: vector half- way between eye and light, n: specular power I fin = I emit + I diff + I spec

Opacity A fin = Table opac [index opac ] * Table mod [index mod ] Colors in table are opaque color, so color attenuated by opacity during combining phase

Reconstruction Backward mapping associates pixel w/ n samples Forward mapping associates a sample w/ n pixels Reconstruct image-space voxels by using a filter

Reconstruction… Vol reconstruction eqn i ranges over input samples in kernel (x,y,z) point(x,y,z) from sample i is:

Combining Samples Old: integrate brightness along view direction New: footprint function that lets you compute the weight of a pixel affected by a sample

Using Tables Footprint independent spatial position, so store in a table When rendering, multiple RGBA by table value and add to buffer Splatting: process of table lookup, weighting, and combining

Sample front-back traversal I o = I c + ((1-A c ) * (I n *A n )) A o = A c + ((1-A c ) * A n ) I: intensity, A: opacity, o: output, c: what’s in image buffer, n: point

Results 96x128x113 CT scan rendered at full res in < 3 minutes (low-res at ~3 seconds) (Except for a Sun-3/60M w/ 8MB memory) Certainly faster on today’s machines, esp if using hardware

Time to draw in sec (clockwise, upper left): 3,9,65,165