Computer Animation: Art, Science and Criticism



Similar documents
Lighting & Rendering in Maya: Lights and Shadows

Maya 2014 Still Life Part 1 Texturing & Lighting

Thea Omni Light. Thea Spot Light. Light setup & Optimization

ADVANCED THEORIES FOR CG LIGHTING

A Short Introduction to Computer Graphics

INTRODUCTION TO RENDERING TECHNIQUES

Computer Graphics Global Illumination (2): Monte-Carlo Ray Tracing and Photon Mapping. Lecture 15 Taku Komura

So, you want to make a photo-realistic rendering of the Earth from orbit, eh? And you want it to look just like what astronauts see from the shuttle

Rendering Area Sources D.A. Forsyth

My Materials. In this tutorial, we ll examine the material settings for some simple common materials used in modeling.

Computer Applications in Textile Engineering. Computer Applications in Textile Engineering

Lezione 4: Grafica 3D*(II)

Compositing a 3D character over video footage in Maya Jean-Marc Gauthier, Spring 2008

SkillsUSA 2014 Contest Projects 3-D Visualization and Animation

SHOW MORE SELL MORE. Top tips for taking great photos

PRODUCT LIFECYCLE MANAGEMENT COMPETENCY CENTRE RENDERING. PLMCC, JSS Academy of Technical Education, Noida Rendering 1 of 16

Making natural looking Volumetric Clouds In Blender 2.48a

An introduction to Global Illumination. Tomas Akenine-Möller Department of Computer Engineering Chalmers University of Technology

IT 386: 3D Modeling and Animation. Review Sheet. Notes from Professor Nersesian s IT 386: 3D Modeling and Animation course

Capture high-resolution pictures. Fill the frame with the item. Show the scale. Keep your photos from tinting. Capture detailed close-up shots.

CS 431/636 Advanced Rendering Techniques"

Adding Animation With Cinema 4D XL

Blender 2.49b How to generate 3D-images?

Deferred Shading & Screen Space Effects

The Little black book of lighting For Film and Video

