Materials in Kerkythea ~ a beginners guide

Size: px
Start display at page:

Download "Materials in Kerkythea ~ a beginners guide"

Transcription

1 Materials in Kerkythea ~ a beginners guide I started using Kerkythea as a way of rendering SketchUP models. I quickly found that I needed to be able to create and work with materials. I read Patrick Nieborg s excellent Kerkythea Material Editor but found that to understand it I needed something simpler so I wrote myself this Beginners Guide. Bob Janes November 2007 Contents 2 Setup 3 Rendering 4 Editing Materials 1 5 Editing Materials 2 6 Colour ~ diffuse 7 Colour ~ specular 8 Colour ~ diffuse & specular 9 Reflection 10 Refraction 11 Translucency & Transmittance 12 Basic Materials Comments, corrections and suggestions to info at greyhead.net please 1

2 Setup It will probably help to follow the examples in this tutorial. Here s the very simple setup that I ve used. Open Kerkythea - I m using v1.4.1 Go to File Open and browse to the Kerkythea program folder, then to MaterialEditor Scenes Basic Studio Checker and open the Basic Studio Checker.xml file. You should see a screen like the one on this page. If you don t see the wireframe sphere in the center then hit v to switch views. We are particularly interested in the section at the top of the left hand side bar which starts studio_check_pn. Double click on entry. You should see the sphere wireframe go yellow and a yellow star appears by the material name to show it is selected. 2

3 Rendering We will need to render images to see the results of the changes we make to the material we are working on so it helps to have some settings that work fairly quickly. 2. Choose these settings, you can experiment with others if you like, but the results may not be quite the same. 1. Click the render button on the toolbar (not the one by the QuickView window) and a settings dialogue will open. 3. Click OK on the Camera Selection dialogue and in a few seconds you should see an image in the Quick View window at the bottom right of the screen. Mine looks like this. 3

