Shading Languages By Markus Kummerer. Markus Kummerer 2 / 19 State of the Art Shading.

Slides:



Advertisements
Similar presentations
COMPUTER GRAPHICS SOFTWARE.
Advertisements

Graphics Pipeline.
1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 Shading I.
Advanced Graphics, Overview Advanced Computer Graphics Overview.
HCI 530 : Seminar (HCI) Damian Schofield.
Slide 1 Visualization of scientific data under Linux - Techniques and data wrangling Mike Walterman, Manager of Graphics Programming, Scientific Computing.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Introduction to Computer Graphics Ed Angel Professor of Computer Science, Electrical and.
Graphics Systems I-Chen Lin’s CG slides, Doug James’s CG slides Angel, Interactive Computer Graphics, Chap 1 Introduction to Graphics Pipeline.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Models and Architectures Ed Angel Professor of Computer Science, Electrical and Computer.
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Shading I Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
1cs426-winter-2008 Notes  RenderMan resources up on the website  We will be using Pixie this term Check on the website soon (installed on CS linux.
CS 480/680 Computer Graphics Shading I Dr. Frederick C Harris, Jr.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
CGPage: 1 東吳資訊科學 江清水 Part I: Computer Graphics 1. Computer Graphics and Its application 2. Computer Graphics Hardware and Software (Skip) 3. 2D Coordinate.
CS 480/680 Computer Graphics Course Overview Dr. Frederick C Harris, Jr. Fall 2012.
Programmable Pipelines. Objectives Introduce programmable pipelines ­Vertex shaders ­Fragment shaders Introduce shading languages ­Needed to describe.
UniS CS297 Graphics with Java and OpenGL Introduction.
Programmable Pipelines. 2 Objectives Introduce programmable pipelines ­Vertex shaders ­Fragment shaders Introduce shading languages ­Needed to describe.
Shading. What is Shading? Assigning of a color to a pixel in the final image. So, everything in shading is about how to select and combine colors to get.
Computer Graphics An Introduction. What’s this course all about? 06/10/2015 Lecture 1 2 We will cover… Graphics programming and algorithms Graphics data.
Graphics Programming using OpenGL. OpenGL is a software interface that allows the programmer to create 2D and 3D graphics images. This interface consists.
Simulating the Physics of Pool using RenerMan ● Shaders and Texture Mapping ● Spherical Texture Maps ● Rotating the Balls ● Lighting ● Physics Equations.
09/09/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Event management Lag Group assignment has happened, like it or not.
CSC 461: Lecture 3 1 CSC461 Lecture 3: Models and Architectures  Objectives –Learn the basic design of a graphics system –Introduce pipeline architecture.
1 Angel and Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Introduction to Computer Graphics Ed Angel Professor Emeritus of Computer.
OpenGL Conclusions OpenGL Programming and Reference Guides, other sources CSCI 6360/4360.
1 Introduction to Computer Graphics SEN Introduction to OpenGL Graphics Applications.
Computer Graphics I, Fall 2008 Introduction to Computer Graphics.
1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 CS4610/7610: Introduction to Computer Graphics.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Stream Processing Main References: “Comparing Reyes and OpenGL on a Stream Architecture”, 2002 “Polygon Rendering on a Stream Architecture”, 2000 Department.
1 Computer Graphics Week2 –Creating a Picture. Steps for creating a picture Creating a model Perform necessary transformation Lighting and rendering the.
1Computer Graphics Lecture 4 - Models and Architectures John Shearer Culture Lab – space 2
GRAPHICS PIPELINE & SHADERS SET09115 Intro to Graphics Programming.
Programmable Pipelines Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts Director, Arts Technology Center University.
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
Computer Graphics Viewing. Tobias IsenbergComputer Graphics – IIa 2007/2008 Overview rendering pipeline: process from model to final image viewing: –model-view.
A Few Things about Graphics Jian Huang Computer Science University of Tennessee.
Basic 3D Concepts. Overview 1.Coordinate systems 2.Transformations 3.Projection 4.Rasterization.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
1 Angel: Interactive Computer Graphics5E © Addison- Wesley 2009 Image Formation Fundamental imaging notions Fundamental imaging notions Physical basis.
COMPUTER GRAPHICS CS 482 – FALL 2015 SEPTEMBER 29, 2015 RENDERING RASTERIZATION RAY CASTING PROGRAMMABLE SHADERS.
Ray Tracing using Programmable Graphics Hardware
What are shaders? In the field of computer graphics, a shader is a computer program that runs on the graphics processing unit(GPU) and is used to do shading.
Visualizing the Cosmos: Smoke or Mirrors? Designing Visualization Imagery David Bock National Center for Supercomputing Applications University of Illinois,
Chapter 1 Graphics Systems and Models Models and Architectures.
1 E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley 2012 Models and Architectures 靜宜大學 資訊工程系 蔡奇偉 副教授 2012.
An Introduction to the Cg Shading Language Marco Leon Brandeis University Computer Science Department.
Graphics Programming. Graphics Functions We can think of the graphics system as a black box whose inputs are function calls from an application program;
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Applications and Rendering pipeline
Rendering Pipeline Fall, 2015.
Programmable Pipelines
Introduction to Computer Graphics
School of Computer Science
Graphics Processing Unit
The Graphics Rendering Pipeline
CS451Real-time Rendering Pipeline
Interactive Computer Graphics
Models and Architectures
Models and Architectures
Models and Architectures
Introduction to Computer Graphics with WebGL
Graphics Processing Unit
Introduction to Computer Graphics with WebGL
Introduction to Computer Graphics
Introduction to Computer Graphics
Models and Architectures
Models and Architectures
Introduction to spagetti and meatballs
Presentation transcript:

Shading Languages By Markus Kummerer

Markus Kummerer 2 / 19 State of the Art Shading

Markus Kummerer 3 / 19 Overview n RenderMan Interface n Shape vs. Shading n Types of Shaders n Shading Language n Examples n Interactive Multi-Pass Shading

Markus Kummerer 4 / 19 RenderMan Interface n Powerful set of primitive surface types n Quadric surfaces n Polygons n Parametric surfaces n Hierarchical modeling, geometry n Constructive solid geometry n Camera model n Generalized shading model

Markus Kummerer 5 / 19 Shape vs. Shading n Shape n Geometric configuration of objects n Shading n Calculates the appearance of an object in a scene under a set of light sources n Result defined by u Colors of the surface and the light source(s) u Position and orientation of the surface relative to the light u Roughness of the surface

Markus Kummerer 6 / 19 Shading Pipeline n Three basic parts of the shading process n Emission at the light source n Interaction of the light with the surface n Atmospheric effects between the surface and the viewpoint

Markus Kummerer 7 / 19 Types of Shaders n RenderMan Interface supports n Light source shaders n Surface shaders n Volume shaders n Transformation shaders n Displacement shaders n Imager shaders

Markus Kummerer 8 / 19 Light Source Shader n Calculates the intensity and color of light sent by the light source to a point on a surface

Markus Kummerer 9 / 19 Surface Shader n Determines the color of light reflecting from a point on a surface in a particular direction

Markus Kummerer 10 / 19 Volume Shader n Generalizes the idea of atmosphere affecting light passing through space between a surface and the eye

Markus Kummerer 11 / 19 Shading Language n Orthogonal definition n Rendering environment n Special data types n Uniform and varying variables n Integration constructs n Filtered map access n Function library

Markus Kummerer 12 / 19 Examples

Markus Kummerer 13 / 19 Example: Surface Shader

Markus Kummerer 14 / 19 Example: Surface Shader

Markus Kummerer 15 / 19 Example: Displacement Shader

Markus Kummerer 16 / 19 Interactive Programmable Shading n OpenGL acts as an assembly language for shader execution n Compiler is introduced between the application and the graphics library

Markus Kummerer 17 / 19 Interactive Programmable Shading n Results

Markus Kummerer 18 / 19 Conclusion n Shading in software n Common technique for production animation n Offers generalized shading models n Provides a highly flexible approach n But is not interactive... n Shading in hardware is needed for interactivity

Markus Kummerer 19 / 19 Hope you are delighted, too