Photo Studio. Site Map Preface What`s New? Getting Started Basic Tasks Advanced Tasks Workbench Description Customizing Glossary Index

Learning about light and optics in on-line general education classes using at-home experimentation.

Image Processing and Computer Graphics. Rendering Pipeline. Matthias Teschner. Computer Science Department University of Freiburg

Which month has larger and smaller day time?

Introduction to Computer Graphics

How To Draw In Autocad

Self-Positioning Handheld 3D Scanner

Using Photorealistic RenderMan for High-Quality Direct Volume Rendering

Introduction to Autodesk Inventor for F1 in Schools

Path Tracing. Michael Doggett Department of Computer Science Lund university Michael Doggett

Monash University Clayton s School of Information Technology CSE3313 Computer Graphics Sample Exam Questions 2007

The Lighting Effects Filter

Any source of light can be described in terms of four unique and independently respective properties:

Optical Design Tools for Backlight Displays

Stow Lighting Advisory Subcommittee Terminology Guide

Name Class. Date Section. Test Form A Chapter 11. Chapter 11 Test Bank 155

Materials in NX Render

AR-media TUTORIALS OCCLUDERS. (May, 2011)

The RADIANCE Lighting Simulation and Rendering System

Advanced Computer Graphics. Rendering Equation. Matthias Teschner. Computer Science Department University of Freiburg

GRAFICA - A COMPUTER GRAPHICS TEACHING ASSISTANT. Andreas Savva, George Ioannou, Vasso Stylianou, and George Portides, University of Nicosia Cyprus

Direct and Reflected: Understanding the Truth with Y-S 3

Chapter 5: Fundamentals of Lighting

Cork Education and Training Board. Programme Module for. 3 Dimensional Computer Graphics. Leading to. Level 5 FETAC

Photorealistic Rendering Techniques in AutoCAD 3D

Geometry and Measurement

Course Overview. CSCI 480 Computer Graphics Lecture 1. Administrative Issues Modeling Animation Rendering OpenGL Programming [Angel Ch.

Specular reflection. Dielectrics and Distribution in Ray Tracing. Snell s Law. Ray tracing dielectrics

Blender Notes. Introduction to Digital Modelling and Animation in Design Blender Tutorial - week 9 The Game Engine

PATH TRACING: A NON-BIASED SOLUTION TO THE RENDERING EQUATION

Our One-Year 3D Animation Program is a comprehensive training in 3D using Alias

ABS 731 Lighting Design & Technology. Spring 2006

Monte Carlo Path Tracing

REAL-TIME IMAGE BASED LIGHTING FOR OUTDOOR AUGMENTED REALITY UNDER DYNAMICALLY CHANGING ILLUMINATION CONDITIONS

Photon Mapping Made Easy

Dhiren Bhatia Carnegie Mellon University

How to Cheat in Maya

Basic Shapes. Most paintings can be broken down into basic shapes. See how this famous painting by Cézanne can be broken down into basic shapes.

Monte Carlo Path Tracing

Basic controls of Rhinoceros 3D software

path tracing computer graphics path tracing 2009 fabio pellacini 1

Introduction to Autodesk Inventor for F1 in Schools

Glass coloured glass may pick up on scan. Top right of screen tabs: these tabs will relocate lost windows.

Curriculum Map by Block Geometry Mapping for Math Block Testing August 20 to August 24 Review concepts from previous grades.

Introduction to Light, Color, and Shadows

PHOTON mapping is a practical approach for computing global illumination within complex

LIGHTING HANDBOOK. How to Get The Most. From Your New ARRI Kit. by Bill Holshevnikoff SECOND EDITION

Number Sense and Operations

Real Time Rendering. Preface What's New Getting Started Basic Tasks Advanced Tasks Workbench Description Index

Blender 2.5 Lighting and Rendering

Hi everyone, my name is Michał Iwanicki. I m an engine programmer at Naughty Dog and this talk is entitled: Lighting technology of The Last of Us,

Videoconferencing Room Guide

Maya 2014 Basic Animation & The Graph Editor

Last lecture... Computer Graphics:

COMP175: Computer Graphics. Lecture 1 Introduction and Display Technologies

NEW MEXICO Grade 6 MATHEMATICS STANDARDS

Using HDR Panoramas. Dr Ryan Southall - School of Architecture & Design, University of Brighton.

Open Office Plan. Function and Orientation. Space Characteristics. Material Properties Gregory Wolfe 2004 Senior Thesis Lighting / Electrical

3D Analysis and Surface Modeling

Light Control and Efficacy using Light Guides and Diffusers

Illuminating With HDRI

Chapter 9- Animation Basics

From 3D to 2D: Orthographic and Perspective Projection Part 1

CSE168 Computer Graphics II, Rendering. Spring 2006 Matthias Zwicker

Course: 3D Design Title: Deciduous Trees Blender: Version 2.6X Level: Beginning Author; Neal Hirsig (June 2012) Deciduous Trees

TEXTURE AND BUMP MAPPING

SketchUp Instructions

2013 Getting Started Guide

TABLE TOP PHOTOGRAPHY. Setup, Lighting, & Suggestions. EZcube User s Guide

Computer Animation: Art, Science and Criticism

Digital Image Fundamentals. Selim Aksoy Department of Computer Engineering Bilkent University

NVIDIA Material Definition Language 1.1

12-1 Representations of Three-Dimensional Figures

Transcription:

Computer Animation: Art, Science and Criticism Tom Ellman Harry Roseman Lecture 12

Ambient Light Emits two types of light: Directional light, coming from a single point Contributes to diffuse shading. Depending on direction between surface normal and light direction. Omnidirectional light, starting from nowhere in particular and going in no particular direction. Contributes to ambient shading. Independent of direction of surface normal. Proportions of each type of light can be varied. Does not contribute to specular shading.

Ambient Light Directional Omnidirectional

Orthographic view of sphere with Blinn shading lit by ambient light. AmbientShade = 0.45 (some directional, but mostly omnidirectional). How can we see the light itself? (demo-12-ambient-blinn-sphere.mb)

Orthographic view of sphere with Blinn shading lit by ambient light. AmbientShade = 0.0 (none directional, all omnidirectional): demo-12-ambient-blinn-sphere.mb

Orthographic view of sphere with Blinn shading lit by ambient light. AmbientShade = 1.0 (all directional, none omnidirectional): demo-12-ambient-blinn-sphere.mb

Point Light Emits light in all directions from a specified point in space. Typically used to simulate light from a source confined to a small region of space. E.g., A small incandescent light bulb. Can contribute to diffuse and/or specular shading.

Point Light

Orthographic view of sphere with Blinn shading lit by point light. demo-12-point-blinn-sphere.mb

Directional Light Parallel rays of light traveling in a specified direction. Similar to a point light placed very far away from the scene. Location of light object in scene space has no influence on shading. Useful for modeling sunlight.

Directional Light

Orthographic view of sphere with Blinn shading lit by directional light. demo-12-directional-blinn-sphere.mb

Spot Light A point light emitting rays only within a specified cone. Cone angle attribute specifies the shape of the cone. Penumbra attribute specifies how fast brightness decays outside the cone.

Spot Light No Light Penumbra φ θ φ Light Cone Penumbra θ = Cone Angle φ = Penumbra Angle No Light

Plane with Lambert shading lit by spot and directional lights. Cone Angle = 40 degrees; Penumbra = 3.5 degrees: demo-12-spot-plane.mb

Area Light Defined by a rectangular plane and a normal direction. Light is emitted by all points on the plane. Equal amounts of light are emitted in all directions up to 90 degrees from the normal.

Area Light Light Plane: Normal Direction

Plane with Lambert shading lit by area and directional lights. How can we see the light itself? demo-12-area-plane.mb

Attributes of Non-Ambient Lights Emits Diffuse: Whether or not the light contributes to diffuse shading. Emits Specular: Whether or not the light contributes to specular shading. Decay Rate: How the intensity of the light varies with distance: No Decay: Intensity is constant. Linear: Intensity 1/Distance. Quadratic: Intensity 1/Distance 2. Cubic: Intensity 1/Distance 3.

Light Reveals Modeling Shading varies across a diffusely lit surface. Shading depends on angle between surface normal and light direction. (Lambert s cosine law.) Shading indicates surface orientation at each point on the surface.

I D I LD I D = K D I LD cos θ L θ N φ V K D Lambert s Cosine Law

Vase with lambert material: demo-12-modeled-vase.mb

Mapping Light Attributes Many light attributes can be mapped. A mapped attribute potentially takes a different value for each surface point: Based on the point s (u,v) coordinates. Based on the point s (x,y,z) coordinates. E.g., Mapping the intensity or color of a light creates a throw pattern.

Wave pattern converted into a 3D map via a perspective projection and applied to the intensity attribute of a point light: demo-12-intensity-mapped-vase.mb

Wave pattern converted into a 3D map via a perspective projection and applied to the intensity attribute of a point light: demo-12-intensity-mapped-vase.mb

Three Point Lighting Key Light: Brightest light on main subject. Reveals location of main light source. Fill Light: Dimly illuminates areas of main subject unlit by key light. Often represents an indirect light source. Back Light: Illuminates main subject from behind. Separates subject from background.

Illumination by key light only: demo-12-three-point-lighting.mb

Illumination by fill light only: demo-12-three-point-lighting.mb

Illumination by key light and fill light. demo-12-three-point-lighting.mb

Indirect Lighting A surface illuminated with diffuse light can illuminate other surfaces. E.g., A room is filled by light reflected from its white walls. Standard illumination models don t account for such indirect lighting. Radiosity and Photon mapping are able to handle indirect lighting at great computational expense. Area lights can be used to fake indirect lighting.

Red area lights are hidden in the red cube in an effort to fake the indirect lighting of the floor and gray cube by light reflected from the red cube: demo-12-fake-indirect-light.mb

Linking Lights and Objects Defines which lights illuminate which objects. Initially a light illuminates all objects. In the Attribute Editor, uncheck Illuminates by Default. Now the light must be explicitly linked to objects. Break Links: Select lights and objects and invoke menu item: Lighting/Shading-BreakLightLinks. Make Links: Select lights and objects and invoke menu item: Lighting/Shading-MakeLightLinks. Relationship Editor: Editable table of light / object links. Light-Centric and Object-Centric modes. Links Enhance Control: Designer can control exactly which lights illuminate which objects. Links Speed Rendering: If each light is linked only with the objects it needs to illuminate.

Two spheres, each illuminated by its own point light, as indicated in the Relationship Editor snapshots: demo-12-light-linking.mb

Exercise: Light a Room with a Lamp Make a NURB cube to represent a room and remove the front face. Make a NURB cylinder without caps to represent a lamp shade. Make the lamp shade translucent. Use a combination of point and spot lights to make the lamp appear to light the room. Make appropriate use of light linking. Do not enable shadows for any lights.

Lighting a Room with a Lamp Point light shadepoint is linked only to the lamp shade, via transluscence. Point light roompoint is linked only to the room (walls, ceiling, floor) and the base of the lamp. Spot light upperspot is linked only to the room (walls, ceiling, floor). Spot light lowerspot is linked only to the room (walls, ceiling, floor) and the base of the lamp. All lights are located inside the lamp shade, where a light bulb would be in reality.

demo-12-lamp-in-room.mb

Color Balance in Lighting Indoor Scene: Incandescent lamp is white Sunlight entering via window has blue tint. Outdoor Scene: Sunlight is white. Incandescent light exiting via window has red tint.

demo-12-indoor-color-balance.mb

demo-12-outdoor-color-balance.mb

Uses of Shadows Defining spatial relationships. Alternative angles. Suggesting off screen objects. Adding contrast. Adding to the composition. Integrating elements.

Which sphere is bigger? Which sphere is closer? demo-12-shadow-depth-cues.mb

Shadows provide depth cues. demo-12-shadow-depth-cues.mb

Shadows reveals alternative angle. demo-12-profile-shadow.mb

Controlling which Object/Light Combinations Generate Shadows Light Centered Control: In Attribute Editor check/uncheck UseDepth Mapped Shadows or Use Ray Traced Shadows. When ray tracing shadows, you must enable ray tracing in the Render Globals window. Object Centered Control: In Attribute Editor check/uncheck CastsShadows under the RenderStats tab.

Depth-Mapped Shadows Constructing the Map: Construct an image of the scene as viewed from the light. At each pixel coordinate (x L,y L ) record the distance ( depth ) to the nearest object. Using the Map: For each surface point (x,y,z), find the coordinates (x L,y L ) at which it appears in the depth map. The point is shadowed if the distance from (x,y,z) to the light is greater than the depth at (x L,y L ). Note: The results depend on the resolution of the depth map.

Depth-Mapped Shadows Depth Light x,y

Ray Traced Shadows Given a surface point p being rendered. Construct a shadow ray L from p to the light source. Determine whether L intersects any objects along the way from p to the light source. If so, then the intersected object casts a shadow at point p.

Ray Traced Shadows Surface Point p Shadow Ray L Shadow Ray L Shadowed light does not illuminate p. Unshadowed light does illuminate p.

Properties of Shadows Hard v. Soft: Does the shadow have sharp edges? Or does the shadow gradually blend into the illuminated area? Focused v. UnFocused: Is the shadow equally hard or soft all around its perimeter? Or is the shadow harder near the shadowing object and softer far away from the shadowing object?

Cylinder illuminated by point light with (64 by 64) depth-mapped shadows: demo-12-point-cylinder-shadow.mb

Cylinder illuminated by point light with (1024 by 1024) depth-mapped shadows: demo-12-point-cylinder-shadow.mb

Cylinder illuminated by point light with ray-traced shadows. demo-12-point-cylinder-shadow.mb

Cylinder illuminated by area light with (1024 by 1024) depth-mapped shadows: demo-12-area-cylinder-shadow.mb

Cylinder illuminated by area light with ray traced shadows Use of just one shadow ray results in sampling anomalies. demo-12-area-cylinder-shadow.mb

Cylinder illuminated by area light with ray traced shadows. Use of 8 shadow rays avoids sampling anomalies. demo-12-area-cylinder-shadow.mb

Cylinder illuminated by point light with radius 1.0 with ray traced shadows: Use of 8 shadow rays avoids sampling anomalies: demo-12-point-cylinder-shadow.mb

Transparency and Shadows Transparent objects may cast shadows. The shade of the shadow will depend on the transparency of the object. Transparency may be mapped in Maya. E.g., Simulation of stain-glassed windows.

Sphere illuminated by point light through a transparency mapped plane: demo-12-point-light-stained-glass.mb

Connecting file outcolor to blinn color. Connecting file outcolor to blinn transparency. demo-12-point-light-stained-glass.mb (Used Connection Editor to connect file2.outcolor to blinn2.transparency)

Sphere illuminated by area light through a transparency mapped plane: demo-12-area-light-stained-glass.mb

demo-12-light-fog.mb

demo-12-light-glow.mb

demo-12-light-glow-lens-flare.mb

demo-12-environment-fog-simple.mb