Introduction to Game FX (1/2) Improve the visual & sound game effects Includes : Combat FX Environment FX Character FX Scene FX Sound FX Post-processi

Size: px
Start display at page:

Download "Introduction to Game FX (1/2) Improve the visual & sound game effects Includes : Combat FX Environment FX Character FX Scene FX Sound FX Post-processi"

Transcription

1 Game FX 1

2 Introduction to Game FX (1/2) Improve the visual & sound game effects Includes : Combat FX Environment FX Character FX Scene FX Sound FX Post-processing after rendering FX editor needed General 3D animation tools can not do it Key-frame system is not working FX animation is always Procedurally Related to the previous frame 3D animation tool plugins or tailored-made 2

3 Introduction to Game FX (2/2) Small work but large effect Since GPU has become essential hardware of games, game FXs are enhanced by shaders. Skin rendering HDR Image-based lighting Ambient Occlusion Light scattering 3

4 Tailor-made FX Editing Tool Example 4

5 Combat FX During the combat Weapon motion blur Weapon effect Skill effect After the combat Damage effect Team Icon 5

6 Combat FX Example 6

7 FX Uses Texture Animation Almost all game FXs use this trick Geometry object on which the texture animation playing Billboard Rectangle always facing to camera With texture animation Simple 3D objects 3D Plate Cylinder Sphere Box Revolving a cross section curve Texture animation with color-key Semi-transparent t textures t Alpha blending Source color added to background 7

8 Particle System for FXs in Combat The FXs Fire / exposure / smoke / dust Initial value + time dependency Combined with billboard FX Billboard to play the texture animation Particle system to calculate l the motion path Gravity is the major force used Emitter pattern Single emitter Area emitter Emitter on vertices 8

9 Environment FX Weather Fog Use particle system Rain / Snow / Wind Traditional fog From near to far Hardware standard feature Volume fog Layered fog Use vertex shader Volume lighting Polygon solution Shader solution Day & night Light Scattering 9

10 Character FX Fatality Case by case and need creative solutions Rendering effects on skins Environment mapping Bump map Normal map Need pixel shader Texture diffusion Simulate the sub-surface surface scattering Flexible body Fur Flexible body dynamics Real-time fur rendering 10

11 Simple Skin Rendering Rim Shading A trick coming from rim shading Control the width of rim effect dot(nf, i) 1 - dot(nf, i) float dot = 1 dot(nf, i); diffusecolor = smoothstep(1.0 - rim_width, 1.0, dot); Add (1 dot(n, V)) or (1 dot(n, V) 2 ) to simulate the silhouette effect 11

12 Skin Rendering Sub-surface Scattering Texture Diffusion Render Radiance to Texture Space Use Blurring to Simulate the Light Diffusion on Skin Reference : GPU Gems III, Chapter 14

13 Texture Diffusion for Skins Blend six different levels of Gaussian filters to simulate texture diffusion R G B

14 Scene FX Sky Box Use a very large box or dome-like model to surround the whole game scene Use textures on the box or dome as the backdrop Use multiple textures and texture coordinates animation to simulate the moving of the clouds 14

15 Scene FX Len s Flare Runtime calculate the position and orientation of the camera with the sun Put textures to simulate the len s flare 15

16 Scene FX Light Scattering Atmospheric light scattering Caused by dust, molecules, or water vapor These can cause light to be: Scattered into the line of sight (in-scattering) Scattered out of the line of sight (out-scattering) Absorbed b altogether th (absorption) Skylight and sun light Can be implemented by vertex shader 16

17 Scene FX Light Scattering Examples Without scattering With scattering 17

18 Next-Gen Game FXs Use shaders Post-processing shaders Post-processing after 3D rendering HDRI (high dynamic range imaging) Motion blur Depth of field (DOF) Bloom Human visual system simulation Image-based lighting HDR image as light source Natural lighting 18

19 High Dynamic Range Dynamic range 影像中最亮部份與最暗部份的比值 一般數位影像 Low dynamic range (LDR) 2 8 Relative luminance ( ) 自然光影 High dynamic range (HDR) Physical quantity for HDR 19

20 Office interior Indirect light from window 1/60 th sec shutter f/5.6 aperture 0 ND filters 0dB gain 20

21 Outside in the shade 1/1000 th sec shutter f/5.6 aperture 0 ND filters 0dB gain 16 times the light as inside 21

22 Outside in the sun 1/1000 th sec shutter f/11 aperture 0 ND filters 0dB gain 64 times the light as inside 22

23 Straight at the sun 1/10, th sec shutter f/11 aperture 13 stops ND filters 0dB gain 5,000,000 times the light as inside 23

24 Very dim room 1/4 th sec shutter f/1.6 aperture 0 stops ND filters 18dB gain 1/1500 th the light than inside 24

25 2,000,000, ,000 25,

26 HDR 攝影術 Debevec and Malik, Recovering High Dynamic Range Radiance Maps from Photographs, SIGGRAPH ,000 : 1 Visualization: Greg Ward 26

27 Dazzle Lighting 27

28 Dazzle Refection Dazzling Reflection 28

29 Fresnel Reflection : Bright reflection off low-reflectance surfaces 29

30 Exposure Control 30

31 DOF (Depth of Field) 31

32 Motion Blur 32

33 High Dynamic Range Imaging Half-life 2 Copyright Valve software Used for educational purposes only.

34 Real-time HDR Step 1 Render the 3D on a HDR texture High definition RGBA image LDR : RGBA 0 ~ 12 bits 0 ~ 4096 (256) 1 white 0 1 HDR : RGBA > 16 bits floating-point real number color > 1.0 可使用.hdr 或.dds 中浮點格式貼圖 white =

35 Real-time HDR Step 2 Get the bright part Bloom 35

36 Real-time HDR Step 3 Tone Map Last step in HDR rendering Remapping HDR buffer to visible domain (LDR) 36

37 Introduction to Image-based Lighting (1/3) Hollywood has been doing this since the 90 s Now possible in real time 37

38 Introduction to Image-based Lighting (2/3) Using images as light sources IBL Without IBL Harsh Simplistic Noticeably computer generated With IBL Increasing scene s level of realism Increasing the visual interest Key technologies HDR photography Omnidirectional i photography h Global illumination 38