4 Editing Materials 1 There s one more step to go before we play with out materials, and that s to get into the material editor. Right click on line in the side menu and select Edit Material (you can also get there with the Alt+M shortcut). What should show up is an almost empty dialogue like this. If your dialogue is full of boxes and buttons then make sure is selected in the drop down, then right click on any entries in the box above the drop-down (where it says [Null Material] here and click either Remove or Reset then Apply Changes until the dialogue is clear. This should get us both to the same place to start with. 4

5 Editing Materials 2 There s one more step to go before we play with out materials, and that s to get into the material editor. Right click on the [Null Material] entry and select Set Matte / Phong. Now the dialogue changes and we have an array of swatches, dials and settings like this. This is going to be our main work environment for the rest of this tutorial. Notice the three buttons at the bottom: Undo and Apply Changes let us see the effects of our changes Close Editor closes the window but does not save any changes we ve made. Note: Phong is the name of the model of colour shading and reflection that we are about to use. It s named after Bui Toung Phong who developed it in his PhD thesis. See Wikipedia for more. 5

6 Colour ~ diffuse Roses are red, violets are blue. 1. With some rare exceptions every material has a colour. In Kerkythea this basic colour is set in the Diffuse (and Specular) sections of the panel for the moment we re just going to look at the first part, titled Color, in the Diffuse section. Note: Diffuse colour comes from reflected light scattered in all directions 2. Double click on the black colour swatch and the Select Color dialogue opens. You may see something slightly different as there are several different colour models accessed from the tabs at the top. 3. We re just going to use the row of colour samples across the bottom here. (Ignoring a couple of duplicates there are black, white, red, green, blue, yellow, cyan, magenta and a set of colors which 0, 50 & 100% or each of red green and blue.) 4. Click the red sample - next to the black one. Click Accept and, with luck, the Preview window will change so that you can see a red sphere. Click on Apply Changes, the Close Editor and click the render button on the Quick View window. (This button uses the settings you saved earlier.) The QuickView display will change to show a red sphere like this - click the image button on the ToolBar to see the higher quality rendered image. 6

7 Colour ~ specular 1. Reset the Diffuse settings to (and the swatch will go black). Now look at the Specular section just below in the Material Editor. Note: specular colour comes from light reflected in a single direction, like a mirror. 2. Set the colour swatch to red again and check that shininess is set to 128. Click Accept, close the editor and render the image. This time we have a rather strange image - black with two red dots. This is because we are only seeing the reflections from the two light sources in the scene directly back into the camera. 3. If we turn on Specular Sampling then we will also see the reflections of the check background. 0% diffuse, 100% specular 128 shininess Spec Sampling on 4. We have one more control here the Shininess number which broadly equates to the smoothness of the surface and thus the way in which light is reflected. The tool tip describes 128 as smooth but we d need to go up to 50,000 to get a fully reflective surface (see Reflection below). Here is a reder at 1, a rough surface that scatters the reflections quite a lot. 0% diffuse, 100% specular 1 shininess Spec Sampling off 2. Set the colour swatch to red again and check that shininess is set to 128. Click Accept, close the editor and render the image. This time we have a rather strange image - black with two red dots. This is because we are only seeing the reflections from the two light sources in the scene directly back into the camera. 7

8 Colour ~ diffuse & specular 1. To get more realism we need to have both Diffuse and Specular colour settings. 2. And the result looks quite good, this is a presentable billiard ball. But there is a big issue to notice here1. Both Diffuse and Specular are forms of reflection and the Laws of Physics say that the amount of light reflected willbe the same as the amount of light that arrives at the surface (and certainly no more). 50% diffuse, 50% specular 64 shininess 70% diffuse, 30% specular 32 shininess So the total of the Diffuse and Specular reflections must equal 1. If we have 0.7 Diffuse then we must have 0.3 Specular. So let s try these settings2. 50% diffuse, 50% specular 128 shininess 30% diffuse, 70% specular 128 shininess 90% diffuse, 10% specular 64 shininess Notes: 1. Patrick Nieborg goes into this in more detail in the Kerkythea Material Editor Manual 2. Set the swatch to red then use the spinner to change the intensity. If you type the intensity in the box you lose the colour. 8

9 Reflection 1. We ve seen that we can get reflective surfaces with high settings of Shininess but the take a lot of computing power so there is a separate setting for Reflection in the next section of the Material Editor. Start with the 70% diffuse, 30% specular 128 shininess settings from before. The reflection controls are the same as before, double click the swatch and select red. Then we need to set the intensity but again the Laws of Physics require that total reflection is no more than 100%. So lets reduce the diffuse to 60% and set both the specular and the reflection to 20% (2.000) and see how that looks. You can see that now we have the basic colour, reflections of the lights and of the check background all showing up nicely. 2. Where the Reflection setting comes into its own is with highly reflective materials where 100% Reflection is calculated much more quickly than a very high shininess setting. (Note: The black top correctly reflects the black space above the sphere.) 0% diffuse, 0% specular - shininess 100% reflection 3. We ve covered the basic properties of solid materials (but see the Caution below), next we ll look at some properties of transparent materials. Meanwhile experiment with the settings we ve covered so far. 60% diffuse, 20% specular 5,000 shininess Spec sampling on 200% reflection Caution The Kerkythea materials editor is both powerful and complex. This guide is a beginner s step by step introduction. In practice most material you will use will be more complicated than the examples here. We ll get to some of the more complex settings - Fresnel reflections and layered materials for example - later on. For the moment, just remember that these are simple examples to help learning and understanding, they are most likely not the best way to create these results. 9

10 Refraction 1. Reflected light bounces off the material surface, refracted light passes through. You can use the same settings to explore the transparent effects. However, it s simpler to switch to a different kind of material. Right click on the [Matte / Phong] entry in the Materisl Editor and click Reset to clear everything, then right click again and select {Dielectric / Glass] and you ll see a smaller set of options. The refraction controls are the similar to the others; as before, double click the swatch and select red. 2. Now change the Index of Refraction (IoR) to 1.5 and re-render and you get a different result. Now the light is being strongly refracted as it passes through the sphere. 3. Experiment with different IoRs. Here are some approximate values: Air 1.0 Water 1.3 Whisky 1.4 Olive oil 1.46 Common glass 1.5 Glasses & plastics Sapphire 1.7 Diamond 2.4 Titanium dioxide 2.8 Silicon 4.0 Refraction 100% IoR 2.0 Leave the intensity at 100% (1.000) and go to the Index of Refraction box and set this to 1 as well. Accept, Close and Render and this is what I get. It looks like a red circle, but what we ve actually defined is a red sphere with the same optical properties as the air around it. So the light isn t refracted at all, just coloured. Refraction 100% IoR 3.0 Refraction 100% IoR

11 Translucency & Transmittance 1. Translucency is the scattering of light within a transparent material. You have to go back to a [Matte / Phong] shader again for these settings. When I set Translucency in the Material Editor window the preview looks great, but when I render the images they mostly just look like solid spheres. I did manage to generate a translucent effect by setting Refraction to 100% (IoR 1.0) and Translucency to 40% (0.400). Here s how it rendered. 2. Transmittance produces a blurry refraction of the kind that you find with frosted glass. Again I ve had difficulty in getting useful results to show up. This render has Refraction 100% (1.000) with an IoR of 1.0 and Transmittance of 20% (0.200), Transmitted Shininess 32 and Transmitted Sampling on. Notes: I ve so far failed to get Translucency or Transmittance to work for me in the way that Patrick describes in the Material Editor Manual. I ll amend this when I learn more but for the moment it s just a brief mention. Rendering translucency takes a lot of computing time so Kerkythea also offers a Pseudo Translucency. I ve turned this in the Advanced settings dialogue but don t notice any difference with these very simple renders. 11

12 Basic Materials Kerkythea has a Basic Pack of 10 materials that are created with the settings we ve explored so far. Here s how they are made up. Each image is from a newly created material using these settings Glass#1 Matte type: Dielectric / Glass Reflection: 100% Color: 251,251,251 Refraction: 100% Color: 237,249,253 Index of Refraction: 1.5 attenuation: Fresnel Pink Translucent Diffuse: 100% 255,128,63 Translucency: 50% Color: 128,0,63 Transmittance: 50%Color: 124,124,124 shininess: 13, sampling: On, attenuation: None Plastic#1 Diffuse: 95% Color: 242,242,242 Specular: 20% Color: 051,051,051 Shininess: 60 Specular Sampling: On Translucency: 25% Color: 63,63,63 Brown Diffuser Ambient: 59% Color: 149,149,149 Diffuse: 84% Color: 212,172,131 Specular shininess: 7.7 Glass#2 Matte type: Dielectric / Glass Reflection: 100% Color: 255,255,255 Refraction: 82% Color: 0,209,105 Index of Refraction: dispersion: 10.22, attenuation: Fresnel Silver Specular: 96% Color: 244,244,244 shininess: 51, sampling: On, attenuation: none Sky Blue Diffuser Ambient: 59% Color: 149,149,149 Diffuse: 84% Color: 102,167,214 Specular: 5% Color: 12,12,12 shininess: 9 Bronze Specular: 80% Color: 205,158,96 shininess: 6.4 sampling: On attenuation: none Plastic#2 Ambient: 59% Color: 149,149,149 Diffuse: 100% Color: 255,128,0 Reflection: 12% Color: 31,31,31 Thin Glass Matte type: Thin Glass Material Reflectance: 88% Color: 224,224,224 Index of Refraction: 1.52 Note: One material uses the Thin Glass matte and a few use the Ambient setting we skipped over, but these work in the same way. Also some settings are rounded for clarity. 12

Texture Mapping. Images from 3D Creative Magazine

Texture Mapping. Images from 3D Creative Magazine Texture Mapping Images from 3D Creative Magazine Contents Introduction Definitions Light And Colour Surface Attributes Surface Attributes: Colour Surface Attributes: Shininess Surface Attributes: Specularity

More information

MR Shaders Dielectric Materials Rendering Glass and Simple Caustics

MR Shaders Dielectric Materials Rendering Glass and Simple Caustics Dielectric Material This shader is a physically based material shader that can be used to simulate dielectric media such as glass, water, and other liquids. The shader uses Fresnel's formulas for dielectric

More information

Chapter 4- Blender Render Engines

Chapter 4- Blender Render Engines Chapter 4- Render Engines What is a Render Engine? As you make your 3D models in, your goal will probably be to generate (render) an image or a movie as a final result. The software that determines how

More information

Chapter 9- Ray-Tracing

Chapter 9- Ray-Tracing Ray-tracing is used to produce mirrored and reflective surfaces. It is also being used to create transparency and refraction (bending of images through transparent surfaceslike a magnifying glass or a

More information

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

4) Finish the spline here. To complete the spline, double click the last point or select the spline tool again. 1) Select the line tool 3) Move the cursor along the X direction (be careful to stay on the X axis alignment so that the line is perpendicular) and click for the second point of the line. Type 0.5 for

