Virtual Realism LIGHTING AND SHADING. Lighting & Shading Approximate physical reality Ray tracing: Follow light rays through a scene Accurate, but expensive.
Introduction to OpenGL. What is OpenGL? An application programming interface (API) A (low-level) Graphics rendering API A pipe-line to generate high-quality.
OpenGL Shading Language Jian Huang Joshua New CS594, Spring 2006.
1 MAE152 Computer Graphics for Scientists and Engineers Lighting in OpenGL.
L ECTURE 1 Announcements. Tic is over! Collaboration policies!
Chapter 2 Using OpenGL Chih-Kuo Yeh. Addison Wesley OpenGL SuperBible 4 th Edition Jun 2007 Author: Richard S. Wright, Jr. Benjamin Lipchak Nicholas.
Computer Graphics CSC 830 Lecture notes 2 OpenGL.
Computer Graphics (Fall 2005) COMS 4160, Lecture 21: Ray Tracing cs4160.
Texture Mapping CPSC 414 10/24/03 Abhijeet Ghosh.
1 Advanced Ray Tracing Mani Thomas CISC 440/640 Computer Graphics.
Shading Languages Yung-feng Chiu. 2 Agenda Introduction Pixar’s RenderMan, MS’s HLSL, NV’s CgFX, ATI’s RenderMonkey Demos.fx file Comparsion.
Typical Program Structure: Initialize Window (GLUT) Initialize Event Handlers and Menus Set some initial GL states/values Pass control over to OpenGL.