VRML Scene Graphs on an Interactive Ray Tracing Engine IEEE Virtual Reality 2004 Conference Chicago, IL USA March 30 th, 2004 Andreas Dietrich Ingo Wald.

Slides:



Advertisements
Similar presentations
16.1 Si23_03 SI23 Introduction to Computer Graphics Lecture 16 – Some Special Rendering Effects.
Advertisements

The OpenRT Application Programming Interface - Towards a Common API for Interactive Ray Tracing – OpenSG 2003 Darmstadt, Germany Andreas Dietrich Ingo.
Exploration of advanced lighting and shading techniques
Sven Woop Computer Graphics Lab Saarland University
Technische Universität München Computer Graphics SS 2014 Graphics Effects Rüdiger Westermann Lehrstuhl für Computer Graphik und Visualisierung.
Ray Tracing Ray Tracing 1 Basic algorithm Overview of pbrt Ray-surface intersection (triangles, …) Ray Tracing 2 Brute force: Acceleration data structures.
Zhao Dong 1, Jan Kautz 2, Christian Theobalt 3 Hans-Peter Seidel 1 Interactive Global Illumination Using Implicit Visibility 1 MPI Informatik Germany 2.
3D Graphics Rendering and Terrain Modeling
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
1. What is Lighting? 2 Example 1. Find the cubic polynomial or that passes through the four points and satisfies 1.As a photon Metal Insulator.
Afrigraph 2004 Interactive Ray-Tracing of Free-Form Surfaces Carsten Benthin Ingo Wald Philipp Slusallek Computer Graphics Lab Saarland University, Germany.
Advanced Graphics, Overview Advanced Computer Graphics Overview.
Rasterization and Ray Tracing in Real-Time Applications (Games) Andrew Graff.
Welcome to 3D §The 3D graphics pipeline §Rigid-body transform §Homogeneous coordinates §Viewing transformation §Projection §Illumination.
Computer Graphics (Fall 2005) COMS 4160, Lecture 21: Ray Tracing
3D Graphics Processor Architecture Victor Moya. PhD Project Research on architecture improvements for future Graphic Processor Units (GPUs). Research.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Introduction to Computer Graphics Ed Angel Professor of Computer Science, Electrical and.
Shading Languages By Markus Kummerer. Markus Kummerer 2 / 19 State of the Art Shading.
Real-Time Ray Tracing 3D Modeling of the Future Marissa Hollingsworth Spring 2009.
Afrigraph 2004 Massive model visualization Tutorial A: Part I Rasterization Based Approaches Andreas Dietrich Computer Graphics Group, Saarland University.
Basic 3D Graphics Chapter 5. Bird’s Eye View  Basic 3D Graphics –Basic concepts of 3D graphics, rendering pipeline, Java 3D programming, scene graph,
Interactive Ray Tracing: From bad joke to old news David Luebke University of Virginia.
Ray Tracing and Photon Mapping on GPUs Tim PurcellStanford / NVIDIA.
CS 480/680 Computer Graphics Course Overview Dr. Frederick C Harris, Jr. Fall 2012.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Computer Visualization BIM Curriculum 03. Topics  History  Computer Visualization Methods  Visualization Workflow  Technology Background.
Realtime Caustics using Distributed Photon Mapping Johannes Günther Ingo Wald * Philipp Slusallek Computer Graphics Group Saarland University ( * now at.
Graphical Objects and Scene Graphs 1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009.
Advanced Computer Graphics March 06, Grading Programming assignments Paper study and reports (flipped classroom) Final project No written exams.
Jonathan M Chye Technical Supervisor : Mr Matthew Bett 2010.
C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 Going-through.
CS 450: COMPUTER GRAPHICS REVIEW: INTRODUCTION TO COMPUTER GRAPHICS – PART 2 SPRING 2015 DR. MICHAEL J. REALE.
Stefan PopovHigh Performance GPU Ray Tracing Real-time Ray Tracing on GPU with BVH-based Packet Traversal Stefan Popov, Johannes Günther, Hans- Peter Seidel,
Raytracing and Global Illumination Intro. to Computer Graphics, CS180, Fall 2008 UC Santa Barbara.
1 Angel and Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Introduction to Computer Graphics Ed Angel Professor Emeritus of Computer.
1 Introduction to Computer Graphics SEN Introduction to OpenGL Graphics Applications.
Computer Graphics I, Fall 2008 Introduction to Computer Graphics.
Interactive Visualization of Exceptionally Complex Industrial CAD Datasets Andreas Dietrich Ingo Wald Philipp Slusallek Computer Graphics Group Saarland.
Saarland University, Germany B-KD Trees for Hardware Accelerated Ray Tracing of Dynamic Scenes Sven Woop Gerd Marmitt Philipp Slusallek.
Interactive Rendering With Coherent Ray Tracing Eurogaphics 2001 Wald, Slusallek, Benthin, Wagner Comp 238, UNC-CH, September 10, 2001 Joshua Stough.
Supporting Animation and Interaction Ingo Wald SCI Institute, University of Utah
Introduction to Realtime Ray Tracing Course 41 Philipp Slusallek Peter Shirley Bill Mark Gordon Stoll Ingo Wald.
Parallel Ray Tracer Computer Systems Lab Presentation Stuart Maier.
Interface Opportunities for 3D Data and Media User Interface Software TechNote Panel Virginia Tech CS Fall 2002 Nicholas F. Polys Umur Yilmaz Will Lee.
© TMC Computer School HC20203 VRML HIGHER DIPLOMA IN COMPUTING Chapter 2 – Basic VRML.
- Laboratoire d'InfoRmatique en Image et Systèmes d'information
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
Design and Implementation of Geometric and Texture-Based Flow Visualization Techniques Robert S. Laramee Markus Hadwiger Helwig Hauser.
Interactive Ray Tracing of Dynamic Scenes Tomáš DAVIDOVIČ Czech Technical University.
Java 3D Web Apps and Services. Presentation Overview l Java3D Overview l Software l Java3D API l Scene Graph Programming Model l Java3D Terminology l.
Visualization Four groups Design pattern for information visualization
Ray Tracing Fall, Introduction Simple idea  Forward Mapping  Natural phenomenon infinite number of rays from light source to object to viewer.
Discontinuous Displacement Mapping for Volume Graphics, Volume Graphics 2006, July 30, Boston, MA Discontinuous Displacement Mapping for Volume Graphics.
1 Saarland University, Germany 2 DFKI Saarbrücken, Germany.
Graphical Objects and Scene Graphs Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
COMPUTER GRAPHICS CS 482 – FALL 2015 SEPTEMBER 29, 2015 RENDERING RASTERIZATION RAY CASTING PROGRAMMABLE SHADERS.
Virtual Light Field Group University College London Ray Tracing with the VLF (VLF-RT) Jesper Mortensen
Radiance Cache Splatting: A GPU-Friendly Global Illumination Algorithm P. Gautron J. Křivánek K. Bouatouch S. Pattanaik.
Institute for Computer Graphics and Vision Computer Graphics and Interactive Systems 1 Grabner HS i4, 2006/03/08 Web3D, VRVU, SGP Web3D ( ) VRVU.
Chapter 1 An overview on Computer Graphics
Photorealistic Rendering vs. Interactive 3D Graphics
Chapter 1 An overview on Computer Graphics
Graphical Objects and Scene Graphs
ATCM 6317 Procedural Animation
The Graphics Rendering Pipeline
Interactive Computer Graphics
Ray Tracing Dinesh Manocha COMP 575/770.
Introduction to Computer Graphics
Introduction to Computer Graphics
Frame Buffer Applications
Presentation transcript:

VRML Scene Graphs on an Interactive Ray Tracing Engine IEEE Virtual Reality 2004 Conference Chicago, IL USA March 30 th, 2004 Andreas Dietrich Ingo Wald Markus Wagner Philipp Slusallek Computer Graphics Group Saarland University

COMPUTER GRAPHIK – UNIVERSITÄT DES SAARLANDES VR 2004VRML Scene Graphs on an Interactive Ray Tracing Engine2 Introduction Today‘s VR systems based on rasterization techniquesToday‘s VR systems based on rasterization techniques –Quantitative evaluation difficult –Sophisticated Lighting not possible or requires too much tricks Recent advances in interactive ray tracing technologiesRecent advances in interactive ray tracing technologies –High-quality image generation at interactive frame rates –Ray tracing will play a larger role in industrial visualization  Scene graph driven VR Application based on ray tracing VRML Browser ( vv )

COMPUTER GRAPHIK – UNIVERSITÄT DES SAARLANDES VR 2004VRML Scene Graphs on an Interactive Ray Tracing Engine3 Agenda BackgroundBackground –Ray Tracing System OverviewSystem Overview –System Components –OpenRT API Characteristics Implementation IssuesImplementation Issues –Rendering & Shading –Scene Graph Mapping Example ApplicationsExample Applications SummarySummary

COMPUTER GRAPHIK – UNIVERSITÄT DES SAARLANDES VR 2004VRML Scene Graphs on an Interactive Ray Tracing Engine4 Advantages of Ray Tracing Most architectures incorporating sophisticated illumination perform ray tracingMost architectures incorporating sophisticated illumination perform ray tracing –Close modeling of physical light propagation –Shooting of imaginary rays into the scene Advantages of interactive ray tracingAdvantages of interactive ray tracing Physical correctness Plug and play shading Complex scenes (4-16 fps on GHz CPUs)

COMPUTER GRAPHIK – UNIVERSITÄT DES SAARLANDES VR 2004VRML Scene Graphs on an Interactive Ray Tracing Engine5 Problems Common scene graph librariesCommon scene graph libraries –Targeted towards rasterization / OpenGL –Ray tracing features cannot be adequately exploited –Same with standard graphics file formats, like VRML Goal: VRML browser implementation providingGoal: VRML browser implementation providing –Flexible scene graph handling –Animation, interaction, and model behavior –Benefits of interactive ray tracing

COMPUTER GRAPHIK – UNIVERSITÄT DES SAARLANDES VR 2004VRML Scene Graphs on an Interactive Ray Tracing Engine6 System Components Main componentsMain components –XRML [Bekaert 01] –OpenRT [Dietrich 03] –RTRT [Wald 01/03]

COMPUTER GRAPHIK – UNIVERSITÄT DES SAARLANDES VR 2004VRML Scene Graphs on an Interactive Ray Tracing Engine7 System Components Main componentsMain components –XRML [Bekaert 01] –OpenRT [Dietrich 03] –RTRT [Wald 01/03] OpenRT API – Supports all features of interactive ray tracing – Syntactically similiar to OpenGL – But some semantic differences

COMPUTER GRAPHIK – UNIVERSITÄT DES SAARLANDES VR 2004VRML Scene Graphs on an Interactive Ray Tracing Engine8 OpenRT and OpenGL Differences between OpenRT and OpenGL Rendering semanticsRendering semantics –Unlike OpenGL’s drawing approach OpenRT uses objects –Shader objects are bound to geometry objects –Complete scene has to be defined prior to rendering Objects and instantiationObjects and instantiation –Geometric objects serve as simple containers –Efficient reuse of objects Multi-pass rendering vs. programmable shadingMulti-pass rendering vs. programmable shading –Possible but not necessary due to programmable shader objects

COMPUTER GRAPHIK – UNIVERSITÄT DES SAARLANDES VR 2004VRML Scene Graphs on an Interactive Ray Tracing Engine9 Rendering Rendering controlled by XRML renderer moduleRendering controlled by XRML renderer module –Custom-made based on original OpenGL module –Geometry definition calls largely reused –OpenRT specific shading and lighting calls –No immediate-mode rendering –Scene graph traversal just for scene specification –Rendering after traversal in one single step

COMPUTER GRAPHIK – UNIVERSITÄT DES SAARLANDES VR 2004VRML Scene Graphs on an Interactive Ray Tracing Engine10 Shading VRML shader node extensionVRML shader node extension –Standard VRML limited to simple Blinn-Phong shading –Support for arbitrary shading necessary –New nodes ORTAppearance, ORTShader appearance ORTAppearance { material Material { diffuseColor } shader ORTShader { name "Glass" file "libGlass.so" options [ "1f refractionIndex 1.5" ] } Lightbulb of a car headlight

COMPUTER GRAPHIK – UNIVERSITÄT DES SAARLANDES VR 2004VRML Scene Graphs on an Interactive Ray Tracing Engine11 Scene Graph Mapping Acceleration Structures Ray tracing algorithms maintain acceleration structuresRay tracing algorithms maintain acceleration structures –Hierarchical spatial index –Allow for fast geometry queries –May be considered an internal scene graph internal scene graph (OpenRT) Mapping external scene graph (VRML)

COMPUTER GRAPHIK – UNIVERSITÄT DES SAARLANDES VR 2004VRML Scene Graphs on an Interactive Ray Tracing Engine12 Scene Graph Mapping Object Grouping Group Shape nodes into OpenRT geometry objectsGroup Shape nodes into OpenRT geometry objects –Naive solution: Create OpenRT object for every single Shape –Can result in performance loss

COMPUTER GRAPHIK – UNIVERSITÄT DES SAARLANDES VR 2004VRML Scene Graphs on an Interactive Ray Tracing Engine13 Scene Graph Mapping Object Grouping Group Shape nodes into OpenRT geometry objectsGroup Shape nodes into OpenRT geometry objects –Heuristics neccessary –ROUTE statements indicate graph cutting points

COMPUTER GRAPHIK – UNIVERSITÄT DES SAARLANDES VR 2004VRML Scene Graphs on an Interactive Ray Tracing Engine14 Scene Graph Mapping Object Grouping Group Shape nodes into OpenRT geometry objectsGroup Shape nodes into OpenRT geometry objects –Heuristics neccessary –ROUTE statements indicate graph cutting points

COMPUTER GRAPHIK – UNIVERSITÄT DES SAARLANDES VR 2004VRML Scene Graphs on an Interactive Ray Tracing Engine15 Scene Graph Mapping Instancing Instancing possible using DEF/USE mechanismInstancing possible using DEF/USE mechanism –DEF/USE equivalent to pointers –Can link arbitrary nodes OpenRT can only instantiate complete objectsOpenRT can only instantiate complete objects  Use instancing only for Transform nodes

COMPUTER GRAPHIK – UNIVERSITÄT DES SAARLANDES VR 2004VRML Scene Graphs on an Interactive Ray Tracing Engine16 Example Applications Industrial Design Car headlightCar headlight –Physically-correct reflection and refraction –Special reflector and glass shaders –Up to 25 levels of recursion –More than triangles –Only possible with ray tracing ( GHz CPUs)

COMPUTER GRAPHIK – UNIVERSITÄT DES SAARLANDES VR 2004VRML Scene Graphs on an Interactive Ray Tracing Engine17 Example Applications Animated Global Illumination Rotating globe dynamically lit by a moving lampRotating globe dynamically lit by a moving lamp –Indirect diffuse interreflection –Standard VRML scene including animation paths –Global illumination plug-in used as default shader ( GHz CPUs)

COMPUTER GRAPHIK – UNIVERSITÄT DES SAARLANDES VR 2004VRML Scene Graphs on an Interactive Ray Tracing Engine18 Summary Combination of scene graph applications and ray tracingCombination of scene graph applications and ray tracing –Flexible scene graph handling –Animation, interaction, and model behaviour –VRML97 support –Physical correctness –Plug and play shading –Complex scenes Future workFuture work –Evaluation of other file formats like X3D –Development of a SG library optimized for RT

Questions ? For more information see