Graphics Graphics Korea University cgvr.korea.ac.kr 1 Chapter 6 Special Effects 강 신 진강 신 진 2002.04.24.

Slides:



Advertisements
Similar presentations
Real-Time Rendering 靜宜大學資工研究所 蔡奇偉副教授 2010©.
Advertisements

Lecture 8 Transparency, Mirroring
Graphics Pipeline.
Lecture 14 Illumination II – Global Models
Week 11 - Wednesday.  Image based effects  Skyboxes  Lightfields  Sprites  Billboards  Particle systems.
3D Graphics Rendering and Terrain Modeling
Shadow Rendering Techniques A point is in the shadow of a light source if it can not be “seen” by the light source, i.e. the line segment that connects.
 Engineering Graphics & Introductory Design 3D Graphics and Rendering REU Modeling Course – June 13 th 2014.
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.
1 Dr. Scott Schaefer Shadows. 2/40 Shadows Shadows provide clues about depth Make scenes appear more realistic.
Reflections from Bumpy Surfaces GPU Graphics. What are we trying to achieve?  Most surfaces are not flat like glass  Some of these surfaces still give.
Real-Time Rendering SPEACIAL EFFECTS Lecture 03 Marina Gavrilova.
(conventional Cartesian reference system)
Real-Time High Quality Rendering COMS 6160 [Fall 2004], Lecture 4 Shadow and Environment Mapping
Basic Ray Tracing CMSC 435/634. Visibility Problem Rendering: converting a model to an image Visibility: deciding which objects (or parts) will appear.
CSE 872 Dr. Charles B. Owen Advanced Computer Graphics1 Other Rendering Techniques Types of rendering – Wireframe techniques – Scan-line conversion – Reyes.
University of Texas at Austin CS 378 – Game Technology Don Fussell CS 378: Computer Game Technology Beyond Meshes Spring 2012.
CSS552 Final Project Demo Peter Lam Tim Chuang. Problem Statement Our goal is to experiment with different post rendering effects (Cel Shading, Bloom.
09/18/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Bump Mapping Multi-pass algorithms.
Shadows Computer Graphics. Shadows Shadows Extended light sources produce penumbras In real-time, we only use point light sources –Extended light sources.
Erdem Alpay Ala Nawaiseh. Why Shadows? Real world has shadows More control of the game’s feel  dramatic effects  spooky effects Without shadows the.
Computer Graphics Mirror and Shadows
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 19 Other Graphics Considerations Review.
University of Illinois at Chicago Electronic Visualization Laboratory (EVL) CS 426 Intro to 3D Computer Graphics © 2003, 2004, 2005 Jason Leigh Electronic.
CS 638, Fall 2001 Today Light Mapping (Continued) Bump Mapping with Multi-Texturing Multi-Pass Rendering.
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.
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.
Week 11 - Thursday.  What did we talk about last time?  Image processing  Blurring  Edge detection  Color correction  Tone mapping  Lens flare.
Ray Tracing Sang Il Park SEjong University With lots of slides stolen from Jehee Lee, Doug James, Steve Seitz, Shree Nayar, Alexei Efros, Fredo Durand.
09/11/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Graphics Pipeline Texturing Overview Cubic Environment Mapping.
Graphics Graphics Korea University cgvr.korea.ac.kr 3D Viewing 고려대학교 컴퓨터 그래픽스 연구실.
CSC 461: Lecture 3 1 CSC461 Lecture 3: Models and Architectures  Objectives –Learn the basic design of a graphics system –Introduce pipeline architecture.
CS 638, Fall 2001 Multi-Pass Rendering The pipeline takes one triangle at a time, so only local information, and pre-computed maps, are available Multi-Pass.
Image-based Rendering. © 2002 James K. Hahn2 Image-based Rendering Usually based on 2-D imagesUsually based on 2-D images Pre-calculationPre-calculation.
Rendering Overview CSE 3541 Matt Boggus. Rendering Algorithmically generating a 2D image from 3D models Raster graphics.
Basic Ray Tracing CMSC 435/634. Visibility Problem Rendering: converting a model to an image Visibility: deciding which objects (or parts) will appear.
Week 10 - Wednesday.  What did we talk about last time?  Shadow volumes and shadow mapping  Ambient occlusion.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
1 10/24/ :01 UML Graphics II Shadows Session 4.
Computer Graphics The Rendering Pipeline - Review CO2409 Computer Graphics Week 15.
1Computer Graphics Lecture 4 - Models and Architectures John Shearer Culture Lab – space 2
Programming 3D Applications CE Displaying Computer Graphics Week 3 Lecture 5 Bob Hobbs Faculty of Computing, Engineering and Technology Staffordshire.
4.1. R ENDERING Aspects of Game Rendering. From Wikipedia: Rendering is the process of generating an image from a model. The model is a description.
Real-Time rendering Chapter 4.Visual Appearance 4.4. Aliasing and antialiasing 4.5. Transparency,alpha,and compositing 4.6. Fog 4.7. Gamma correction
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Surface Rendering Methods 고려대학교 컴퓨터 그래픽스 연구실.
Global Illumination. Local Illumination  the GPU pipeline is designed for local illumination  only the surface data at the visible point is needed to.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Ray Tracing Fall, Introduction Simple idea  Forward Mapping  Natural phenomenon infinite number of rays from light source to object to viewer.
Graphics Graphics Korea University cgvr.korea.ac.kr Lighting, Fogging, Alpha Blending & Progressive Meshes Byeong-Seon Jeong
Image-based Rendering Ref: RTRv2. 2 Introduction Sprite, billboard, overview.
CS559: Computer Graphics Final Review Li Zhang Spring 2010.
11/24/ :45 Graphics II Shadow Maps Reflections Session 5.
Real-Time Dynamic Shadow Algorithms Evan Closson CSE 528.
1 CSCE 441: Computer Graphics Hidden Surface Removal Jinxiang Chai.
Shadows David Luebke University of Virginia. Shadows An important visual cue, traditionally hard to do in real-time rendering Outline: –Notation –Planar.
1 Shadow Rendering Techniques: Hard and Soft Author: Jamiur Rahman Supervisor: Mushfiqur Rouf Department of CSE BRAC University.
Image-Based Rendering Geometry and light interaction may be difficult and expensive to model –Think of how hard radiosity is –Imagine the complexity of.
09/23/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Reflections Shadows Part 1 Stage 1 is in.
Aspects of Game Rendering
Week 11 - Wednesday CS361.
Image-Based Rendering
The Graphics Rendering Pipeline
Jim X. Chen George Mason University
CSCE 441: Computer Graphics Hidden Surface Removal
Reflections from Bumpy Surfaces
UMBC Graphics for Games
14th Lecture – Final Lecture
Week 11 - Monday CS361.
Presentation transcript:

Graphics Graphics Korea University cgvr.korea.ac.kr 1 Chapter 6 Special Effects 강 신 진강 신 진

CGVR Graphics Korea University cgvr.korea.ac.kr 2 What? What is Special Effects? Relative term in computer graphics New way of performing old algorithms 온라인 게임 - 뮤

CGVR Graphics Korea University cgvr.korea.ac.kr 3 Index Image-Based Rendering Lens Flare and Bloom Billboarding Full-Screen Billboarding Particle System Fixed-View Effects Motion Blur Depth of Field Reflections Planar Reflections Glossy Effects Reflections from Curved Reflectors

CGVR Graphics Korea University cgvr.korea.ac.kr 4 Polygon-Based Rendering Use polygon to portray image Can represent the object in any view Image-Based Rendering Use images to portray image Can gain speed advantage Image-Based Rendering

CGVR Graphics Korea University cgvr.korea.ac.kr 5 Image-Based Rendering - Sprite What is Sprite? An Image that moves around on the screen Simplest image-base rendering primitive Implementation An image texture on a polygon with the use of alpha channel + = 배경화면 스프라이트결과화면

CGVR Graphics Korea University cgvr.korea.ac.kr 6 Image-Based Rendering - Sprite Example Matrox Graphics Power of 3D Demo

CGVR Graphics Korea University cgvr.korea.ac.kr 7 Image-Based Rendering - Sprite Example Matrox Graphics Power of 3D Demo

CGVR Graphics Korea University cgvr.korea.ac.kr 8 Image-Based Rendering – QuickTime VR QuickTime VR Use a 360` panoramic image surrounds the viewer as a cylindrical image Optimized for cylindrical environment mapping

CGVR Graphics Korea University cgvr.korea.ac.kr 9 Image-Based Rendering Limitation When to Warp and When to Regenerate? Microsoft Chicken Crossing

CGVR Graphics Korea University cgvr.korea.ac.kr 10 Index Image-Based Rendering Lens Flare and Bloom Billboarding Full-Screen Billboarding Particle System Fixed-View Effects Motion Blur Depth of Field Reflections Planar Reflections Glossy Effects Reflections from Curved Reflectors

CGVR Graphics Korea University cgvr.korea.ac.kr 11 Lens Flare and Bloom Sample nVIDIA Effect Browser

CGVR Graphics Korea University cgvr.korea.ac.kr 12 Lens Flare and Bloom Lens Flare Phenomenon caused by the lens of the eye or camera when directed at bright light Consist of Halo and Ciliary Corona Bloom Phenomenon caused by scattering in the lens and other part of the eye Halo Ciliary Corona Bloom

CGVR Graphics Korea University cgvr.korea.ac.kr 13 Lens Flare and Bloom Sample nVIDIA Effect Browser

CGVR Graphics Korea University cgvr.korea.ac.kr 14 Billboarding Orienting the polygon based on the view direction Billboard The polygon which is oriented Direct3D Billboarding Tree

CGVR Graphics Korea University cgvr.korea.ac.kr 15 Billboarding – Screen-Aligned Screen-Aligned Billboarding Billboard face the screen Billboard normal is negation of the view direction Rotate n to align with –V dir, the rotate u’ to align with V up u’ V up V dir n

CGVR Graphics Korea University cgvr.korea.ac.kr 16 World-Aligned Billboarding Billboard face the screen but aligns with the world’s up-vector W up Billboarding – World-Aligned t up W up V dir r n

CGVR Graphics Korea University cgvr.korea.ac.kr 17 Axial-Aligned Billboarding Billboard rotate around fixed world-space axis and align with viewer as possible within range Billboarding – Axial-Aligned t dir W up V dir s

CGVR Graphics Korea University cgvr.korea.ac.kr 18 Full-Screen Billboarding A Screen-align billboard that covers the entire view Can change the look of an environment id Software Quake III

CGVR Graphics Korea University cgvr.korea.ac.kr 19 Index Image-Based Rendering Lens Flare and Bloom Billboarding Full-Screen Billboarding Particle System Fixed-View Effects Motion Blur Depth of Field Reflections Planar Reflections Glossy Effects Reflections from Curved Reflectors

CGVR Graphics Korea University cgvr.korea.ac.kr 20 Particle Systems Particle System A set of separate small objects that are set into motion using some algorithm Creating, moving, changing, and deleting particles nVIDIA Particle Demo

CGVR Graphics Korea University cgvr.korea.ac.kr 21 Fixed-View Effects Fixed-View The view is fixed to one location and orientation Using depth information from a real scene to be seen more realistic Static image can be made to look more realistic 3D 수족관 화면 보호기

CGVR Graphics Korea University cgvr.korea.ac.kr 22 Index Image-Based Rendering Lens Flare and Bloom Billboarding Full-Screen Billboarding Particle System Fixed-View Effects Motion Blur Depth of Field Reflections Planar Reflections Glossy Effects Reflections from Curved Reflectors

CGVR Graphics Korea University cgvr.korea.ac.kr 23 Motion Blur Blurring Can add the feeling of motion Average a series of images using accumulation buffer Motion Blur created by accumulation buffer

CGVR Graphics Korea University cgvr.korea.ac.kr 24 Index Image-Based Rendering Lens Flare and Bloom Billboarding Full-Screen Billboarding Particle System Fixed-View Effects Motion Blur Depth of Field Reflections Planar Reflections Glossy Effects Reflections from Curved Reflectors

CGVR Graphics Korea University cgvr.korea.ac.kr 25 Depth of Field Objects which is out of focus are blurry nVIDIA Depth of Field

CGVR Graphics Korea University cgvr.korea.ac.kr 26 Index Image-Based Rendering Lens Flare and Bloom Billboarding Full-Screen Billboarding Particle System Fixed-View Effects Motion Blur Depth of Field Reflections Planar Reflections Glossy Effects Reflections from Curved Reflectors

CGVR Graphics Korea University cgvr.korea.ac.kr 27 Reflections Reflection and Shadows Generated by lighting equation Can increase realism Used by viewer as a cues to determine spatial relationships between objects

CGVR Graphics Korea University cgvr.korea.ac.kr 28 Reflections Reflector and Reflected Geometry Reflector: a reflecting surface Reflected Geometry: Geometry reflected in the reflector Ray Tracing Solution in which the reflection ray is emitted from a reflector and recursively traced Computationally intensive for real-time system Need real-time solution

CGVR Graphics Korea University cgvr.korea.ac.kr 29 Reflections – Planar Reflections Planar Reflection Reflection off a flat surface - Mirror reflection Execute more rapidly than general reflection Follows the law of reflection  Can be Implemented by Copy & Transforming

CGVR Graphics Korea University cgvr.korea.ac.kr 30 Reflections – Planar Reflections Reflection Matrix F = R (n, (0,1,0))T(-p) M = F -1 S(1,-1,1) F

CGVR Graphics Korea University cgvr.korea.ac.kr 31 Reflections – Planar Reflections Reflectivity factor Applied by changing transparency

CGVR Graphics Korea University cgvr.korea.ac.kr 32 Reflections – Planar Reflections Stencil Buffer Support selective Planar Reflections

CGVR Graphics Korea University cgvr.korea.ac.kr 33 Reflections – Planar Reflections Problem Area Culling  Turn off face culling or front face culling Clipping  Clipping Plane Another Technique Reflection image can be treated as a texture

CGVR Graphics Korea University cgvr.korea.ac.kr 34 Glossy Effects Object face to black as the distance from the reflector increase Distance calculation is needed

CGVR Graphics Korea University cgvr.korea.ac.kr 35 Reflections from Curved Reflector Traditional Solution Ray-Tracing Not good for real-time system Selective Trace Ray Trace rays only from the reflector’s vertices into environment Significantly reduce computation time but still suffer from Gouraud-Shading artifacts

CGVR Graphics Korea University cgvr.korea.ac.kr 36 Question Image-Based Rendering Lens Flare and Bloom Billboarding Full-Screen Billboarding Particle System Fixed-View Effects Motion Blur Depth of Field Reflections Planar Reflections Glossy Effects Reflections from Curved Reflectors Matrox Graphics Power of 3D Demo