IBL/GI & GLASS. Getting Realistic Results By Yon Resch. The Three Types of GI lighting and Glass

Similar documents
Chapter 11. Caustics and Global Illumination

SAMPLING AND NOISE. Increasing the number of samples per pixel gives an anti-aliased image which better represents the actual scene.

Ok, so to get started we will take a look at the settings in the Render setup. If we were to take a render right now this is what we would see...

Lecture 18: Primer on Ray Tracing Techniques

There are many kinds of surface shaders, from those that affect basic surface color, to ones that apply bitmap textures and displacement.

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

Caustics - Mental Ray

Glass Gambit: Chess set and shader presets for DAZ Studio

MITOCW MIT6_172_F10_lec18_300k-mp4

Global Illumination. COMP 575/770 Spring 2013

COMP 175 COMPUTER GRAPHICS. Lecture 11: Recursive Ray Tracer. COMP 175: Computer Graphics April 9, Erik Anderson 11 Recursive Ray Tracer

THEA RENDER ADAPTIVE BSD ENGINE

Caustics - Mental Ray

Ray Tracing. CSCI 420 Computer Graphics Lecture 15. Ray Casting Shadow Rays Reflection and Transmission [Ch ]

Lighting. To do. Course Outline. This Lecture. Continue to work on ray programming assignment Start thinking about final project

Chapter 9- Ray-Tracing

Raycast Rendering Maya 2013

LIGHTING - 1. Note. Lights. Ambient occlusion

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

Intro to Ray-Tracing & Ray-Surface Acceleration

COMP371 COMPUTER GRAPHICS

Cast Shadows Maya 2013

FLAMINGO CHEAT SHEET FOR ES 305 CLASS 5 Pages of Fresh Flamingo Goodness

Fog and Cloud Effects. Karl Smeltzer Alice Cao John Comstock

Global Illumination. Global Illumination. Direct Illumination vs. Global Illumination. Indirect Illumination. Soft Shadows.

Texture Mapping. Images from 3D Creative Magazine

Raytracing & Epsilon. Today. Last Time? Forward Ray Tracing. Does Ray Tracing Simulate Physics? Local Illumination

Raytracing. COSC 4328/5327 Scott A. King

Mental Ray for BK5100

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

Photorealism: Ray Tracing

Rendering Part I (Basics & Ray tracing) Lecture 25 December 1, 2015

Rendering: Reality. Eye acts as pinhole camera. Photons from light hit objects

V-RAY MATERIAL SETTINGS

Hair. Hair. Edit Panel

Global Illumination. Why Global Illumination. Pros/Cons and Applications. What s Global Illumination

Illumination Algorithms

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

critical theory Computer Science

Global Illumination. Global Illumination. Direct Illumination vs. Global Illumination. Indirect Illumination. Soft Shadows.

MR Shaders Dielectric Materials Rendering Glass and Simple Caustics

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

Lighting and Shading

521493S Computer Graphics. Exercise 3

Recall: Basic Ray Tracer

4) Finish the spline here. To complete the spline, double click the last point or select the spline tool again.

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

Introduction to 3dsMax TNM061/TNGD25 Lab 3: Lighting and rendering

Raytracing CS148 AS3. Due :59pm PDT

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

Indirect Illumination

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

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

Point based global illumination is now a standard tool for film quality renderers. Since it started out as a real time technique it is only natural

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

Shading, lighting, & BRDF Theory. Cliff Lindsay, PHD

Turn your movie file into the homework folder on the server called Lights, Camera, Action.

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

Ø Sampling Theory" Ø Fourier Analysis Ø Anti-aliasing Ø Supersampling Strategies" Ø The Hall illumination model. Ø Original ray tracing paper

Oso Toon Shader. Step 1: Flat Color

CS354R: Computer Game Technology

Rendering and Radiosity. Introduction to Design Media Lecture 4 John Lee

Comp 410/510 Computer Graphics. Spring Shading

Lecture 17: Recursive Ray Tracing. Where is the way where light dwelleth? Job 38:19

Ray-Tracing. Misha Kazhdan

CS 325 Computer Graphics

Photo-realism Fundamentals

Chapter 5 Mirror and Lenses

How-To Guide SAP 3D Visual Enterprise Author 8.0 Document Version: How To Work with Textures

The V-Ray installer will automatically remove any previous installations. This will allow you to seamlessly upgrade from previous versions.

Problem Set 4 Part 1 CMSC 427 Distributed: Thursday, November 1, 2007 Due: Tuesday, November 20, 2007

GLOBAL ILLUMINATION. Christopher Peters INTRODUCTION TO COMPUTER GRAPHICS AND INTERACTION

