Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.

Slides:



Advertisements
Similar presentations
16.1 Si23_03 SI23 Introduction to Computer Graphics Lecture 16 – Some Special Rendering Effects.
Advertisements

Computer Graphics An Introduction. What’s this course all about? 05/10/2014 Lecture 1 2 We will cover… Graphics programming and algorithms Graphics data.
Virtual Realism TEXTURE MAPPING. The Quest for Visual Realism.
Graphics Pipeline.
03/16/2009Dinesh Manocha, COMP770 Texturing Surface’s texture: its look & feel Graphics: a process that takes a surface and modifies its appearance using.
Real-Time Rendering TEXTURING Lecture 02 Marina Gavrilova.
Computer Graphics Bing-Yu Chen National Taiwan University.
Computer Graphics Inf4/MSc Computer Graphics Lecture 13 Illumination I – Local Models.
1 Computer Graphics Chapter 9 Rendering. [9]-2RM Rendering Three dimensional object rendering is the set of collective processes which make the object.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Object-Order vs. Screen-Order Rendering April 24, 2003.
IN4151 Introduction 3D graphics 1 Introduction 3D Computer Graphics part 1 Projective display Viewing pipeline Graphics hardware Image-based rendering.
Computer Graphics (Spring 2008) COMS 4160, Lecture 19: Texture Mapping Many slides from Greg Humphreys, UVA and Rosalee.
(conventional Cartesian reference system)
Foundations of Computer Graphics (Spring 2010) CS 184, Lecture 18: Shading & Texture Mapping Many slides from Greg.
IN4151 Introduction 3D graphics 1 Introduction to 3D computer graphics part 2 Viewing pipeline Multi-processor implementation GPU architecture GPU algorithms.
1 CSCE 641: Computer Graphics Lighting Jinxiang Chai.
Status – Week 277 Victor Moya.
Coordinate Systems X Y Z (conventional Cartesian reference system) X Y Z.
Part I: Basics of Computer Graphics Rendering Polygonal Objects (Read Chapter 1 of Advanced Animation and Rendering Techniques) Chapter
Computer Graphics Inf4/MSc Computer Graphics Lecture 11 Texture Mapping.
CS559: Computer Graphics Lecture 27: Texture Mapping Li Zhang Spring 2008.
1 Texturing. 2 What is Texturing? 3 Texture Mapping Definition: mapping a function onto a surface; function can be:  1, 2, or 3D  sampled (image) or.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
3D Programming Concepts How objects are described in 3D and Rendering Pipelines – A conceptual way of thinking of the steps involved of converting an abstract.
ECSE 4750: Computer Graphics Rensselaer Polytechnic Institute Nov 5, 2012 Texture and Texture Mapping.
1 Texture Mapping ©Anthony Steed Overview n Texture mapping Inverse and Forward Mapping Bilinear interpolation Perspective correction n Mipmapping.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS 1 Shading (Shading) & Smooth Shading Graphics.
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.
Texture Mapping Fall, Textures Describe color variation in interior of 3D polygon  When scan converting a polygon, vary pixel colors according.
1 Texture Mapping. 2 Texture Aliasing MIPmaps Environment Mapping Bump Mapping Displacement Mapping Shadow Maps Solid Textures Antialiasing.
Programming 3D Applications CE Displaying Computer Graphics Week 3 Lecture 5 Bob Hobbs Faculty of Computing, Engineering and Technology Staffordshire.
CHAPTER 8 Color and Texture Mapping © 2008 Cengage Learning EMEA.
CS418 Computer Graphics John C. Hart
CS 325 Introduction to Computer Graphics 03 / 29 / 2010 Instructor: Michael Eckmann.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Surface Rendering Methods 고려대학교 컴퓨터 그래픽스 연구실.
High detail models, depth of field, soft shadows, reflective surfaces. (Image created by Toxic Studios using Brazil R/S)
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
RENDERING Introduction to Shading models – Flat and Smooth shading – Adding texture to faces – Adding shadows of objects – Building a camera in a program.
11/5/2002 (c) University of Wisconsin, CS 559 Last Time Local Shading –Diffuse term –Specular term –All together –OpenGL brief overview.
CS559: Computer Graphics Final Review Li Zhang Spring 2010.
Illumination and Shading Prof. Lizhuang Ma Shanghai Jiao Tong University.
Render methods. Contents Levels of rendering Wireframe Plain shadow Gouraud Phong Comparison Gouraud-Phong.
CSE 681 Introduction to Ray Tracing. CSE 681 Ray Tracing Shoot a ray through each pixel; Find first object intersected by ray. Image plane Eye Compute.
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Texture Mapping Greg Humphreys University of Virginia CS 445, Fall 2003.
Computer Graphics Ken-Yi Lee National Taiwan University (the slides are adapted from Bing-Yi Chen and Yung-Yu Chuang)
Texturing CMSC 435/ What is Texturing? 2 Texture Mapping Definition: mapping a function onto a surface; function can be: – 1, 2, or 3D – sampled.
Applications and Rendering pipeline
Illumination and Shading Prof. Lizhuang Ma Shanghai Jiao Tong University.
Texture Mapping Fall, 2016.
CSE 167 [Win 17], Lecture 18: Texture Mapping Ravi Ramamoorthi
Photorealistic Rendering vs. Interactive 3D Graphics
Computer Graphics Chapter 9 Rendering.
The Graphic PipeLine
Rendering Process of producing “realistic” images or pictures
Texture Mapping cgvr.korea.ac.kr.
3D Graphics Rendering PPT By Ricardo Veguilla.
The Graphics Rendering Pipeline
So Far We have assumed that we know: The point The surface normal
Chapter 10: Computer Graphics
Chapter 14 Shading Models.
The Graphics Pipeline Lecture 5 Mon, Sep 3, 2007.
Illumination and Shading
Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
Chapter 14 Shading Models.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Introduction to Ray Tracing
Texture Mapping Jung Lee.
Presentation transcript:

Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실