39 Introduction to Image-based Lighting (3/3) Omni-directional photography Light coming from every direction HDR Light probe images Global illumination Simulating how light traveling From light source Reflecting between surfaces Radiosity / Ray tracing Rendering equation Approximation : Screen Space Ambient Occlusion (SSAO) / Screen Space Directional Occlusion (SSDO) Pre-computed Radiance Transfer (PRT) 39

40 Capture HDR Light Probe Images (1/5) Digital camera with manual controls Tripod & Head 40

41 Capture HDR Light Probe Images (2/5) A 100%-reflective sphere can capture more than 180o reflection 8 stainless steel Gazing Sphere costs around USD20 41

42 Capture HDR Light Probe Images (3/5) Requirements Must capture the full dynamic range of the light within the scene HDR photography 42

43 Capture HDR Light Probe Images (4/5) Assembling the Light Probe 43

44 Capture HDR Light Probe Images (5/5) The other solutions Must see in all direction Panoramic photography Solutions :» Tiled photograph Quicktime VR»Fish-eye lens Capturing 180 degrees in single view Cropping problem for APS-C size CCD digital camera Vignetting» Scanning panoramic cameras 44

45 Real-world HDR Lighting Environments Funston Beach Eucalyptus Grove Uffizi Gallery Grace Cathedral Lighting Environments from the Light Probe Image Gallery: 45

46 46

47 Mirrored Sphere Framing and focus Blind spots Camera & photographer inside the image Lack of region directly behind the sphere Solution : Capture another image rotating 90 degrees Use HDRShop to integrate two light probe images as one. Calibrating sphere reflectivity Common values» (r, g, b) = (0.632, 0.647, 0.652) Non-specular reflection Scratch Oxidized Polarized reflection Image reflection 47

48 Omni-directional Image Mapping Ideal mirrored sphere Angular map Latitude-longitude map Cube map 48

49 Ideal Mirrored Sphere Captured by mirrored sphere Squeeze & stretch Mapping equation : From world to image : r = sin(arccos(-d z )*0.5) 2*sqrt(D 2 2 x2 +D y2 ) (u,v) = (0.5 + rd x, 0.5 rd y ) From image to world : r = sqrt((2*u-1) 2 + (2v-1) 2 ) (θ, φ) = (atan2(2u-1,-2v+1), 2arcsin(r)) (D x, D y, D z ) = (sinφcosθ, sinφsinθ, -cosφ) 49 y-up right-hand hand space

50 Angular Map Popular solution in light probe Mapping equation : From world to image : r = arccos(-d z ) 2π*sqrt(D x2 +D y2 ) (u,v) = (0.5 - rd y, rd x ) From image to world : (θ, φ) = (atan2(-2v+1,2u-1), πsqrt((2u-1) 2 +(2v-1) 2 )) (D x, D y, D z ) = (sinφcosθ, sinφsinθ, -cosφ) 50 y-up right-hand hand space

51 Latitude-Longitude Longitude Map A rectangular image domain 2 : 1 aspect ratio u in [0, 2] v in [0, 1] No seams Y rotating is translating horizontally Mapping equation : From world to image : (u,v) = (1+atan2(D x,-d z )/π, arccos(d y )/π) From image to world : (θ, φ) = (π(u-1), πv) (D x, D y, D z ) = (sinφcosθ, cosφ, sinφsinθ) 51 y-up right-hand hand space

52 Cube Map A rectangular image domain u in [0, 3] v in [0, 4] No seams We use the D3D native cube map format. 52 y-up right-hand hand space

53 More Image-Based Lighting Examples Outdoor Light Probes 53

54 54

55 24 Samples per Pixel 6h, 22min 55

56 56

57 24 Samples per Pixel 6h, 22min 57

58 Approximate Image-based Lighting Environment mapping for mirror-like surface Reflection Ambient occlusion Non-directional shadows Diffuse environment lighting Diffuse environment map Specular environment map 58

59 Prepare the Diffuse/Specular Environment Map Take the 360-degree panorama HDR picture as the environment map. Use HDRShop to generate the diffuse/specular environment map HDR environment map Diffuse environment map Specular environment map 59

60 Diffuse/Specular Environment Lighting Here, we demo to use lat-long long map (latitude-longitude longitude map) as the environment map format. For diffuse term : Use the normal vector to hit the environment map to get the average lighting for the rendering from the image as the light source. If we have the average incoming light vector from ambient occlusion data, use it. For specular term : Use the reflection vector of the camera direction to hit specular environment map #define PI float2 latlong(float3 v) { float3 v3 = normalize(v); float theta = acos(v.z); // +z is up float pi = atan2(v.x, v.y) + PI; return float2(phi, theta)*float2(0.5/pi, 1.0/PI); } 60

61 Why Ambient Occlusion? Shadow can't help you now!

62 How Ambient Occlusion? Sun is Directional Light Shadow! Sky is Hemisphere Light Ambient Occlusion

63 Ambient Occlusion Reference GPU Gems, Chapter 17, P The technique was originally developed by Hayden Landis (2002) and colleagues in Industrial Lights & Magic (ILM) for film production. Non-real-time renderer Overview Pre-processing steps Calculating the accessibility of light to the surface Calculating the average direction of the incident light Rendering Diffuse environment lighting Popular and real-time solution Screen Space Ambient Occlusion (SSAO) Using Normal Map and Depth Map 63

64 AO - The Preprocessing Step (1/3) On each vertex, there are two things needed to know : Accessibility What fraction of the hemisphere above that point P is un-occluded by other parts of the model The average direction of un-occluded incident light, B N B P 64

65 AO - The Preprocessing Step (2/3) The accessibility value and B vector are model dependent but not lighting dependent, can be computed offline in a preprocess with a ray tracer. The basic algorithm for computing ambient occlusion quantities : For each vertex { Generate a set of rays over the hemisphere centered at the vertex norm Vector avgunoccluded = Vector(0, 0, 0); int numunoccluded = 0; For each ray { If (ray doesn t intersect anything) { avgunoccluded += ray.direction; ++numunoccluded; } } avgunoccluded = normalize(avgunoccluded); accessibility = numunoccluded / numrays; } 65