More information

Raycast Rendering Maya 2013

Raycast Rendering Maya 2013 2000 2012 Michael O'Rourke Raycast Rendering Maya 2013 (See also the Intro to Lights and Rendering tutorial for an introduction to the basics of rendering an image) Concept There are several algorithms

More information

CS130 : Computer Graphics Lecture 8: Lighting and Shading. Tamar Shinar Computer Science & Engineering UC Riverside

CS130 : Computer Graphics Lecture 8: Lighting and Shading. Tamar Shinar Computer Science & Engineering UC Riverside CS130 : Computer Graphics Lecture 8: Lighting and Shading Tamar Shinar Computer Science & Engineering UC Riverside Why we need shading Suppose we build a model of a sphere using many polygons and color

More information

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

Lighting. To do. Course Outline. This Lecture. Continue to work on ray programming assignment Start thinking about final project To do Continue to work on ray programming assignment Start thinking about final project Lighting Course Outline 3D Graphics Pipeline Modeling (Creating 3D Geometry) Mesh; modeling; sampling; Interaction

More information

Caustics - Mental Ray

Caustics - Mental Ray Caustics - Mental Ray (Working with real caustic generation) In this tutorial we are going to go over some advanced lighting techniques for creating realistic caustic effects. Caustics are the bent reflections

More information

Lighting affects appearance

Lighting affects appearance Lighting affects appearance 1 Source emits photons Light And then some reach the eye/camera. Photons travel in a straight line When they hit an object they: bounce off in a new direction or are absorbed

More information

Textures and UV Mapping in Blender

Textures and UV Mapping in Blender Textures and UV Mapping in Blender Categories : Uncategorised Date : 21st November 2017 1 / 25 (See below for an introduction to UV maps and unwrapping) Jim s Notes regarding Blender objects, the UV Editor

More information

IT82: Multimedia Animation Master Practical

IT82: Multimedia Animation Master Practical IT82: Multimedia Animation Master Practical The aims and objectives of this practical are two-fold: To reinforce the basic principles of animation from lectures. To use Hash s Animation Master to have

More information

Shading I Computer Graphics I, Fall 2008