3D Rendering Pipeline Surface details can be added... 3D Primitives 3D Modeling Coordinates Model Transformation 3D World Coordinates Lighting 3D World Coordinates Viewing Transformation 3D Viewing Coordinates Projection Transformation Surface details can be added... 2D Projection Coordinates Clipping 2D Projection Coordinates Viewport Transformation 2D Device Coordinates Scan Conversion 2D Device Coordinates Image

Overview Texture mapping methods Texture mapping applications Mapping Filtering Texture mapping applications Modulation texture Bump mapping Environment mapping

Texture Surface Add visual detail to surfaces of 3D objects With Surface Texture Polygonal Model

Texture Mapping 2D projective transformation Texture coordinate system (s, t) to Device coordinate system (x, y)

Viewing and Projection Textures Color variation in interior of 3D polygon When scan converting a polygon Vary pixel colors according to values fetched from a texture y ys t Texture-Surface Transformation Viewing and Projection Transformation x s xs z Texture Space Object Space Image Space

Texture Mapping Steps: Define texture Specify mapping from texture to surface Lookup texture values during scan conversion (0, 1) (1, 0) t v y s u (0, 0) x Texture Coordinate System Modeling Coordinate System Device Coordinate System

Texture Mapping Scan conversion Interpolate texture coordinates Distortion due to the bilinear interpolation Subdivide the polygon into smaller ones α β  (u1, v1) (u3, v3) (u2, v2)

Corrected Interpolation Texture Mapping Linear Interpolation of Texture Coordinate Corrected Interpolation

Texture Sampling To determine color at each pixel in image y ys t s x xs z

Texture Filtering To avoid aliasing problem Point Sampling Corrected Result

Texture Filtering Ideally, use elliptically shaped convolution filters In practice, use rectangles Texture Space Screen Space

Mip Maps Keep textures prefiltered at multiple resolutions For each pixel Linearly interpolate between two closest levels Trilinear filtering Fast and easy for hardware

Overview Texture mapping methods Texture mapping applications Mapping Filtering Texture mapping applications Modulation texture Bump mapping Environment mapping

Modulation Texture Texture Shaded Color Texture Value

Bump Mapping Perturbate surface normals

Bump Mapping

Environment Mapping Map texture values to the environment map Surface Pixel Projection onto Environment Map Pixel Area Projection Reference Point

Summary Texture mapping methods Texture mapping applications Mapping Filtering Texture mapping applications Modulation textures Bump mapping Environment mapping

Wireframe

Ambient Illumination Only

Flat Shaded Polygons with Diffuse Reflection

Gouraud Shaded Polygons with Diffuse Reflection

Gouraud Shaded Polygons with Specular Reflection

Phong Shaded Polygons with Specular Reflection

Curved Surfaces with Specular Reflection

Improved Illumination Model with Multiple Lights

Texture Mapping

Bump Mapping

Reflection Mapping