66 AO - The Preprocessing Step (3/3) Ray generations : Rejection sampling Sampling rate is very critical Monte Carlo sampling algorithms Better distribution solution Rejection sampling algorithm : while (TRUE) { x = RandomFloat(-1, 1); // random float between -1 & 1 y = RandomFloat(-1, 1); z = RandomFloat(-1, 1); if (x*x x + y*y y + z*z z > 1) continue; // ignore ones outside unit sphere } if (dot(vector(x, y, z), N) < 0) continue; // ignore down direction ray return rn normalize(vector(x, y, z)); 66

Image-Based Lighting. Inserting Synthetic Objects

Image-Based Lighting. Inserting Synthetic Objects Image-Based Lighting 15-463: Rendering and Image Processing Alexei Efros with a lot of slides donated by Paul Debevec Inserting Synthetic Objects Why does this look so bad? Wrong camera orientation Wrong

More information

CMSC427 Advanced shading getting global illumination by local methods. Credit: slides Prof. Zwicker

CMSC427 Advanced shading getting global illumination by local methods. Credit: slides Prof. Zwicker CMSC427 Advanced shading getting global illumination by local methods Credit: slides Prof. Zwicker Topics Shadows Environment maps Reflection mapping Irradiance environment maps Ambient occlusion Reflection

More information

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016 Computergrafik Matthias Zwicker Universität Bern Herbst 2016 Today More shading Environment maps Reflection mapping Irradiance environment maps Ambient occlusion Reflection and refraction Toon shading

More information

The 7d plenoptic function, indexing all light.

The 7d plenoptic function, indexing all light. Previous Lecture The 7d plenoptic function, indexing all light. Lightfields: a 4d (not 5d!) data structure which captures all outgoing light from a region and permits reconstruction of arbitrary synthetic

More information

Image-Based Lighting. Eirik Holmøyvik. with a lot of slides donated by Paul Debevec

Image-Based Lighting. Eirik Holmøyvik. with a lot of slides donated by Paul Debevec Image-Based Lighting Eirik Holmøyvik with a lot of slides donated by Paul Debevec 15-463: Computational Photography Alexei Efros, CMU, Fall 2006 Inserting Synthetic Objects Why does this look so bad? Wrong

More information

Image-based Lighting (Part 2)

Image-based Lighting (Part 2) Image-based Lighting (Part 2) 10/19/17 T2 Computational Photography Derek Hoiem, University of Illinois Many slides from Debevec, some from Efros, Kevin Karsch Today Brief review of last class Show how

More information

Image-Based Lighting

Image-Based Lighting Image-Based Lighting Eirik Holmøyvik CS194: Image Manipulation & Computational Photography with a lot of slides Alexei Efros, UC Berkeley, Fall 2014 donated by Paul Debevec Inserting Synthetic Objects

More information

Image-Based Lighting : Computational Photography Alexei Efros, CMU, Fall Eirik Holmøyvik. with a lot of slides donated by Paul Debevec

Image-Based Lighting : Computational Photography Alexei Efros, CMU, Fall Eirik Holmøyvik. with a lot of slides donated by Paul Debevec Image-Based Lighting Eirik Holmøyvik with a lot of slides donated by Paul Debevec 15-463: Computational Photography Alexei Efros, CMU, Fall 2011 Inserting Synthetic Objects Why does this look so bad? Wrong

More information

Rendering Algorithms: Real-time indirect illumination. Spring 2010 Matthias Zwicker

Rendering Algorithms: Real-time indirect illumination. Spring 2010 Matthias Zwicker Rendering Algorithms: Real-time indirect illumination Spring 2010 Matthias Zwicker Today Real-time indirect illumination Ray tracing vs. Rasterization Screen space techniques Visibility & shadows Instant

More information

Advanced Graphics. Global Illumination. Alex Benton, University of Cambridge Supported in part by Google UK, Ltd

Advanced Graphics. Global Illumination. Alex Benton, University of Cambridge Supported in part by Google UK, Ltd Advanced Graphics Global Illumination 1 Alex Benton, University of Cambridge A.Benton@damtp.cam.ac.uk Supported in part by Google UK, Ltd What s wrong with raytracing? Soft shadows are expensive Shadows

More information

Lighting & 3D Graphics. Images from 3D Creative Magazine

Lighting & 3D Graphics. Images from 3D Creative Magazine Lighting & 3D Graphics Images from 3D Creative Magazine Contents Introduction Definitions 3D Lighting Basics 3D Light Sources Lighting Controls & Effects Brightness & Colour Shadows Hotspot And Falloff

More information

Image-based Lighting

Image-based Lighting Image-based Lighting 10/17/15 T2 Computational Photography Derek Hoiem, University of Illinois Many slides from Debevec, some from Efros Next week Derek away for ICCV (Venice) Zhizhong and Aditya will

More information

CS4670/5760: Computer Vision

CS4670/5760: Computer Vision CS4670/5760: Computer Vision Kavita Bala! Lecture 28: Photometric Stereo Thanks to ScoC Wehrwein Announcements PA 3 due at 1pm on Monday PA 4 out on Monday HW 2 out on weekend Next week: MVS, sfm Last

More information

Dynamic range Physically Based Rendering. High dynamic range imaging. HDR image capture Exposure time from 30 s to 1 ms in 1-stop increments.

Dynamic range Physically Based Rendering. High dynamic range imaging. HDR image capture Exposure time from 30 s to 1 ms in 1-stop increments. Dynamic range Ambient luminance levels for some common lighting environments: 094 Physically Based Rendering Sun and Sky and Colour and Environment Maps Jeppe Revall Frisvad Condition Illumination cd/m

More information

Lecture 7 - Path Tracing

Lecture 7 - Path Tracing INFOMAGR Advanced Graphics Jacco Bikker - November 2016 - February 2017 Lecture 7 - I x, x = g(x, x ) ε x, x + S ρ x, x, x I x, x dx Welcome! Today s Agenda: Introduction Advanced Graphics 3 Introduction

More information

Render all data necessary into textures Process textures to calculate final image

Render all data necessary into textures Process textures to calculate final image Screenspace Effects Introduction General idea: Render all data necessary into textures Process textures to calculate final image Achievable Effects: Glow/Bloom Depth of field Distortions High dynamic range

More information

Global Illumination CS334. Daniel G. Aliaga Department of Computer Science Purdue University

Global Illumination CS334. Daniel G. Aliaga Department of Computer Science Purdue University Global Illumination CS334 Daniel G. Aliaga Department of Computer Science Purdue University Recall: Lighting and Shading Light sources Point light Models an omnidirectional light source (e.g., a bulb)

More information

Advanced Maya Texturing and Lighting

Advanced Maya Texturing and Lighting Advanced Maya Texturing and Lighting Lanier, Lee ISBN-13: 9780470292730 Table of Contents Introduction. Chapter 1 Understanding Lighting, Color, and Composition. Understanding the Art of Lighting. Using

More information

Dynamic Ambient Occlusion and Indirect Lighting. Michael Bunnell NVIDIA Corporation

Dynamic Ambient Occlusion and Indirect Lighting. Michael Bunnell NVIDIA Corporation Dynamic Ambient Occlusion and Indirect Lighting Michael Bunnell NVIDIA Corporation Environment Lighting Environment Map + Ambient Occlusion + Indirect Lighting New Radiance Transfer Algorithm Useful for

More information

Wednesday, 26 January 2005, 14:OO - 17:OO h.

Wednesday, 26 January 2005, 14:OO - 17:OO h. Delft University of Technology Faculty Electrical Engineering, Mathematics, and Computer Science Mekelweg 4, Delft TU Delft Examination for Course IN41 5 1-3D Computer Graphics and Virtual Reality Please

More information

Scalable multi-gpu cloud raytracing with OpenGL

Scalable multi-gpu cloud raytracing with OpenGL Scalable multi-gpu cloud raytracing with OpenGL University of Žilina Digital technologies 2014, Žilina, Slovakia Overview Goals Rendering distant details in visualizations Raytracing Multi-GPU programming

More information

Consider a partially transparent object that is illuminated with two lights, one visible from each side of the object. Start with a ray from the eye

Consider a partially transparent object that is illuminated with two lights, one visible from each side of the object. Start with a ray from the eye Ray Tracing What was the rendering equation? Motivate & list the terms. Relate the rendering equation to forward ray tracing. Why is forward ray tracing not good for image formation? What is the difference

More information

The Animation Process. Lighting: Illusions of Illumination

The Animation Process. Lighting: Illusions of Illumination The Animation Process Lighting: Illusions of Illumination Lighting = realism Although real people versus real clay/plastic is up to textures Realistic lighting = render time Some properties of lights Colour

More information

Advanced Maya e Texturing. and Lighting. Second Edition WILEY PUBLISHING, INC.

Advanced Maya e Texturing. and Lighting. Second Edition WILEY PUBLISHING, INC. Advanced Maya e Texturing and Lighting Second Edition Lee Lanier WILEY PUBLISHING, INC. Contents Introduction xvi Chapter 1 Understanding Lighting, Color, and Composition 1 Understanding the Art of Lighting

More information

I have a meeting with Peter Lee and Bob Cosgrove on Wednesday to discuss the future of the cluster. Computer Graphics

I have a meeting with Peter Lee and Bob Cosgrove on Wednesday to discuss the future of the cluster. Computer Graphics Announcements Assignment 4 will be out later today Problem Set 3 is due today or tomorrow by 9am in my mail box (4 th floor NSH) How are the machines working out? I have a meeting with Peter Lee and Bob

More information

GUERRILLA DEVELOP CONFERENCE JULY 07 BRIGHTON

GUERRILLA DEVELOP CONFERENCE JULY 07 BRIGHTON Deferred Rendering in Killzone 2 Michal Valient Senior Programmer, Guerrilla Talk Outline Forward & Deferred Rendering Overview G-Buffer Layout Shader Creation Deferred Rendering in Detail Rendering Passes

More information

Shadows. COMP 575/770 Spring 2013

Shadows. COMP 575/770 Spring 2013 Shadows COMP 575/770 Spring 2013 Shadows in Ray Tracing Shadows are important for realism Basic idea: figure out whether a point on an object is illuminated by a light source Easy for ray tracers Just

More information

DEFERRED RENDERING STEFAN MÜLLER ARISONA, ETH ZURICH SMA/

DEFERRED RENDERING STEFAN MÜLLER ARISONA, ETH ZURICH SMA/ DEFERRED RENDERING STEFAN MÜLLER ARISONA, ETH ZURICH SMA/2013-11-04 DEFERRED RENDERING? CONTENTS 1. The traditional approach: Forward rendering 2. Deferred rendering (DR) overview 3. Example uses of DR:

More information

Real-Time Image Based Lighting in Software Using HDR Panoramas

Real-Time Image Based Lighting in Software Using HDR Panoramas Real-Time Image Based Lighting in Software Using HDR Panoramas Jonas Unger, Magnus Wrenninge, Filip Wänström and Mark Ollila Norrköping Visualization and Interaction Studio Linköping University, Sweden

More information

Computer Graphics. Lecture 14 Bump-mapping, Global Illumination (1)

Computer Graphics. Lecture 14 Bump-mapping, Global Illumination (1) Computer Graphics Lecture 14 Bump-mapping, Global Illumination (1) Today - Bump mapping - Displacement mapping - Global Illumination Radiosity Bump Mapping - A method to increase the realism of 3D objects

More information

ART 268 3D Computer Graphics Texture Mapping and Rendering. Texture Mapping

ART 268 3D Computer Graphics Texture Mapping and Rendering. Texture Mapping ART 268 3D Computer Graphics Texture Mapping and Rendering Texture Mapping Is the way in which a material is wrapped around an object. The default method is UVW mapping (see below). When you drag a material

More information

Dominic Filion, Senior Engineer Blizzard Entertainment. Rob McNaughton, Lead Technical Artist Blizzard Entertainment

Dominic Filion, Senior Engineer Blizzard Entertainment. Rob McNaughton, Lead Technical Artist Blizzard Entertainment Dominic Filion, Senior Engineer Blizzard Entertainment Rob McNaughton, Lead Technical Artist Blizzard Entertainment Screen-space techniques Deferred rendering Screen-space ambient occlusion Depth of Field

More information

INFOGR Computer Graphics. J. Bikker - April-July Lecture 10: Shading Models. Welcome!

INFOGR Computer Graphics. J. Bikker - April-July Lecture 10: Shading Models. Welcome! INFOGR Computer Graphics J. Bikker - April-July 2016 - Lecture 10: Shading Models Welcome! Today s Agenda: Introduction Light Transport Materials Sensors Shading INFOGR Lecture 10 Shading Models 3 Introduction

More information

Image Based Lighting with Near Light Sources

Image Based Lighting with Near Light Sources Image Based Lighting with Near Light Sources Shiho Furuya, Takayuki Itoh Graduate School of Humanitics and Sciences, Ochanomizu University E-mail: {shiho, itot}@itolab.is.ocha.ac.jp Abstract Recent some

More information

Image Based Lighting with Near Light Sources

Image Based Lighting with Near Light Sources Image Based Lighting with Near Light Sources Shiho Furuya, Takayuki Itoh Graduate School of Humanitics and Sciences, Ochanomizu University E-mail: {shiho, itot}@itolab.is.ocha.ac.jp Abstract Recent some

More information

The Making of Seemore WebGL. Will Eastcott, CEO, PlayCanvas

The Making of Seemore WebGL. Will Eastcott, CEO, PlayCanvas The Making of Seemore WebGL Will Eastcott, CEO, PlayCanvas 1 What is Seemore WebGL? A mobile-first, physically rendered game environment powered by HTML5 and WebGL 2 PlayCanvas: Powering Seemore WebGL

More information

Announcements. Written Assignment 2 out (due March 8) Computer Graphics

Announcements. Written Assignment 2 out (due March 8) Computer Graphics Announcements Written Assignment 2 out (due March 8) 1 Advanced Ray Tracing (Recursive) Ray Tracing Antialiasing Motion Blur Distribution Ray Tracing Ray Tracing and Radiosity Assumptions Simple shading

More information

Computer Graphics. Lecture 10. Global Illumination 1: Ray Tracing and Radiosity. Taku Komura 12/03/15

Computer Graphics. Lecture 10. Global Illumination 1: Ray Tracing and Radiosity. Taku Komura 12/03/15 Computer Graphics Lecture 10 Global Illumination 1: Ray Tracing and Radiosity Taku Komura 1 Rendering techniques Can be classified as Local Illumination techniques Global Illumination techniques Local

More information

Enhancing Traditional Rasterization Graphics with Ray Tracing. March 2015

Enhancing Traditional Rasterization Graphics with Ray Tracing. March 2015 Enhancing Traditional Rasterization Graphics with Ray Tracing March 2015 Introductions James Rumble Developer Technology Engineer Ray Tracing Support Justin DeCell Software Design Engineer Ray Tracing

More information

High Dynamic Range Image Texture Mapping based on VRML

High Dynamic Range Image Texture Mapping based on VRML High Dynamic Range Image Texture Mapping based on VRML Sung-Ye Kim and Byoung-Tae Choi 3D Graphics Research Team, Virtual Reality Research and Development Department, Computer Software Research Laboratory,

More information

General mental ray questions

General mental ray questions HDRI For Artists Siggraph 2008 mental ray HDRI FAQ By Håkan Zap Andersson, mental images version 4.1: April 25, 2008 General mental ray questions What is/are the primary reasons I should use mental ray

More information

Ray-Tracing. Misha Kazhdan

Ray-Tracing. Misha Kazhdan Ray-Tracing Misha Kazhdan Ray-Tracing In graphics, we often represent the surface of a 3D shape by a set of triangles. Goal: Ray-Tracing Take a collection of triangles representing a 3D scene and render

More information

Designing the look and feel for Smoke and Neon powers The creation of a new toolset and pipeline for I:SS Pros and cons from our new workflow and

Designing the look and feel for Smoke and Neon powers The creation of a new toolset and pipeline for I:SS Pros and cons from our new workflow and Designing the look and feel for Smoke and Neon powers The creation of a new toolset and pipeline for I:SS Pros and cons from our new workflow and lessons learned attempting to make something new Defining

More information

CS 325 Computer Graphics

CS 325 Computer Graphics CS 325 Computer Graphics 04 / 02 / 2012 Instructor: Michael Eckmann Today s Topics Questions? Comments? Illumination modelling Ambient, Diffuse, Specular Reflection Surface Rendering / Shading models Flat

More information

Interactive Cloth Simulation. Matthias Wloka NVIDIA Corporation

Interactive Cloth Simulation. Matthias Wloka NVIDIA Corporation Interactive Cloth Simulation Matthias Wloka NVIDIA Corporation MWloka@nvidia.com Overview Higher-order surfaces Vertex-shader deformations Lighting modes Per-vertex diffuse Per-pixel diffuse with bump-map

More information

Global Illumination The Game of Light Transport. Jian Huang

Global Illumination The Game of Light Transport. Jian Huang Global Illumination The Game of Light Transport Jian Huang Looking Back Ray-tracing and radiosity both computes global illumination Is there a more general methodology? It s a game of light transport.

More information

Photon Maps. The photon map stores the lighting information on points or photons in 3D space ( on /near 2D surfaces)

Photon Maps. The photon map stores the lighting information on points or photons in 3D space ( on /near 2D surfaces) Photon Mapping 1/36 Photon Maps The photon map stores the lighting information on points or photons in 3D space ( on /near 2D surfaces) As opposed to the radiosity method that stores information on surface

More information

Final Project: Real-Time Global Illumination with Radiance Regression Functions

Final Project: Real-Time Global Illumination with Radiance Regression Functions Volume xx (200y), Number z, pp. 1 5 Final Project: Real-Time Global Illumination with Radiance Regression Functions Fu-Jun Luan Abstract This is a report for machine learning final project, which combines

More information

So far, we have considered only local models of illumination; they only account for incident light coming directly from the light sources.

So far, we have considered only local models of illumination; they only account for incident light coming directly from the light sources. 11 11.1 Basics So far, we have considered only local models of illumination; they only account for incident light coming directly from the light sources. Global models include incident light that arrives

More information

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading CENG 477 Introduction to Computer Graphics Ray Tracing: Shading Last Week Until now we learned: How to create the primary rays from the given camera and image plane parameters How to intersect these rays

More information

Computer Graphics. Lecture 13. Global Illumination 1: Ray Tracing and Radiosity. Taku Komura

Computer Graphics. Lecture 13. Global Illumination 1: Ray Tracing and Radiosity. Taku Komura Computer Graphics Lecture 13 Global Illumination 1: Ray Tracing and Radiosity Taku Komura 1 Rendering techniques Can be classified as Local Illumination techniques Global Illumination techniques Local

More information

MIT Monte-Carlo Ray Tracing. MIT EECS 6.837, Cutler and Durand 1

MIT Monte-Carlo Ray Tracing. MIT EECS 6.837, Cutler and Durand 1 MIT 6.837 Monte-Carlo Ray Tracing MIT EECS 6.837, Cutler and Durand 1 Schedule Review Session: Tuesday November 18 th, 7:30 pm bring lots of questions! Quiz 2: Thursday November 20 th, in class (one weeks

More information

Models and Architectures

Models and Architectures Models and Architectures Objectives Learn the basic design of a graphics system Introduce graphics pipeline architecture Examine software components for an interactive graphics system 1 Image Formation

More information

Rendering Light Reflection Models

Rendering Light Reflection Models Rendering Light Reflection Models Visual Imaging in the Electronic Age Donald P. Greenberg October 3, 2017 Lecture #13 Program of Computer Graphics, Cornell University General Electric - 167 Cornell in

More information

Visual cues to 3D geometry. Light Reflection and Advanced Shading. Shading. Recognizing materials. size (perspective) occlusion shading

Visual cues to 3D geometry. Light Reflection and Advanced Shading. Shading. Recognizing materials. size (perspective) occlusion shading Visual cues to 3D geometry Light Reflection and Advanced Shading size (perspective) occlusion shading CS 4620 Lecture 17 1 2 Shading Recognizing materials Variation in observed color across an object strongly

More information

Screen Space Ambient Occlusion. Daniel Kvarfordt & Benjamin Lillandt

Screen Space Ambient Occlusion. Daniel Kvarfordt & Benjamin Lillandt Screen Space Ambient Occlusion Daniel Kvarfordt & Benjamin Lillandt Ambient light Same from all directions. Lambertian shading doesn't show form well. Need shadows to see form. Global illumination can

More information

Global Illumination. COMP 575/770 Spring 2013

Global Illumination. COMP 575/770 Spring 2013 Global Illumination COMP 575/770 Spring 2013 Final Exam and Projects COMP 575 Final Exam Friday, May 3 4:00 pm COMP 770 (and 575 extra credit) Projects Final report due by end of day, May 1 Presentations:

More information

Schedule. MIT Monte-Carlo Ray Tracing. Radiosity. Review of last week? Limitations of radiosity. Radiosity

Schedule. MIT Monte-Carlo Ray Tracing. Radiosity. Review of last week? Limitations of radiosity. Radiosity Schedule Review Session: Tuesday November 18 th, 7:30 pm, Room 2-136 bring lots of questions! MIT 6.837 Monte-Carlo Ray Tracing Quiz 2: Thursday November 20 th, in class (one weeks from today) MIT EECS

More information

CS354R: Computer Game Technology

CS354R: Computer Game Technology CS354R: Computer Game Technology Real-Time Global Illumination Fall 2018 Global Illumination Mirror s Edge (2008) 2 What is Global Illumination? Scene recreates feel of physically-based lighting models

More information

IMAGE BASED RENDERING: Using High Dynamic Range Photographs to Light Architectural Scenes

IMAGE BASED RENDERING: Using High Dynamic Range Photographs to Light Architectural Scenes IMAGE BASED RENDERING 1 IMAGE BASED RENDERING: Using High Dynamic Range Photographs to Light Architectural Scenes KATHLEEN CHENEY MEHLIKA INANICI University of Washington Abstract Image Based Rendering

More information

Local Illumination. CMPT 361 Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller

Local Illumination. CMPT 361 Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller Local Illumination CMPT 361 Introduction to Computer Graphics Torsten Möller Graphics Pipeline Hardware Modelling Transform Visibility Illumination + Shading Perception, Interaction Color Texture/ Realism

More information

Ambien Occlusion. Lighting: Ambient Light Sources. Lighting: Ambient Light Sources. Summary

Ambien Occlusion. Lighting: Ambient Light Sources. Lighting: Ambient Light Sources. Summary Summary Ambien Occlusion Kadi Bouatouch IRISA Email: kadi@irisa.fr 1. Lighting 2. Definition 3. Computing the ambient occlusion 4. Ambient occlusion fields 5. Dynamic ambient occlusion 1 2 Lighting: Ambient

More information

Stochastic Path Tracing and Image-based lighting

Stochastic Path Tracing and Image-based lighting EDA101 : Advanced Shading and Rendering Stochastic Path Tracing and Image-based lighting Michael Doggett 2008 Tomas Akenine-Möller 1 This is what we want: Courtesy of Henrik Wann Jensen Courtesy of Paul

More information

A Quick Introduction to POV-Ray

A Quick Introduction to POV-Ray A Quick Introduction to POV-Ray POV-Ray, the Persistence of Vision ray tracer, is open source software available from www.povray.org. This is good, highly functional software that you might enjoy playing

More information

Skylight to enhance outdoor scenes Real-Time Graphics. The atmosphere. Rayleigh scattering. Jeppe Revall Frisvad.

Skylight to enhance outdoor scenes Real-Time Graphics. The atmosphere. Rayleigh scattering. Jeppe Revall Frisvad. Skylight to enhance outdoor scenes 02564 Real-Time Graphics Skylight and irradiance environment maps Jeppe Revall Frisvad March 2016 Esplanade, Saint Clair, Dunedin, New ealand: -45.9121, 170.4893 The

More information

Ambient Occlusion. Ambient Occlusion (AO) "shadowing of ambient light "darkening of the ambient shading contribution

Ambient Occlusion. Ambient Occlusion (AO) shadowing of ambient light darkening of the ambient shading contribution Slides modified from: Patrick Cozzi University of Pennsylvania CIS 565 - Fall 2013 (AO) "shadowing of ambient light "darkening of the ambient shading contribution "the crevices of the model are realistically

More information

Real Time Rendering of Complex Height Maps Walking an infinite realistic landscape By: Jeffrey Riaboy Written 9/7/03

Real Time Rendering of Complex Height Maps Walking an infinite realistic landscape By: Jeffrey Riaboy Written 9/7/03 1 Real Time Rendering of Complex Height Maps Walking an infinite realistic landscape By: Jeffrey Riaboy Written 9/7/03 Table of Contents 1 I. Overview 2 II. Creation of the landscape using fractals 3 A.

More information

Computer Graphics. Illumination Models and Surface-Rendering Methods. Somsak Walairacht, Computer Engineering, KMITL

Computer Graphics. Illumination Models and Surface-Rendering Methods. Somsak Walairacht, Computer Engineering, KMITL Computer Graphics Chapter 10 llumination Models and Surface-Rendering Methods Somsak Walairacht, Computer Engineering, KMTL Outline Light Sources Surface Lighting Effects Basic llumination Models Polygon

More information

Texture. Texture Mapping. Texture Mapping. CS 475 / CS 675 Computer Graphics. Lecture 11 : Texture

Texture. Texture Mapping. Texture Mapping. CS 475 / CS 675 Computer Graphics. Lecture 11 : Texture Texture CS 475 / CS 675 Computer Graphics Add surface detail Paste a photograph over a surface to provide detail. Texture can change surface colour or modulate surface colour. Lecture 11 : Texture http://en.wikipedia.org/wiki/uv_mapping

More information

Interactive Methods in Scientific Visualization

Interactive Methods in Scientific Visualization Interactive Methods in Scientific Visualization GPU Volume Raycasting Christof Rezk-Salama University of Siegen, Germany Volume Rendering in a Nutshell Image Plane Eye Data Set Back-to-front iteration

More information

CS 475 / CS 675 Computer Graphics. Lecture 11 : Texture

CS 475 / CS 675 Computer Graphics. Lecture 11 : Texture CS 475 / CS 675 Computer Graphics Lecture 11 : Texture Texture Add surface detail Paste a photograph over a surface to provide detail. Texture can change surface colour or modulate surface colour. http://en.wikipedia.org/wiki/uv_mapping

More information

Topic 12: Texture Mapping. Motivation Sources of texture Texture coordinates Bump mapping, mip-mapping & env mapping

Topic 12: Texture Mapping. Motivation Sources of texture Texture coordinates Bump mapping, mip-mapping & env mapping Topic 12: Texture Mapping Motivation Sources of texture Texture coordinates Bump mapping, mip-mapping & env mapping Texture sources: Photographs Texture sources: Procedural Texture sources: Solid textures

More information

Computer Graphics (CS 543) Lecture 10: Normal Maps, Parametrization, Tone Mapping

Computer Graphics (CS 543) Lecture 10: Normal Maps, Parametrization, Tone Mapping Computer Graphics (CS 543) Lecture 10: Normal Maps, Parametrization, Tone Mapping Prof Emmanuel Agu Computer Science Dept. Worcester Polytechnic Institute (WPI) Normal Mapping Store normals in texture

More information

INFOGR Computer Graphics. Jacco Bikker - April-July Lecture 14: Grand Recap. Welcome!

INFOGR Computer Graphics. Jacco Bikker - April-July Lecture 14: Grand Recap. Welcome! TOTAL INFOGR Computer Graphics Jacco Bikker - April-July 2016 - Lecture 14: Grand Recap Welcome! Lecture 2: Rasters, Vectors, Colors Math: Vectors: magnitude, Pythagoras, linear (in)dependency, normalization,

More information

Reflection and Shading

Reflection and Shading Reflection and Shading R. J. Renka Department of Computer Science & Engineering University of North Texas 10/19/2015 Light Sources Realistic rendering requires that we model the interaction between light

More information

Enabling immersive gaming experiences Intro to Ray Tracing

Enabling immersive gaming experiences Intro to Ray Tracing Enabling immersive gaming experiences Intro to Ray Tracing Overview What is Ray Tracing? Why Ray Tracing? PowerVR Wizard Architecture Example Content Unity Hybrid Rendering Demonstration 3 What is Ray

More information

Topic 11: Texture Mapping 11/13/2017. Texture sources: Solid textures. Texture sources: Synthesized

Topic 11: Texture Mapping 11/13/2017. Texture sources: Solid textures. Texture sources: Synthesized Topic 11: Texture Mapping Motivation Sources of texture Texture coordinates Bump mapping, mip mapping & env mapping Texture sources: Photographs Texture sources: Procedural Texture sources: Solid textures

More information

V-RAY NEXT FOR 3DS MAX

V-RAY NEXT FOR 3DS MAX V-RAY NEXT FOR 3DS MAX May 2018 Dabarti Studio NEW FEATURES POWERFUL SCENE INTELLIGENCE V-Ray Scene Intelligence analyzes your scene to optimize rendering. You automatically get the best quality in less

More information

Simple Lighting/Illumination Models

Simple Lighting/Illumination Models Simple Lighting/Illumination Models Scene rendered using direct lighting only Photograph Scene rendered using a physically-based global illumination model with manual tuning of colors (Frederic Drago and

More information

Real-Time Universal Capture Facial Animation with GPU Skin Rendering

Real-Time Universal Capture Facial Animation with GPU Skin Rendering Real-Time Universal Capture Facial Animation with GPU Skin Rendering Meng Yang mengyang@seas.upenn.edu PROJECT ABSTRACT The project implements the real-time skin rendering algorithm presented in [1], and

More information

03 RENDERING PART TWO

03 RENDERING PART TWO 03 RENDERING PART TWO WHAT WE HAVE SO FAR: GEOMETRY AFTER TRANSFORMATION AND SOME BASIC CLIPPING / CULLING TEXTURES AND MAPPING MATERIAL VISUALLY DISTINGUISHES 2 OBJECTS WITH IDENTICAL GEOMETRY FOR NOW,

More information

COM337 COMPUTER GRAPHICS Other Topics

COM337 COMPUTER GRAPHICS Other Topics COM337 COMPUTER GRAPHICS Other Topics Animation, Surface Details, Global Illumination Kurtuluş Küllü based on the book by Hearn, Baker, and Carithers There are some other important issues and topics that

More information

2018 Feature Comparison

2018 Feature Comparison 3D visualization and virtual prototyping software 2018 Feature Comparison Data Import & Preparation Design Data Interoperability Scene Graph Editor Geometry Editor Node Editor Optimization Tools *limited

More information

CGDD 4113 Final Review. Chapter 7: Maya Shading and Texturing

CGDD 4113 Final Review. Chapter 7: Maya Shading and Texturing CGDD 4113 Final Review Chapter 7: Maya Shading and Texturing Maya topics covered in this chapter include the following: Shader Types Shader Attributes Texturing the Axe Life, Love, Textures and Surfaces

More information

Topic 11: Texture Mapping 10/21/2015. Photographs. Solid textures. Procedural

Topic 11: Texture Mapping 10/21/2015. Photographs. Solid textures. Procedural Topic 11: Texture Mapping Motivation Sources of texture Texture coordinates Bump mapping, mip mapping & env mapping Topic 11: Photographs Texture Mapping Motivation Sources of texture Texture coordinates

More information

Lecture 15: Shading-I. CITS3003 Graphics & Animation

Lecture 15: Shading-I. CITS3003 Graphics & Animation Lecture 15: Shading-I CITS3003 Graphics & Animation E. Angel and D. Shreiner: Interactive Computer Graphics 6E Addison-Wesley 2012 Objectives Learn that with appropriate shading so objects appear as threedimensional

More information

Global Illumination. CSCI 420 Computer Graphics Lecture 18. BRDFs Raytracing and Radiosity Subsurface Scattering Photon Mapping [Ch

Global Illumination. CSCI 420 Computer Graphics Lecture 18. BRDFs Raytracing and Radiosity Subsurface Scattering Photon Mapping [Ch CSCI 420 Computer Graphics Lecture 18 Global Illumination Jernej Barbic University of Southern California BRDFs Raytracing and Radiosity Subsurface Scattering Photon Mapping [Ch. 13.4-13.5] 1 Global Illumination

More information

Autodesk Fusion 360: Render. Overview

Autodesk Fusion 360: Render. Overview Overview Rendering is the process of generating an image by combining geometry, camera, texture, lighting and shading (also called materials) information using a computer program. Before an image can be

More information

Rendering. Converting a 3D scene to a 2D image. Camera. Light. Rendering. View Plane

Rendering. Converting a 3D scene to a 2D image. Camera. Light. Rendering. View Plane Rendering Pipeline Rendering Converting a 3D scene to a 2D image Rendering Light Camera 3D Model View Plane Rendering Converting a 3D scene to a 2D image Basic rendering tasks: Modeling: creating the world

More information

Other Rendering Techniques CSE 872 Fall Intro You have seen Scanline converter (+z-buffer) Painter s algorithm Radiosity CSE 872 Fall

Other Rendering Techniques CSE 872 Fall Intro You have seen Scanline converter (+z-buffer) Painter s algorithm Radiosity CSE 872 Fall Other Rendering Techniques 1 Intro You have seen Scanline converter (+z-buffer) Painter s algorithm Radiosity 2 Intro Some more Raytracing Light maps Photon-map Reyes Shadow maps Sahdow volumes PRT BSSRF

More information

Biased Monte Carlo Ray Tracing

Biased Monte Carlo Ray Tracing Biased Monte Carlo Ray Tracing Filtering, Irradiance Caching, and Photon Mapping Henrik Wann Jensen Stanford University May 23, 2002 Unbiased and Consistent Unbiased estimator: E{X} =... Consistent estimator:

More information

Me Again! Peter Chapman. if it s important / time-sensitive

Me Again! Peter Chapman.  if it s important / time-sensitive Me Again! Peter Chapman P.Chapman1@bradford.ac.uk pchapman86@gmail.com if it s important / time-sensitive Issues? Working on something specific? Need some direction? Don t hesitate to get in touch http://peter-chapman.co.uk/teaching

More information

COMP environment mapping Mar. 12, r = 2n(n v) v

COMP environment mapping Mar. 12, r = 2n(n v) v Rendering mirror surfaces The next texture mapping method assumes we have a mirror surface, or at least a reflectance function that contains a mirror component. Examples might be a car window or hood,

More information

Recall: Basic Ray Tracer

Recall: Basic Ray Tracer 1 Recall: Ray Tracing Generate an image by backwards tracing the path of light through pixels on an image plane Simulate the interaction of light with objects Recall: Basic Ray Tracer Trace a primary ray

More information

Global Rendering. Ingela Nyström 1. Effects needed for realism. The Rendering Equation. Local vs global rendering. Light-material interaction

Global Rendering. Ingela Nyström 1. Effects needed for realism. The Rendering Equation. Local vs global rendering. Light-material interaction Effects needed for realism Global Rendering Computer Graphics 1, Fall 2005 Lecture 7 4th ed.: Ch 6.10, 12.1-12.5 Shadows Reflections (Mirrors) Transparency Interreflections Detail (Textures etc.) Complex

More information

After the release of Maxwell in September last year, a number of press articles appeared that describe VXGI simply as a technology to improve

After the release of Maxwell in September last year, a number of press articles appeared that describe VXGI simply as a technology to improve After the release of Maxwell in September last year, a number of press articles appeared that describe VXGI simply as a technology to improve lighting in games. While that is certainly true, it doesn t

More information

LIGHTING - 1. Note. Lights. Ambient occlusion

LIGHTING - 1. Note. Lights. Ambient occlusion Note LIGHTING - 1 The creation and use of lights varies greatly between the default Blender renderer and the Cycles renderer. This section refers only to simple lighting in the default renderer. Lights

More information

Local vs. Global Illumination & Radiosity

Local vs. Global Illumination & Radiosity Last Time? Local vs. Global Illumination & Radiosity Ray Casting & Ray-Object Intersection Recursive Ray Tracing Distributed Ray Tracing An early application of radiative heat transfer in stables. Reading

More information

The Rendering Equation & Monte Carlo Ray Tracing

The Rendering Equation & Monte Carlo Ray Tracing Last Time? Local Illumination & Monte Carlo Ray Tracing BRDF Ideal Diffuse Reflectance Ideal Specular Reflectance The Phong Model Radiosity Equation/Matrix Calculating the Form Factors Aj Ai Reading for

More information

Capturing light. Source: A. Efros

Capturing light. Source: A. Efros Capturing light Source: A. Efros Review Pinhole projection models What are vanishing points and vanishing lines? What is orthographic projection? How can we approximate orthographic projection? Lenses

More information