CSS 522 Topics in Rendering March 01,2011 Scott and Lew.

Slides:



Advertisements
Similar presentations
Parameterized Environment Maps
Advertisements

Dynamic Sky Dome GDC March 2nd, 2011 by Igor Lobanchikov
Ray tracing. New Concepts The recursive ray tracing algorithm Generating eye rays Non Real-time rendering.
Graphics Pipeline.
1 Graphics CSCI 343, Fall 2013 Lecture 18 Lighting and Shading.
Week 7 - Monday.  What did we talk about last time?  Specular shading  Aliasing and antialiasing.
Week 11 - Wednesday.  Image based effects  Skyboxes  Lightfields  Sprites  Billboards  Particle systems.
3D Graphics Rendering and Terrain Modeling
CLASS 9 ADVANCE RENDERING RAY TRACING RADIOSITY LIGHT FIELD CS770/870.
COMPUTER GRAPHICS CS 482 – FALL 2014 OCTOBER 6, 2014 TEXTURE MAPPING TEXTURES BUMP MAPPING ENVIRONMENT MAPPING PROCEDURAL TEXTURING.
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.
Real-Time Rendering SPEACIAL EFFECTS Lecture 03 Marina Gavrilova.
Computer Graphics - Class 10
1 Image-Based Visual Hulls Paper by Wojciech Matusik, Chris Buehler, Ramesh Raskar, Steven J. Gortler and Leonard McMillan [
CSCE 641: Computer Graphics Ray Tracing Jinxiang Chai.
Texture Mapping from Watt, Ch. 8 Jonathan Han. Topics Discussed Texture Map to Models Bump Maps, Light Maps Environment (Reflection) Mapping 3D Textures.
Final Gathering on GPU Toshiya Hachisuka University of Tokyo Introduction Producing global illumination image without any noise.
CSCE 641: Computer Graphics Ray Tracing Jinxiang Chai.
CSC 461: Lecture 2 1 CSC461 Lecture 2: Image Formation Objectives Fundamental imaging notions Fundamental imaging notions Physical basis for image formation.
Real-Time Ray Tracing 3D Modeling of the Future Marissa Hollingsworth Spring 2009.
Basic Ray Tracing CMSC 435/634. Visibility Problem Rendering: converting a model to an image Visibility: deciding which objects (or parts) will appear.
Computer Graphics Inf4/MSc Computer Graphics Lecture 11 Texture Mapping.
Computer graphics & visualization. Game Design - Rendering Smoke & Clouds Jürgen Treml Talk Overview 1.Introduction to Clouds.
Guilford County Sci Vis V204.01
CS 445 / 645: Introductory Computer Graphics
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 19 Other Graphics Considerations Review.
1 Computer Graphics Week13 –Shading Models. Shading Models Flat Shading Model: In this technique, each surface is assumed to have one normal vector (usually.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
COMP 175: Computer Graphics March 24, 2015
1Computer Graphics Lecture 3 - Image Formation John Shearer Culture Lab – space 2
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Computer Graphics I, Fall 2008 Image Formation.
1 Image Formation. 2 Objectives Fundamental imaging notions Physical basis for image formation ­Light ­Color ­Perception Synthetic camera model Other.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Reflections Specular reflection is the perfect reflection of light from a surface. The law a reflection states that the direction of the incoming ray and.
02/25/05© 2005 University of Wisconsin Last Time Meshing Volume Scattering Radiometry (Adsorption and Emission)
-Global Illumination Techniques
09/11/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Graphics Pipeline Texturing Overview Cubic Environment Mapping.
1 Dr. Scott Schaefer Ray Tracing. 2/42 Ray Tracing Provides rendering method with  Refraction/Transparent surfaces  Reflective surfaces  Shadows.
Basic Ray Tracing CMSC 435/634. Visibility Problem Rendering: converting a model to an image Visibility: deciding which objects (or parts) will appear.
Computer Graphics Global Illumination: Photon Mapping, Participating Media Lecture 12 Taku Komura.
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
Parallel Ray Tracer Computer Systems Lab Presentation Stuart Maier.
Point Sprites Course Information CVG: Programming 4 My Name: Mark Walsh Website: Recommended.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
Digital Media Dr. Jim Rowan ITEC 2110 Vector Graphics II.
Basic Ray Tracing CMSC 435/634.
CS 325 Introduction to Computer Graphics 03 / 29 / 2010 Instructor: Michael Eckmann.
Computer Graphics Lecture 08 Fasih ur Rehman. Last Class Ray Tracing.
Discontinuous Displacement Mapping for Volume Graphics, Volume Graphics 2006, July 30, Boston, MA Discontinuous Displacement Mapping for Volume Graphics.
Graphics Lecture 17: Slide 1 Interactive Computer Graphics Lecture 17: Fire.
COMPUTER GRAPHICS CS 482 – FALL 2015 SEPTEMBER 29, 2015 RENDERING RASTERIZATION RAY CASTING PROGRAMMABLE SHADERS.
Nic Shulver, 3D with Ray Tracing What is Ray Tracing? l“In computer graphics, an advanced technique for adding realism to an image.
OpenGL and You I Cast, Therefore I Am. Ray Casting Idea is simple, implementation takes some work –Cast rays as if you were the camera –Determine intersection.
CS 376 Introduction to Computer Graphics 04 / 13 / 2007 Instructor: Michael Eckmann.
Volumetric Lighting Effects By Thomas Brown and Albert Ng.
Digital Media Dr. Jim Rowan ITEC 2110 Vector Graphics II.
Basic Ray Tracing CMSC 435/634.
- Introduction - Graphics Pipeline
Week 11 - Wednesday CS361.
Image-Based Rendering
3D Graphics Rendering PPT By Ricardo Veguilla.
Mike Merchant Nicholas Hilbert
Interactive Computer Graphics
© University of Wisconsin, CS559 Fall 2004
An Approximation of Volumetric Lighting
Parallel Spectral Renderer
Dr. Jim Rowan ITEC 2110 Vector Graphics II
CSCE 441: Computer Graphics Ray Tracing
Computer Graphics Lecture 15.
Presentation transcript:

CSS 522 Topics in Rendering March 01,2011 Scott and Lew

 Background of Fog  Method used to simulate it  Perlin's Noise  Why Perlin's Noise is cool?  Rendering fog with Perlin's Noise ◦ Pseudo Implementation

 Small water droplets no larger than 0.05 inches in diameter ◦ Effects when light enters the droplet  Absorption  Emission  Out-scattering(diffusion)  In-scattering Ref:

 Visible clouds and fog are created by millions and millions of water droplets refracting and reflecting light  This is impractical to model – it might provide a more realistic rendering but comes at the expense of an impossibly huge amount of geometry to render.  It also doesn’t make sense to define the size & position of each water droplet in a scene  The visually interesting aspects of fog come from the aggregation of these particles, rather than the particles themselves

Approaches  Render as textures on geometry  Render as sprites  Render as texture on background Shortcomings  Texture-based approaches doesn’t accurately reflect different camera positions  None of these approaches allow geometry to interact with the fog (can’t see the effects of placing geometry inside or behind the fog)  These also don’t capture the effects of multiple light sources or colored light

 Despite aforementioned shortcomings, the result is aesthetically appealing Ref:

 Model the area of fog as a simple geometrical object that we are already familiar with, like a box or sphere  Layer the geometry into many slices in the V direction (the viewing direction of the camera) Fog Slices

 Compute random locations for clusters of mass on the slice nearest to the camera. Interpolate the mass between the clusters using some falloff function One Fog Slice

 Repeat the mass clustering on the next layer, interpolating the amount of mass at each point using different randomly positioned clusters Multiple Fog Slices

 Composite the slices and include interactions with other geometry

Now that we have conceptual mass distributed in 3D space, how do we render it?  Intersect rays with our fog geometry as usual.  Determine how much mass a ray intersects with at the first layer.  Calculate how much mass the ray hit to determine the opacity of this intersection. More mass == more opacity  If the opacity < 1, shoot another ray in the same direction. It will either intersect with the next layer, another piece of geometry, or nothing at all. Compute shading until we don’t intersect with any more geometry

 Random mass creates a fuzzy look like static on a TV screen  This does not look realistic because it lacks the wispy, flowing quality of volumetric fog  A better way for us to distribute mass would be to use a smarter noise functions Random Noise

Linear Method: Ref: Exponential and Squared Method: *Both implementation are cheap on computation, and are used in real time graphics systems. *Both methods are implemented in theDirect3d and OpenGL Library Simple Methods Used to Simulate FOG

Yeah, This looks Good but, it could be cooler. If we use… Ref:

And Looks like Fog too! Google Images: Perlin's Noise

Amplitude: is a parameter describing the range of texture colors Because we are using a gray scale, the full spectrum will be Frequency: specifies the rate at which colors change in generated texture. I.E. Low frequency noise change gradually shifts contrasting colors slowly. High frequency noise change shifts contrasting colors fast.

Where X is a point in 3D Space Ref: /web/Zdrojewska-Dorota/

1. Generate a Perlin's noise texture parallel to the viewing pane 2. Compute fog factor 3. Blend colors of the scene with the fog color during Ray Trace

Ref: SCG-2004/web/Zdrojewska-Dorota/