Lighting Effects in Computer Games Act II Ivan Viola Institute of Computer Graphics & Algorithms Vienna University of Technology Vienna / Austria.

Slides:



Advertisements
Similar presentations
Real-Time Rendering 靜宜大學資工研究所 蔡奇偉副教授 2010©.
Advertisements

Game Programming 09 OGRE3D Lighting/shadow in Action
G30™ A 3D graphics accelerator for mobile devices Petri Nordlund CTO, Bitboys Oy.
3D Graphics Rendering and Terrain Modeling
Real-Time Rendering TEXTURING Lecture 02 Marina Gavrilova.
Rasterization and Ray Tracing in Real-Time Applications (Games) Andrew Graff.
HCI 530 : Seminar (HCI) Damian Schofield.
CS5500 Computer Graphics © Chun-Fa Chang, Spring 2007 CS5500 Computer Graphics April 19, 2007.
Computer Graphics Hardware Acceleration for Embedded Level Systems Brian Murray
(conventional Cartesian reference system)
X86 and 3D graphics. Quick Intro to 3D Graphics Glossary: –Vertex – point in 3D space –Triangle – 3 connected vertices –Object – list of triangles that.
3D Graphics Processor Architecture Victor Moya. PhD Project Research on architecture improvements for future Graphic Processor Units (GPUs). Research.
IN4151 Introduction 3D graphics 1 Introduction to 3D computer graphics part 2 Viewing pipeline Multi-processor implementation GPU architecture GPU algorithms.
Quake Engine. THE QUAKE ENGINE IS OLD (relatively) Made in 1996 to power the game of the same name. id’s follow up to the immensely popular “DOOM” Made.
7M836 Animation & Rendering
IAT 3551 Computer Graphics Overview Color Displays Drawing Pipeline.
BPC: Art and Computation – Spring 2007 Computer Graphics – Lighting and Rendering Erik Brisson
Graphics Systems I-Chen Lin’s CG slides, Doug James’s CG slides Angel, Interactive Computer Graphics, Chap 1 Introduction to Graphics Pipeline.
Introduction to OpenGL. What is OpenGL OpenGL is a low-level software interface to graphics hardware No commands for performing windowing tasks or obtaining.
3D computer graphic Basis for real-time rendering and GPU architecture 劉哲宇,Liou Jhe-Yu.
Non-Photorealistic Rendering - This is the attempt to make a realistic scene or object look as if it were hand drawn.
Under the Hood: 3D Pipeline. Motherboard & Chipset PCI Express x16.
Shadows Computer Graphics. Shadows Shadows Extended light sources produce penumbras In real-time, we only use point light sources –Extended light sources.
UFCEKT-20-33D Modelling and Animation 3D Modelling & Animation Materials and Textures Maps.
Polygon Shading. Assigning color to a shape to make graphical scenes look realistic, or artistic, or whatever effect we’re attempting to achieve But first.
1 Perception and VR MONT 104S, Spring 2008 Lecture 22 Other Graphics Considerations Review.
CS 638, Fall 2001 Today Light Mapping (Continued) Bump Mapping with Multi-Texturing Multi-Pass Rendering.
GPU Programming Robert Hero Quick Overview (The Old Way) Graphics cards process Triangles Graphics cards process Triangles Quads.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Programmable Pipelines. Objectives Introduce programmable pipelines ­Vertex shaders ­Fragment shaders Introduce shading languages ­Needed to describe.
Interactive Hair Rendering Under Environment Lighting Valentin JANIAUT Zhong Ren, Kun Zhou, Tengfei Li, Wei Hua, Baining Guo.
Real-Time Computer Graphics. Introduction Aims The aim of the module is to provide a good grounding in the main techniques and algorithms of real-time.
Sebastian Enrique Columbia University Real-Time Rendering Using CUReT BRDF Materials with Zernike Polynomials CS Topics.
Graphics Programming using OpenGL. OpenGL is a software interface that allows the programmer to create 2D and 3D graphics images. This interface consists.
-Global Illumination Techniques
09/09/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Event management Lag Group assignment has happened, like it or not.
C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 C O M P U T E R G R A P H I C S Guoying Zhao 1 / 14 Going-through.
Games are Up for DVFS Yan Gu Samarjit Chakraborty Wei Tsang Ooi Department of Computer Science National University of Singapore.
09/11/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Graphics Pipeline Texturing Overview Cubic Environment Mapping.
Game Programming (Mapping) Spring.
CS 638, Fall 2001 Today Project Stage 0.5 Environment mapping Light Mapping.
INTRODUCTION INTRODUCTION Computer Graphics: As objects: images generated and/or displayed by computers. As a subject: the science of studying how to generate.
3D Graphics for Game Programming Chapter IV Fragment Processing and Output Merging.
Rendering Overview CSE 3541 Matt Boggus. Rendering Algorithmically generating a 2D image from 3D models Raster graphics.
Stream Processing Main References: “Comparing Reyes and OpenGL on a Stream Architecture”, 2002 “Polygon Rendering on a Stream Architecture”, 2000 Department.
An Efficient Representation for Irradiance Environment Maps Ravi Ramamoorthi Pat Hanrahan Stanford University SIGGRAPH 2001 Stanford University SIGGRAPH.
CS 445 / 645: Introductory Computer Graphics Light.
Real-time Graphics for VR Chapter 23. What is it about? In this part of the course we will look at how to render images given the constrains of VR: –we.
CS-378: Game Technology Lecture #7: More Mapping Prof. Okan Arikan University of Texas, Austin Thanks to James O’Brien, Steve Chenney, Zoran Popovic, Jessica.
3D animation is rendered clip of animated 3D objects in a 3D environment. An example: Examples of movies released in 3D are Toy Story, Cars, Shrek, Wall-E,
Computer Graphics 2 Lecture 7: Texture Mapping Benjamin Mora 1 University of Wales Swansea Pr. Min Chen Dr. Benjamin Mora.
Computer Graphics Chapter 6 Andreas Savva. 2 Interactive Graphics Graphics provides one of the most natural means of communicating with a computer. Interactive.
09/16/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Environment mapping Light mapping Project Goals for Stage 1.
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
High detail models, depth of field, soft shadows, reflective surfaces. (Image created by Toxic Studios using Brazil R/S)
Local Illumination and Shading
컴퓨터 그래픽스 Real-time Rendering 1. Introduction.
From Turing Machine to Global Illumination Chun-Fa Chang National Taiwan Normal University.
COMPUTER GRAPHICS CS 482 – FALL 2015 SEPTEMBER 29, 2015 RENDERING RASTERIZATION RAY CASTING PROGRAMMABLE SHADERS.
Render methods. Contents Levels of rendering Wireframe Plain shadow Gouraud Phong Comparison Gouraud-Phong.
Schedule Update GP 4 – Tesselation/Cg GDS 4 – Subdiv Surf. GP 5 – Object Modeling Lab: Mini-proj Setup GDS 5 – Maya Modeling MCG 6 – Intersections GP 6.
Module 05 –Bump mapping Module 05 – Bump mapping Module 05 Advanced mapping techniques: Bump mapping.
1 Geometry for Game. Geometry Geometry –Position / vertex normals / vertex colors / texture coordinates Topology Topology –Primitive »Lines / triangles.
Computer Graphics Overview
- Introduction - Graphics Pipeline
Ying Zhu Georgia State University
3D Graphics Rendering PPT By Ricardo Veguilla.
CS451Real-time Rendering Pipeline
Understanding Theory and application of 3D
CS5500 Computer Graphics April 17, 2006 CS5500 Computer Graphics
Presentation transcript:

Lighting Effects in Computer Games Act II Ivan Viola Institute of Computer Graphics & Algorithms Vienna University of Technology Vienna / Austria

2 / 13 Ivan ViolaIntroduction  speed & quality trade-off  real-time rendering (>10 fps)  software based techniques  hardware acceleration  Quake  state of the art in HW acceleration techniques

3 / 13 Ivan ViolaQuake  most important FPS game  lighting of the world  lighting of creatures, weapons, particles and sprites

4 / 13 Ivan Viola Quake - World Lighting Model (I)  Gouraud shading  angle variance (for n-gons; n>3)  bad for big polygons (such as walls)

5 / 13 Ivan Viola Quake - World Lighting Model (II)  Lightmaps  lighting is precalculated (using eg. radiosity)  stored in a 2D texture  easy to scale, translate to create various effects

6 / 13 Ivan Viola Quake - Lighting of Polygonal Objects  Gouraud shading  polygons are triangles  small enough  Subdivision rasterizer  division until the polygon is smaller than pixel and then draw

7 / 13 Ivan Viola Quake - Following Versions  Verite Quake  HW acceleration using Verite chip  GLQuake  downloadable upgrade that uses OpenGL HW acceleration  Quake II  OpenGL HW acceleration out-of-the-box

8 / 13 Ivan Viola State of the Art in FPS Games  Quake III Arena  curved surfaces  volumetric fog  shading languages  Doom III  unique style of lighting using HW acceleration  HW acceleration necessary!

9 / 13 Ivan Viola Projective Textures  projector simulation  spotlight simulation  shadow maps

10 / 13 Ivan Viola Environment Maps  cubic parameterization  implemented in most nowadays graphics chips  spherical parameterization  mapping is problematic  parabolic parameterization  solves problem of spherical parameterization  partly implemented in MESA

11 / 13 Ivan Viola BRDF-Based Lighting  BRDF is a 4D function  4D lookup table is needed  approximation of 4D lookup table through decomposition into two 2D lookup tables  efficient usage of the texture memory

12 / 13 Ivan Viola Anisotropic Lighting  examples of anisotropic surfaces  satin cloth, CD surface, brushed metal  setup and enable 2D texture that encodes lighting model as a function of and  setup and enable 2D texture that encodes lighting model as a function of and  setup texture matrix for the dot product  pass per-vertex tangent vector of surface or fiber as texture coordinate using glTexCoord3f(Tx,Ty,Tz)

Thank you Ivan Viola