Shading I Computer Graphics I, Fall 2008 Shading I 1 Objectives Learn to shade objects ==> images appear threedimensional Introduce types of light-material interactions Build simple reflection model Phong model Can be used with real time graphics

More information

Property of: Entrada Interactive. PBR Workflow. Working within a PBR-based environment

Property of: Entrada Interactive. PBR Workflow. Working within a PBR-based environment Property of: Entrada Interactive PBR Workflow Working within a PBR-based environment Ryan Manning 8/24/2014 MISCREATED PBR WORKFLOW CryDocs on Physically Based Shading/Rendering: http://docs.cryengine.com/display/sdkdoc4/physically+based+rendering

More information

Caustics - Mental Ray

Caustics - Mental Ray Caustics - Mental Ray In this tutorial we are going to go over some advanced lighting techniques for creating realistic caustic effects. Caustics are the focused patterns of light which form after light

More information

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

Ø Sampling Theory Ø Fourier Analysis Ø Anti-aliasing Ø Supersampling Strategies Ø The Hall illumination model. Ø Original ray tracing paper CS 431/636 Advanced Rendering Techniques Ø Dr. David Breen Ø Korman 105D Ø Wednesday 6PM 8:50PM Presentation 6 5/16/12 Questions from ast Time? Ø Sampling Theory" Ø Fourier Analysis Ø Anti-aliasing Ø Supersampling

More information

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

Computer Graphics (CS 4731) Lecture 16: Lighting, Shading and Materials (Part 1) Computer Graphics (CS 4731) Lecture 16: Lighting, Shading and Materials (Part 1) Prof Emmanuel Agu Computer Science Dept. Worcester Polytechnic Institute (WPI) Why do we need Lighting & shading? Sphere

More information

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

Computer Graphics (CS 543) Lecture 7b: Intro to lighting, Shading and Materials + Phong Lighting Model Computer Graphics (CS 543) Lecture 7b: Intro to lighting, Shading and Materials + Phong Lighting Model Prof Emmanuel Agu Computer Science Dept. Worcester Polytechnic Institute (WPI) Why do we need Lighting

More information

Lesson 03: We will add water and will set the placing conditions for the material. WorldBuilder 3.5. for. About Digital Element Tutorials:

Lesson 03: We will add water and will set the placing conditions for the material. WorldBuilder 3.5. for. About Digital Element Tutorials: Lesson 03: We will add water and will set the placing conditions for the material for WorldBuilder 3.5 About Digital Element Tutorials: This tutorial is available both in.pdf format and in Qarbon format,

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

ULTIMATE IRAY SKIN MANAGER

ULTIMATE IRAY SKIN MANAGER ULTIMATE IRAY SKIN MANAGER V3Digitimes, January 2018 1 Ultimage Iray Skin Manager is a product made to help you to configure, modify, adapt Iray Skin Settings in the most efficient, easy, and comfortable

More information

Photorealism: Ray Tracing

Photorealism: Ray Tracing Photorealism: Ray Tracing Reading Assignment: Chapter 13 Local vs. Global Illumination Local Illumination depends on local object and light sources only Global Illumination at a point can depend on any

More information

Rendering Engines - Specific tools may depend on "Rendering Engine"