CS-184: Computer Graphics. Administrative

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

Computer Graphics (CS 4731) Lecture 16: Lighting, Shading and Materials (Part 1)

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

CS559 Computer Graphics Fall 2015

CSE 167: Introduction to Computer Graphics Lecture #6: Lights. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2014

Light. Teacher Resource

Computer Graphics 1. Chapter 7 (June 17th, 2010, 2-4pm): Shading and rendering. LMU München Medieninformatik Andreas Butz Computergraphik 1 SS2010

What is the Deal with Color?

Computer Graphics (CS 543) Lecture 7b: Intro to lighting, Shading and Materials + Phong Lighting Model

Materials in Kerkythea ~ a beginners guide

Advanced Rendering CHAPTER. Render Window. Learning Objectives. Image Pane

Advanced Distant Light for DAZ Studio

FAQ - Podium v1.4 by Jim Allen

Effects needed for Realism. Computer Graphics (Fall 2008) Ray Tracing. Ray Tracing: History. Outline

Autodesk Fusion 360: Render. Overview

FreeForm 3D Displacer User Manual. freeform created by mettle.com

Homework #2. Shading, Ray Tracing, and Texture Mapping

Lecture 10: Ray tracing

Photon Mapping. Due: 3/24/05, 11:59 PM

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

Introduction Ray tracing basics Advanced topics (shading) Advanced topics (geometry) Graphics 2010/2011, 4th quarter. Lecture 11: Ray tracing

Topics and things to know about them:

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

CS354 Computer Graphics Ray Tracing. Qixing Huang Januray 24th 2017

Iray Uber Shader Properties. Workshop Reference Guide

Indirect Illumination

General mental ray questions

Transcription:

IBL/GI & GLASS Getting Realistic Results By Yon Resch Glass and other transparent materials are some of the hardest materials to render realistically. This has mainly to do with the number of additional attributes that glass has. Transparency, reflection, refraction and caustics can be very touchy variables. They sometimes mix in unexpected ways. Add Image Based Lighting (IBL) or Global Illumination (GI) and there are a lot of variables that may or may not give you what you are after. In order to show you what s at your disposal I m going to break each piece apart and show you what these variables might do. Skip through the headings below to see what interests you. The Three Types of GI lighting and Glass Three main ways to implement GI: Standard lights with Reverse Illumination (RI), GI Sky Lights (GISL) with either Color Maps (Color) or Sky Maps (SM), and GI Sky Lights with Adaptive Sky Maps (ASM). Above, notice how crisp the shadow in the first are, the ASM could approach this if the ray count is made high enough. 1

Standard Lights with RI The Standard light (e.g. spot, parallel, radial, etc) can produce GI light in two ways. The first is through Reverse Illumination, which is bounced light. The second method is to switch your light to GI Secondary only (you ll need to have secondary rays enabled in the GI Info Window). Secondary Rays are only apparent in reflections and refractions. Above, the effect of RI and Secondary GI. The Secondary only looks brighter due to the special way those lights render. See below. Above and below, the results of GI enabled Standard lights. Sky Light is required to soften RT shadows. RI doesn t get you there. 2

Primary Vs Secondary Rays This can be confusing, especially with lights and rays sharing names. So let s look at it more closely, starting with the rays, which the lights cast. Primary Rays are Reverse Illumination, also know as bounced light. I know what you re thinking, if it bounced wouldn t it be a secondary ray? Nope, Primary is the bounce. You can set the number of bounces in the GI Info tab > Reverse Illumination. You set the number of rays that are calculated for under Ray Count > Primary. The more rays the less noise, and the longer it takes to calculate the scene. Secondary Rays are the returning rays, as seen in reflections and refractions. They have no effect on a scene without reflections or refraction enabled, except to slow the rendering down. Increasing secondary rays GI Info > Ray Count > Secondary will reduce the noise you see in reflections and refractions, not make them brighter (Lights set to secondary can make them brighter, see below). Brightness is a factor of the lights which illuminate your seen, and the reflective/ refractive qualities of your materials. Normal vs Exclusive vs Secondary Lights When setting up standard lights, you can chose how they react when GI is on. Normal is the default, and in this mode your light illuminates as without GI and it also follows all of the GI settings for Ray Count and RI. Ignore mode, ignores all GI settings and illuminates without GI. Exclusive only takes the GI settings into account and ignores standard illumination. Finally Secondary, works through Reverse Illumination and the standard light settings, in order to create what GI Secondary Rays would, without GI Secondary Ray Count being considered, e.g. it GI SRC can = 0. A light in Secondary mode is cast with a phong model, and the shadows are cast as the light has them set. Pretty cool. Remember, the standard light settings (shadow, caustics, and light type, etc) take effect in all of the GI light settings. They do not always react as you might expect. For example the glass appears opaque in the Exclusive, no Secondary row below, because it has Ray Traced Transparency. Without the secondary rays enabled, the light doesn t come back through the glass, and therefore appears black. If you turn off the RT Transparency the light comes back. Notice that is not a problem in the Secondary, no Secondary Rays row. 3

