Definitions Spectral Elements – data structures that contain information about data at points within each geometric entity. Finite elements only hold information.

Slides:



Advertisements
Similar presentations
ENV 2006 CS4.1 Envisioning Information: Case Study 4 Focus and Context for Volume Visualization.
Advertisements

COMPUTER GRAPHICS SOFTWARE.
Normal Map Compression with ATI 3Dc™ Jonathan Zarge ATI Research Inc.
Graphics Pipeline.
Computer graphics & visualization Global Illumination Effects.
Cs123 INTRODUCTION TO COMPUTER GRAPHICS Andries van Dam © Andries van Dam Texture Mapping Beautification of Surfaces 1/23.
3D Graphics Rendering and Terrain Modeling
Real-Time Rendering TEXTURING Lecture 02 Marina Gavrilova.
Computer Graphics Visible Surface Determination. Goal of Visible Surface Determination To draw only the surfaces (triangles) that are visible, given a.
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.
INTRODUCTION. Painting with numbers! Aspects Modeling Rendering Animation.
Rasterization and Ray Tracing in Real-Time Applications (Games) Andrew Graff.
HCI 530 : Seminar (HCI) Damian Schofield.
(conventional Cartesian reference system)
Introduction to Volume Visualization Mengxia Zhu Fall 2007.
IN4151 Introduction 3D graphics 1 Introduction to 3D computer graphics part 2 Viewing pipeline Multi-processor implementation GPU architecture GPU algorithms.
IAT 3551 Computer Graphics Overview Color Displays Drawing Pipeline.
Shading Languages By Markus Kummerer. Markus Kummerer 2 / 19 State of the Art Shading.
Geometric Objects and Transformations Geometric Entities Representation vs. Reference System Geometric ADT (Abstract Data Types)
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Shadows Computer Graphics. Shadows Shadows Extended light sources produce penumbras In real-time, we only use point light sources –Extended light sources.
1 Computer Graphics Week13 –Shading Models. Shading Models Flat Shading Model: In this technique, each surface is assumed to have one normal vector (usually.
VIS Group, University of Stuttgart Tutorial T4: Programmable Graphics Hardware for Interactive Visualization Volume Graphics - Advanced Klaus Engel Volume.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Antialiasing with Line Samples Thouis R. Jones, Ronald N. Perry MERL - Mitsubishi Electric Research Laboratory.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Programmable Pipelines. Objectives Introduce programmable pipelines ­Vertex shaders ­Fragment shaders Introduce shading languages ­Needed to describe.
CS 638, Fall 2001 Admin Grad student TAs may have had their accounts disabled –Please check and the lab if there is a problem If you plan on graduating.
ECSE 4750: Computer Graphics Rensselaer Polytechnic Institute Nov 5, 2012 Texture and Texture Mapping.
Programmable Pipelines. 2 Objectives Introduce programmable pipelines ­Vertex shaders ­Fragment shaders Introduce shading languages ­Needed to describe.
Lecture 3 : Direct Volume Rendering Bong-Soo Sohn School of Computer Science and Engineering Chung-Ang University Acknowledgement : Han-Wei Shen Lecture.
Adaptive Real-Time Rendering of Planetary Terrains WSCG 2010 Raphaël Lerbour Jean-Eudes Marvie Pascal Gautron THOMSON R&D, Rennes, France.
Interactive Rendering of Meso-structure Surface Details using Semi-transparent 3D Textures Vision, Modeling, Visualization Erlangen, Germany November 16-18,
Computer Graphics An Introduction. What’s this course all about? 06/10/2015 Lecture 1 2 We will cover… Graphics programming and algorithms Graphics data.
Sebastian Enrique Columbia University Real-Time Rendering Using CUReT BRDF Materials with Zernike Polynomials CS Topics.
09/09/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Event management Lag Group assignment has happened, like it or not.
09/11/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Graphics Pipeline Texturing Overview Cubic Environment Mapping.
Computer Graphics The Rendering Pipeline - Review CO2409 Computer Graphics Week 15.
Advanced Computer Graphics Advanced Shaders CO2409 Computer Graphics Week 16.
Geometric Objects and Transformation
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
Field Visualisation Jane Tinslay, SLAC October 2006.
- Laboratoire d'InfoRmatique en Image et Systèmes d'information
Shading in OpenGL Ed Angel Professor Emeritus of Computer Science University of New Mexico 1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E.
CS 325 Introduction to Computer Graphics 03 / 29 / 2010 Instructor: Michael Eckmann.
CS123 | INTRODUCTION TO COMPUTER GRAPHICS Andries van Dam © Visible Surface Determination (VSD) To render or not to render, that is the question… 1 of.
Real-Time Relief Mapping on Arbitrary Polygonal Surfaces Fabio Policarpo Manuel M. Oliveira Joao L. D. Comba.
Discontinuous Displacement Mapping for Volume Graphics, Volume Graphics 2006, July 30, Boston, MA Discontinuous Displacement Mapping for Volume Graphics.
11/5/2002 (c) University of Wisconsin, CS 559 Last Time Local Shading –Diffuse term –Specular term –All together –OpenGL brief overview.
CS 450: Computer Graphics PARAMETRIC SPLINES AND SURFACES
COMPUTER GRAPHICS CS 482 – FALL 2015 SEPTEMBER 29, 2015 RENDERING RASTERIZATION RAY CASTING PROGRAMMABLE SHADERS.
What are shaders? In the field of computer graphics, a shader is a computer program that runs on the graphics processing unit(GPU) and is used to do shading.
Real-Time Dynamic Shadow Algorithms Evan Closson CSE 528.
Non-Photorealistic Rendering FORMS. Model dependent Threshold dependent View dependent Outline form of the object Interior form of the object Boundary.
Real-Time Relief Mapping on Arbitrary Polygonal Surfaces Fabio Policarpo Manuel M. Oliveira Joao L. D. Comba.
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.
Applications and Rendering pipeline
Hardware-Accelerated Parallel Non-Photorealistic Volume Rendering Eric B.Lum Kwan-Liu Ma University of California at Davis.
1 Real-Time High-Quality View-dependent Texture Mapping using Per-Pixel Visibility Damien Porquet Jean-Michel Dischler Djamchid Ghazanfarpour MSI Laboratory,
Computer Graphics Overview
Ying Zhu Georgia State University
Programmable Pipelines
Deferred Lighting.
3D Graphics Rendering PPT By Ricardo Veguilla.
The Graphics Rendering Pipeline
© University of Wisconsin, CS559 Fall 2004
Lecture 13 Clipping & Scan Conversion
Introduction to Meshes
Introduction to Meshes
Presentation transcript:

Definitions Spectral Elements – data structures that contain information about data at points within each geometric entity. Finite elements only hold information at the vertices. Canonical and World Space – each element in world space maps to a position in canonical space, where calculations are done. An object in canonical coordinates lies within the unit cube. In this case, the Lagrange polynomial is calculated with points in canonical space. Quadrature Points – for an n th order solution, the n+2 positions along each axis at which the data values are known without evaluation. Texture Shader – a programmable part of the hardware that takes texture coordinates and maps them to colors on a texture map. Directly Rendering Spectral Elements using Texture Shaders Bernard Peng and Andrew Forsberg Brown University Overview We directly render high-order polynomials using Texture Shaders on modern graphics hardware such as nVidia’s GeForce3. Spectral elements are a high-order data structure used in simulation and are advantageous because, generally, fewer elements are needed than with other techniques such as finite elements for the same problem. OpenGL-based programs normally linearly interpolate colors across each polygon, so the detail within each face is lost. We present a new approach for directly rendering spectral elements using Texture Shaders. This interactive technique uses resources proportional to dimensions visualized and polynomial order – resources required are independent of an object’s geometric complexity. Our Approach We present a method to directly render the surface of spectral elements by evaluating Lagrange polynomials using GeForce3 Hardware. A data value at a point in a spectral element can be evaluated using the following equation or its 2D or 3D form: However, since the GeForce hardware shaders have limited computational capability, the polynomials cannot be evaluated directly and instead we use pre-computed texture maps, a texture shader, and multi-pass rendering. Lagrange polynomial coefficients are pre-computed and stored in texture maps. At runtime, each pixel in a polygon is colored by the texture shader, which evaluates the dot product between the data values at the quadrature points and the Lagrange polynomial coefficients for those points. Since only 3 terms can be stored per pixel in each texture map, multiple texture maps must be used and additively blended together to compute the result of the Lagrange polynomial. OpenGL Implementation Overview Pre-Process -load data values -load pixel shader and texture shader -pre-compute Lagrange polynomial coefficient textures Render glEnable(GL_BLEND); glBlendEquation(GL_FUNC_ADD); glBlendFunc(GL_ONE, GL_ONE); For every point: glTexCoord0(canonical coordinates); glTexCoord1(all pressure values); glVertex(world coordinates); Texture Shader texture_2d(); dot_product_2d_1of2(tex0); dot_product_2d_2of2(tex0); Pixel Shader out.rgb = tex2 + col0; Detail of directly rendered spectral element (uses all 16 the data values given below) Sample Output Based on the following data values (from the highlighted element): (tested on a 866 Mhz Pentium III w/ GeForce3 and 256MB RAM) Conclusion We have developed a way to shade polygons with more detail across each face OpenGL instead of simply linearly interpolating between vertices, allowing us to directly render spectral elements. This same method can be extended for rendering 1D and 3D data also, using 1D or 3D texture maps. Using 3D data, we could render arbitrary slicing planes through an element. The real-time dot products allow us to change the data we pass it in real time, which is useful for animating multiple time steps, or changing the scale on the data to focus on a specific range of values. We have maintained a correlation between each element and the polygon that represents it. Data positions for a 2 nd order Spectral ElementData positions for a Finite Element Detail of standard OpenGL rendered element (uses only the 4 corner data values) References Karniadakis, G.E. and Sherwin, S. J., "Spectral/hp Element Methods for CFD", Oxford University Press, H. Battke, D. Stalling, and H. Hege, Fast Line Integral Convolution for Arbitrary Surfaces in 3D, Visualization and Mathematics (H. Hege and K. Polthier, eds.), Springer, 1997, pp Resources OrderTextures (Passes)Texture Memory (MB) n(n+2) 2 /3(n+2) 2 /3*256 2 *3*8 bytes Performance OrderFPS (artery, 704 elements)FPS (coil, 3332 elements) N/A 4 Not using this method