Rendering Engines - Specific tools may depend on Rendering Engine Week 5 3DS Max, Cameras, Lighting and Materials Rendering - Process of turning geometry into pixels Rendering Engines - Specific tools may depend on "Rendering Engine" 1. Internal (3DS MAX) ART (Autodesk

More information

AR-media TUTORIALS IMPROVING REALISM AMBIENT OCCLUSION. (June, 2011)

AR-media TUTORIALS IMPROVING REALISM AMBIENT OCCLUSION. (June, 2011) AR-media TUTORIALS IMPROVING REALISM AMBIENT OCCLUSION (June, 2011) Copyright Copyright 2008/2011 Inglobe Technologies S.r.l. All rights reserved. No part of this publication may be reproduced, transmitted,

More information

COMPUTER GRAPHICS AND INTERACTION

COMPUTER GRAPHICS AND INTERACTION DH2323 DGI17 COMPUTER GRAPHICS AND INTERACTION INTRODUCTION TO RAYTRACING Christopher Peters CST, KTH Royal Institute of Technology, Sweden chpeters@kth.se http://kth.academia.edu/christopheredwardpeters

More information

What is the Deal with Color?

What is the Deal with Color? What is the Deal with Color? What is the Deal with Color? Beginning from the beginning Our First Moves Diffuse Object Colors Specular Lighting Transparency Paint on Image Those sliders and things Diffuse

More information

Interface. 2. Interface Adobe InDesign CS2 H O T

Interface. 2. Interface Adobe InDesign CS2 H O T 2. Interface Adobe InDesign CS2 H O T 2 Interface The Welcome Screen Interface Overview The Toolbox Toolbox Fly-Out Menus InDesign Palettes Collapsing and Grouping Palettes Moving and Resizing Docked or

More information

CS5620 Intro to Computer Graphics

CS5620 Intro to Computer Graphics So Far wireframe hidden surfaces Next step 1 2 Light! Need to understand: How lighting works Types of lights Types of surfaces How shading works Shading algorithms What s Missing? Lighting vs. Shading

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

Lighting. Figure 10.1

Lighting. Figure 10.1 We have learned to build three-dimensional graphical models and to display them. However, if you render one of our models, you might be disappointed to see images that look flat and thus fail to show the

More information

MODELING EYES ESTIMATED TIME REQUIRED

MODELING EYES ESTIMATED TIME REQUIRED MODELING EYES This tutorial will teach you how to model a pair of realistic-looking eyes and insert them into the head of a character. ESTIMATED TIME REQUIRED 30 Minutes LEARNING GOALS In this tutorial,

More information

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

Problem Set 4 Part 1 CMSC 427 Distributed: Thursday, November 1, 2007 Due: Tuesday, November 20, 2007 Problem Set 4 Part 1 CMSC 427 Distributed: Thursday, November 1, 2007 Due: Tuesday, November 20, 2007 Programming For this assignment you will write a simple ray tracer. It will be written in C++ without

More information

When light strikes an object there are different ways it can be affected. Light can be

When light strikes an object there are different ways it can be affected. Light can be When light strikes an object there are different ways it can be affected. Light can be transmitted, reflected, refracted, and absorbed, It depends on the type of matter that it strikes. For example light

More information

Ray Tracer Due date: April 27, 2011

Ray Tracer Due date: April 27, 2011 Computer graphics Assignment 4 1 Overview Ray Tracer Due date: April 27, 2011 In this assignment you will implement the camera and several primitive objects for a ray tracer, and a basic ray tracing algorithm.

More information

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

Turn your movie file into the homework folder on the server called Lights, Camera, Action. CS32 W11 Homework 3: Due MONDAY, APRIL 18 Now let s put the ball in a world of your making and have some fun. Create a simple AND WE MEAN SIMPLE environment for one of your ball bounces. You will assign

More information

CSE 167: Lecture #7: Color and Shading. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

CSE 167: Lecture #7: Color and Shading. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011 CSE 167: Introduction to Computer Graphics Lecture #7: Color and Shading Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011 Announcements Homework project #3 due this Friday,

More information

Advanced Gemstone Shaders

Advanced Gemstone Shaders Advanced Gemstone Shaders Introduction: I am fascinated from crystals and minerals and gemstones. As a game developer, I always look for solutions to simulate such precious stones. When most people hear

More information

Chapter 23 Reflection and Refraction. Copyright 2010 Pearson Education, Inc.

Chapter 23 Reflection and Refraction. Copyright 2010 Pearson Education, Inc. Chapter 23 Reflection and Refraction C O L O R S White light contains all colors. White objects reflect all colors. Black objects absorb all colors. Green objects absorb all colors but reflect green. Red,

More information

Lighting and Shading

Lighting and Shading Lighting and Shading Today: Local Illumination Solving the rendering equation is too expensive First do local illumination Then hack in reflections and shadows Local Shading: Notation light intensity in,

More information

Mesh Modeling Dice Boolean

Mesh Modeling Dice Boolean Course: 3D Design Title: Mesh Modeling Dice - Boolean Dropbox File: Dice.zip Blender: Version 2.41 Level: Beginning Author: Neal Hirsig (nhirsig@tufts.edu) Mesh Modeling Dice Boolean In this tutorial,

More information

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below.

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below. Graphing in Excel featuring Excel 2007 1 A spreadsheet can be a powerful tool for analyzing and graphing data, but it works completely differently from the graphing calculator that you re used to. If you

More information

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

CSE 167: Introduction to Computer Graphics Lecture #6: Lights. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016 CSE 167: Introduction to Computer Graphics Lecture #6: Lights Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016 Announcements Thursday in class: midterm #1 Closed book Material

More information

critical theory Computer Science

critical theory Computer Science Art/Science Shading, Materials, Collaboration Textures Example title Artists In the recommend real world, two the main following: factors determine the appearance of a surface: basic understanding what

More information

Today we will start to look at illumination models in computer graphics

Today we will start to look at illumination models in computer graphics 1 llumination Today we will start to look at illumination models in computer graphics Why do we need illumination models? Different kinds lights Different kinds reflections Basic lighting model 2 Why Lighting?

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

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models Computergrafik Matthias Zwicker Universität Bern Herbst 2009 Today Introduction Local shading models Light sources strategies Compute interaction of light with surfaces Requires simulation of physics Global

More information

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

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

More information

4. Refraction. glass, air, Perspex and water.

4. Refraction. glass, air, Perspex and water. Mr. C. Grima 11 1. Rays and Beams A ray of light is a narrow beam of parallel light, which can be represented by a line with an arrow on it, in diagrams. A group of rays makes up a beam of light. In laboratory

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

COS 116 The Computational Universe Laboratory 10: Computer Graphics

COS 116 The Computational Universe Laboratory 10: Computer Graphics COS 116 The Computational Universe Laboratory 10: Computer Graphics As mentioned in lecture, computer graphics has four major parts: imaging, rendering, modeling, and animation. In this lab you will learn

More information

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

FreeForm 3D Displacer User Manual. freeform created by mettle.com FreeForm 3D Displacer User Manual freeform created by mettle.com Contents 3 Installation 4 Controls 6 Controls - cont d 8 Support 9 Application FreeForm 3D Displacer The FreeForm 3D Displacer plugin for

More information

Color and Light. CSCI 4229/5229 Computer Graphics Summer 2008

Color and Light. CSCI 4229/5229 Computer Graphics Summer 2008 Color and Light CSCI 4229/5229 Computer Graphics Summer 2008 Solar Spectrum Human Trichromatic Color Perception Are A and B the same? Color perception is relative Transmission,Absorption&Reflection Light

More information

Chapter 5- Materials & Textures

Chapter 5- Materials & Textures Chapter 5- Materials & Textures As mentioned in the past chapter, materials and textures are what change your model from being gray to brilliant. You can add color, make things glow, become transparent

More information

Extending the Disney BRDF to a BSDF with Integrated Subsurface Scattering. Brent Burley Walt Disney Animation Studios

Extending the Disney BRDF to a BSDF with Integrated Subsurface Scattering. Brent Burley Walt Disney Animation Studios The 42nd International Conference and Exhibition on Computer Graphics and Interactive Techniques Extending the Disney BRDF to a BSDF with Integrated Subsurface Scattering Brent Burley Walt Disney Animation

More information

Comp 410/510 Computer Graphics. Spring Shading

Comp 410/510 Computer Graphics. Spring Shading Comp 410/510 Computer Graphics Spring 2017 Shading Why we need shading Suppose we build a model of a sphere using many polygons and then color it using a fixed color. We get something like But we rather

More information

Pd Iray Shader Kit 2 - User s Guide

Pd Iray Shader Kit 2 - User s Guide Pd Iray Shader Kit 2 - User s Guide Introduction Pd Iray Shader Kit 2 is a do-it-yourself shader kit for Iray rendering. All of the shader presets are based off the Daz Iray Uber Base. You can create 1000's

More information

UDK Basics Textures and Material Setup

UDK Basics Textures and Material Setup UDK Basics Textures and Material Setup By Sarah Taylor http://sarahtaylor3d.weebly.com In UDK materials are comprised of nodes, some of which you may be familiar with, such as Diffuse, normal, specular

More information

Color and Light CSCI 4229/5229 Computer Graphics Fall 2016

Color and Light CSCI 4229/5229 Computer Graphics Fall 2016 Color and Light CSCI 4229/5229 Computer Graphics Fall 2016 Solar Spectrum Human Trichromatic Color Perception Color Blindness Present to some degree in 8% of males and about 0.5% of females due to mutation

More information

Blender Lesson Ceramic Bowl

Blender Lesson Ceramic Bowl Blender Lesson Ceramic Bowl This lesson is going to show you how to create a ceramic looking bowl using the free program Blender. You will learn how to change the view, add, delete, scale and edit objects

More information

Wavefronts and Rays. When light or other electromagnetic waves interact with systems much larger than the wavelength, it s a good approximation to

Wavefronts and Rays. When light or other electromagnetic waves interact with systems much larger than the wavelength, it s a good approximation to Chapter 33: Optics Wavefronts and Rays When light or other electromagnetic waves interact with systems much larger than the wavelength, it s a good approximation to Neglect the wave nature of light. Consider

More information

1.6 Rough Surface Scattering Applications Computer Graphic Shading and Rendering

1.6 Rough Surface Scattering Applications Computer Graphic Shading and Rendering 20 Durgin ECE 3065 Notes Rough Surface Scattering Chapter 1 1.6 Rough Surface Scattering Applications 1.6.1 Computer Graphic Shading and Rendering At optical frequencies, nearly every object in our everyday

More information

MITOCW MIT6_172_F10_lec18_300k-mp4

MITOCW MIT6_172_F10_lec18_300k-mp4 MITOCW MIT6_172_F10_lec18_300k-mp4 The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for

More information

Simple Glass TNT Molecule Tutorial

Simple Glass TNT Molecule Tutorial Simple Glass TNT Molecule Tutorial Quinten Kilborn Today, I ll be showing you how to make an awesome looking glass TNT molecule. I was messing with glass textures and found that it makes an awesome science

More information

Basic Texturing Tutorial by Gary Wu

Basic Texturing Tutorial by Gary Wu Basic Texturing Tutorial by Gary Wu This tutorial will teach you how to use basic shaders as textures on your models. In this example, we will be using a pumpkin model. The first step assumes you have

More information

diffuse diffuse reflection refraction diffuse mapping diffuse reflection reflection filter mapping mapping reflection

diffuse diffuse reflection refraction diffuse mapping diffuse reflection reflection filter mapping mapping reflection Matières 1 2 3 mapping diffuse reflection diffuse transparency reflection refraction diffuse mapping diffuse reflection diffuse reflection filter mapping bump mapping mapping mapping diffuse reflection

More information

Reflection & refraction

Reflection & refraction 2015 EdExcel A Level Physics 2015 EdExcel A Level Physics Topic Topic 5 5 Reflection & refraction Reflection revision Reflection is the bouncing of light rays off a surface Reflection from a mirror: Normal

More information

Advanced Special Effects

Advanced Special Effects Adobe Illustrator Advanced Special Effects AI exercise preview exercise overview The object is to create a poster with a unified color scheme by compositing artwork drawn in Illustrator with various effects

More information

Chapter 4- Materials and Textures

Chapter 4- Materials and Textures Chapter 4- Materials and Textures Materials and textures are what change your model from being gray to brilliant. You can add color, make things glow, become transparent like glass or make them look like

More information

The Rendering Equation. Computer Graphics CMU /15-662

The Rendering Equation. Computer Graphics CMU /15-662 The Rendering Equation Computer Graphics CMU 15-462/15-662 Review: What is radiance? Radiance at point p in direction N is radiant energy ( #hits ) per unit time, per solid angle, per unit area perpendicular

More information

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models Computergrafik Thomas Buchberger, Matthias Zwicker Universität Bern Herbst 2008 Today Introduction Local shading models Light sources strategies Compute interaction of light with surfaces Requires simulation

More information

Illumination Models & Shading

Illumination Models & Shading Illumination Models & Shading Lighting vs. Shading Lighting Interaction between materials and light sources Physics Shading Determining the color of a pixel Computer Graphics ZBuffer(Scene) PutColor(x,y,Col(P));

More information

Lab 9 - Metal and Glass

Lab 9 - Metal and Glass Lab 9 - Metal and Glass Let the form of an object be what it may, light, shade, and perspective will always make it beautiful. -John Constable Prologue Support code: /course/cs1230/src/labs/lab09 This

More information

CS 5625 Lec 2: Shading Models

CS 5625 Lec 2: Shading Models CS 5625 Lec 2: Shading Models Kavita Bala Spring 2013 Shading Models Chapter 7 Next few weeks Textures Graphics Pipeline Light Emission To compute images What are the light sources? Light Propagation Fog/Clear?

More information

Lighting affects appearance

Lighting affects appearance Lighting affects appearance 1 Source emits photons Light And then some reach the eye/camera. Photons travel in a straight line When they hit an object they: bounce off in a new direction or are absorbed

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

Making Tables and Graphs with Excel. The Basics

Making Tables and Graphs with Excel. The Basics Making Tables and Graphs with Excel The Basics Where do my IV and DV go? Just like you would create a data table on paper, your IV goes in the leftmost column and your DV goes to the right of the IV Enter

More information

LIGHTING AND SHADING

LIGHTING AND SHADING DH2323 DGI15 INTRODUCTION TO COMPUTER GRAPHICS AND INTERACTION LIGHTING AND SHADING Christopher Peters HPCViz, KTH Royal Institute of Technology, Sweden chpeters@kth.se http://kth.academia.edu/christopheredwardpeters

More information

Lecture 19: All Together with Refraction

Lecture 19: All Together with Refraction Lecture 19: All Together with Refraction December 1, 2016 12/1/16 CSU CS410 Fall 2016, Ross Beveridge & Bruce Draper 1 How about Interreflections? Note reflections Granite tabletop Visible on base Also

More information

Computer graphics Labs: Blender (2/3) LuxRender: Interior Scene Rendering

Computer graphics Labs: Blender (2/3) LuxRender: Interior Scene Rendering Computer graphics Labs: Blender (2/3) LuxRender: Interior Scene Rendering University of Liège Department of Aerospace and Mechanical engineering Designed with Blender 2.76b LuxRender During the first tutorial

More information

COS 116 The Computational Universe Laboratory 10: Computer Graphics

COS 116 The Computational Universe Laboratory 10: Computer Graphics COS 116 The Computational Universe Laboratory 10: Computer Graphics As mentioned in lecture, computer graphics has four major parts: imaging, rendering, modeling, and animation. In this lab you will learn

More information

ECS 175 COMPUTER GRAPHICS. Ken Joy.! Winter 2014

ECS 175 COMPUTER GRAPHICS. Ken Joy.! Winter 2014 ECS 175 COMPUTER GRAPHICS Ken Joy Winter 2014 Shading To be able to model shading, we simplify Uniform Media no scattering of light Opaque Objects No Interreflection Point Light Sources RGB Color (eliminating

More information

Oso Toon Shader. Step 1: Flat Color

Oso Toon Shader. Step 1: Flat Color Oso Toon Shader By default the Oso Toon Shader has most of the same elements of standard Iray Uber Shader, that it is based on. However, there are some additional functions that allow OTS to do some dramatic

More information

V-RAY MATERIAL SETTINGS

V-RAY MATERIAL SETTINGS V-RAY MATERIAL SETTINGS author: Wouter Wynen brought to you by: 2006 VisMasters. All rights reserved. VisMasters and the VisMasters logo are trademarks of ArchVision, Inc. All other trademarks belong to

More information

Topics and things to know about them:

Topics and things to know about them: Practice Final CMSC 427 Distributed Tuesday, December 11, 2007 Review Session, Monday, December 17, 5:00pm, 4424 AV Williams Final: 10:30 AM Wednesday, December 19, 2007 General Guidelines: The final will

More information

Shading. Brian Curless CSE 557 Autumn 2017

Shading. Brian Curless CSE 557 Autumn 2017 Shading Brian Curless CSE 557 Autumn 2017 1 Reading Optional: Angel and Shreiner: chapter 5. Marschner and Shirley: chapter 10, chapter 17. Further reading: OpenGL red book, chapter 5. 2 Basic 3D graphics

More information

Creative Effects with Illustrator

Creative Effects with Illustrator ADOBE ILLUSTRATOR PREVIEW Creative Effects with Illustrator AI OVERVIEW The object is to create a poster with a unified color scheme by compositing artwork drawn in Illustrator with various effects and

More information

Light Introduction. Read this article for more background information:

Light Introduction. Read this article for more background information: Light Introduction Read this article for more background information: Color Absorption Article Watch the following video on terms like Absorption, Reflection, and Transmission Video 1 Waves 1 Stephanie

More information

Basic Rendering Techniques Part B

Basic Rendering Techniques Part B Basic Rendering Techniques Part B Using Materials in 3d Max The simplest method for changing g the default gray color of a 3d object is to apply hue to the object using the diffuse color feature. The physical

More information

THEA RENDER ADAPTIVE BSD ENGINE

THEA RENDER ADAPTIVE BSD ENGINE THEA RENDER ADAPTIVE BSD ENGINE ADAPTIVE (BSD) ENGINE Adaptive (BSD) is the name of the biased engine inside Thea Render. This engine is a biased one (this is why we use the abbreviation "BSD") as it uses

More information

Lutheran High North Technology The Finder

Lutheran High North Technology  The Finder Lutheran High North Technology shanarussell@lutheranhighnorth.org www.lutheranhighnorth.org/technology The Finder Your Mac s filing system is called the finder. In this document, we will explore different

More information

Canvas Tips and Techniques

Canvas Tips and Techniques Corporate Flow Image Editing Illustration Canvas Tips and Techniques Web Automation Page 1 Text Effects Creative Department Copyright 1995-2003 ACD Systems of America, Inc. (Formerly Deneba Software) Protected

More information

0 Graphical Analysis Use of Excel

0 Graphical Analysis Use of Excel Lab 0 Graphical Analysis Use of Excel What You Need To Know: This lab is to familiarize you with the graphing ability of excels. You will be plotting data set, curve fitting and using error bars on the

More information

OpenGL Lighting Computer Graphics Spring Frank Palermo

OpenGL Lighting Computer Graphics Spring Frank Palermo OpenGL Lighting 15-462 Computer Graphics Spring 2009 Frank Palermo OpenGL is just a bunch of hacks. -Adrien Treuille What Adrien Means... What Adrien means is that OpenGL was designed to produce reasonable-looking

More information

Game Design Unity Workshop

Game Design Unity Workshop Game Design Unity Workshop Activity 1 Unity Overview Unity is a game engine with the ability to create 3d and 2d environments. Unity s prime focus is to allow for the quick creation of a game from freelance

More information

Twilight Render V2.0 Deep Material Editor Guide

Twilight Render V2.0 Deep Material Editor Guide Twilight Render V2.0 Deep Material Editor Guide Twilight Render LLC All rights reserved Table of Contents An Overview of the Deep Material Editor...3 Understanding Channels...4 Using the Editor...5 Converting

More information

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

IBL/GI & GLASS. Getting Realistic Results By Yon Resch. The Three Types of GI lighting and Glass 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

More information

Using Flash Animation Basics

Using Flash Animation Basics Using Flash Contents Using Flash... 1 Animation Basics... 1 Exercise 1. Creating a Symbol... 2 Exercise 2. Working with Layers... 4 Exercise 3. Using the Timeline... 6 Exercise 4. Previewing an animation...

More information

-=Bui Tuong Phong's Lighting=- University of Utah, but with shaders. Anton Gerdelan Trinity College Dublin

-=Bui Tuong Phong's Lighting=- University of Utah, but with shaders. Anton Gerdelan Trinity College Dublin -=Bui Tuong Phong's Lighting=- University of Utah, 1973 but with shaders Anton Gerdelan Trinity College Dublin Before we do anything - normals Q. What does a normal do? Q. How do we usually calculate them?

More information

Chapter 12- NURBS & Meta Shape Basics

Chapter 12- NURBS & Meta Shape Basics Chapter 12- NURBS & Meta Shape Basics When you press Shift-A for Add, you will notice other object types beside meshes, cameras and lights that can be created. Two types of objects that can be created

More information

Ligh%ng in OpenGL. The Phong Illumina%on Model. Vector Background

Ligh%ng in OpenGL. The Phong Illumina%on Model. Vector Background Ligh%ng in OpenGL The Phong Illumina%on Model Vector Background 1 Vector Dot Product The dot product of two vectors is a number:! x $ # 1 v 1 = # y 1 # " z 1 %! x $ # 2 v 2 = # y 2 # " z 2 % In GLSL you

More information