4

Raytraced Transparency Many of the example renderings above were rendered with Phong Transparency. This makes the glass ball look like a bubble, but has little effect on the window glass. Below the images are rendered with RT Transparency. Notice the differences between Buffer and RT Shadows. The buffer shadows become solid beyond the glass. The solid shadow issue and Buffer shadows is side stepped by using Phong Transparency. The last image I cheated on and added a Color Sky Light to brighten the shadows. Above, The buffer shadows become solid beyond the glass. No RT Shadow appears with out transmission enabled. Caustics and GI Caustics can only be produced by Standard Lights. These lights can however be set to GI Normal, Exclusive, or Secondary and still produce Caustics. With RT > Filter Mode Transparency you can burn out what is behind the glass if you have caustics enabled with RT shadows. This can be fixed by using Color Filter Transparency instead. With Color Filter Transparency the color brightness controls transparency, so black glass will always appear solid. To get it to work, set transparency to 0, and use a custom color which is almost white. Above, The burnt out look of the center image is Due to the use of RT transparency in filter mode. 5

GI Sky Lights With GI Sky Lights, no other form of lighting is required to illuminate your scene. Sky Maps and Color Maps, or color from below, both provide an overcast look, with Sky Maps allowing you to use an image for more directional lighting. Sky Maps can be very noisy and slow to render. Adaptive Sky Maps(ASM) give very accurate directional lighting and are relatively fast. With ASM you want to use HDR imagery, while with Sky Maps you do not, as it just adds to the noise. Notice how similar the ASM image below is to the RT and Color Sky Map image from the Standard Light an GI section. The ASM image was much faster to render, and with more rays could look the same. Above and below, with the sky map I had to double both PR and SR to get the noise level down. This tripled the rendering time. 6

Noise and GI Sky Maps GI Sky Light Sky Maps can be very noisy, and For the most part have been replaced by ASM. ASM maps concentrate rays around points of higher light values. This means they render faster, and are much more effective in lighting. Above, the ray concentration of an ASM. IF the same image were used for SM each area would be evenly sampled. Above, notice the level of noise created by a SM, and then how many more rays need to be added to bring down a bit. 7

Rules of GI The GI system requires Raytraced Shadows be enabled to work. You will se no GI effect with out Raytraced Shadows enabled in the Render Info Tab. This does not mean you need to cast RT shadows with your lights. The GI Primary Light is not calculated for Reflections You need Secondary Rays to illuminate what reflects. If Secondary Rays = O your reflections will be black (or dark if you re using additional fill lights). The number of Secondary Rays determines the degree of noise in the reflection or refraction. The larger the number the less noise. If you don t see the difference in your scene, kill the secondary rays to speed up the rendering. These images were only illuminated by ASM GI, notice the effects in the various reflections and refractions. The GI Light is calculated based on image pixel density The larger you render an image in pixel size (e.g. 2000X600 pixels), the smoother your GI lighting will be with out changing the GI Ray Count settings. This means small test rendering will not give the exact same results as the full size rendering. The GI System will ignore a Transparent Object s refraction if... Volume transparency is not enabled. Shadow Mode Only is on. The ray-trace transparency is set to 100%. 8

GI Sky Lights have no Bounce Light; i.e. no Reverse Illumination. This means that scenes lighted entirely by GI Sky Lights will have the occlusion look, and not the extra bounce of light off of surfaces onto neighboring surfaces. ASMs hold to this as well. However a ASM which casts rays from all directions can very closely approximate the bounced look. A sphere with dim light imitating from the lower hemisphere works well. Also standard lights set up in the Normal mode, mixed with GI Sky Lights, can give you a very natural effect. Setting standard lights to.6 brightness and a GI Color Sky light to.5 gives a pretty good mix. And...finally... Set Up An Environment for Reflections Glass reads as glass from what it reflects and the degree to which it is transparent. If you are rendering a drinking glass, you may get away with only specular highlights. Windows on a building may need an environment. You ll know it when you see it. You ll also know it if you don t see reflections. I would like to thank the Igors, Ian, and Dave for contributing glass samples and wisdom that helped get this tome out the door. You are also welcome to contribute. Find any errors, omissions, errata... or if you would like to contribute your own materials or ideas, then email me here EIAS@BLACKBOXDESIGN COM 9