COMPUTER GRAPHICS CS 482 – FALL 2014 OCTOBER 6, 2014 TEXTURE MAPPING TEXTURES BUMP MAPPING ENVIRONMENT MAPPING PROCEDURAL TEXTURING.

Slides:



Advertisements
Similar presentations
1GR2-00 GR2 Advanced Computer Graphics AGR Lecture 9 Adding Realism Through Texture.
Advertisements

9.1si31_2001 SI31 Advanced Computer Graphics AGR Lecture 9 Adding Realism Through Texture.
Ray tracing. New Concepts The recursive ray tracing algorithm Generating eye rays Non Real-time rendering.
03/16/2009Dinesh Manocha, COMP770 Texturing Surface’s texture: its look & feel Graphics: a process that takes a surface and modifies its appearance using.
Texture Mapping. Texturing  process that modifies the appearance of each point on a surface using an image or function  any aspect of appearance can.
3D Graphics Rendering and Terrain Modeling
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
Computer Graphics Bing-Yu Chen National Taiwan University.
 Engineering Graphics & Introductory Design 3D Graphics and Rendering REU Modeling Course – June 13 th 2014.
1GR2-00 GR2 Advanced Computer Graphics AGR Lecture 12 Solid Textures Bump Mapping Environment Mapping.
(conventional Cartesian reference system)
Texture Mapping from Watt, Ch. 8 Jonathan Han. Topics Discussed Texture Map to Models Bump Maps, Light Maps Environment (Reflection) Mapping 3D Textures.
CS6500 Adv. Computer Graphics © Chun-Fa Chang, Spring 2003 Texture Mapping.
Texture Mapping April 9, The Limits of Geometric Modeling Although graphics cards can render over 10 million polygons per second, that number.
Texture mapping. Adds realism to computer graphics Texture mapping applies a pattern of color Bump mapping alters the surface Mapping is cheaper than.
University of New Mexico
Texture Mapping Mohan Sridharan Based on slides created by Edward Angel 1 CS4395: Computer Graphics.
Shading, Surfaces & Textures
Hundreds of thousands of polygons! Hundreds of thousands of polygons! Painstaking detail for the artist to create. Painstaking detail for the artist to.
Computer Graphics Inf4/MSc Computer Graphics Lecture 11 Texture Mapping.
1 Computer Graphics Week13 –Shading Models. Shading Models Flat Shading Model: In this technique, each surface is assumed to have one normal vector (usually.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
3D Computer Graphics: Textures. Textures: texels Texture is a way of assigning a diffuse color to a pixel – can be with 1, 2 or 3D- can use maps, interpolation.
Texture Mapping. 2 The Limits of Geometric Modeling Although graphics cards can render over 10 million polygons per second, that number is insufficient.
1 Texture. 2 Overview Introduction Painted textures Bump mapping Environment mapping Three-dimensional textures Functional textures Antialiasing textures.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 10: Computer Graphics Computer Science: An Overview Tenth Edition.
University of Illinois at Chicago Electronic Visualization Laboratory (EVL) CS 426 Intro to 3D Computer Graphics © 2003, 2004, 2005 Jason Leigh Electronic.
COMPUTER GRAPHICS CS 482 – FALL 2014 AUGUST 27, 2014 FIXED-FUNCTION 3D GRAPHICS MESH SPECIFICATION LIGHTING SPECIFICATION REFLECTION SHADING HIERARCHICAL.
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Environment Mapping. Examples Fall Motivation Silver candlestick No appropriate texture for it “ environment ” map Simulates the results of ray-tracing.
ECSE 4750: Computer Graphics Rensselaer Polytechnic Institute Nov 5, 2012 Texture and Texture Mapping.
1 SIC / CoC / Georgia Tech MAGIC Lab Rossignac Textures and shadows  Generation  Mipmap  Texture coordinates,
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS 1 Shading (Shading) & Smooth Shading Graphics.
09/09/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Event management Lag Group assignment has happened, like it or not.
CS 376 Introduction to Computer Graphics 04 / 16 / 2007 Instructor: Michael Eckmann.
09/11/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Graphics Pipeline Texturing Overview Cubic Environment Mapping.
Texture Mapping Applications 2. Parallax Mapping with Slope  parallax mapping assumes that the surface is a single plane  a better approximation  surface.
CS 638, Fall 2001 Today Project Stage 0.5 Environment mapping Light Mapping.
June 9, 2008 Dr. Haim Levkowitz IVPR/CS/UML | 1 Texture.
I N T R O D U C T I O N T O C O M P U T E R G R A P H I C S Andries van Dam October 30, 2003 Shading 1/35 CIS 736 Computer Graphics Lecture 17 of 42 Illumination.
CS-378: Game Technology Lecture #4: Texture and Other Maps Prof. Okan Arikan University of Texas, Austin V Lecture #4: Texture and Other Maps.
Computing & Information Sciences Kansas State University Lecture 10 of 42CIS 636/736: (Introduction to) Computer Graphics CIS 636/736 Computer Graphics.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
CS 325 Introduction to Computer Graphics 03 / 29 / 2010 Instructor: Michael Eckmann.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Graphics Graphics Korea University 1 Jang Sumi Texture Mapping Environment Mapping Stencil Buffer.
COMPUTER GRAPHICS CS 482 – FALL 2015 SEPTEMBER 29, 2015 RENDERING RASTERIZATION RAY CASTING PROGRAMMABLE SHADERS.
MIT EECS 6.837, Durand and Cutler Texture Mapping & Other Fun Stuff.
第三课. Overview of this Section Concept of Texture Mapping ( 纹理映射 ) 2D Texture 3D Texture Environment Mapping Bump Mapping Others OpenGL Implementation.
CS 376 Introduction to Computer Graphics 04 / 13 / 2007 Instructor: Michael Eckmann.
Mapping: Image Texturing CPSC 591/691. Texture Mapping Two-dimensional techniques place a two-dimensional (flat) image onto an object using methods similar.
CSE 681 Texture Mapping: 2D Texturing. CSE 681 Texture Mapping Visual complexity on demand Vary display properties over object Location on object used.

University of New Mexico
Buffers and texture mapping
Texture Mapping.
Computer Graphics Texture Mapping
3D Graphics Rendering PPT By Ricardo Veguilla.
Texture Mapping COMP575/COMP770.
So Far We have assumed that we know: The point The surface normal
Chapter 14 Shading Models.
Procedural Animation Lecture 6: Mapping
ATCM 6317 Procedural Animation
CS-378: Game Technology Lecture #4: Texture and Other Maps
Texture Mapping Ed Angel Professor Emeritus of Computer Science
Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
Chapter 14 Shading Models.
Advanced Computer Graphics: Texture
Environment Mapping.
Texture Mapping Jung Lee.
Presentation transcript:

COMPUTER GRAPHICS CS 482 – FALL 2014 OCTOBER 6, 2014 TEXTURE MAPPING TEXTURES BUMP MAPPING ENVIRONMENT MAPPING PROCEDURAL TEXTURING

TEXTURES CS 482 – FALL 2014 BASICS OCTOBER 6, 2014: TEXTURE MAPPINGPAGE 149 MAPPING A PATTERN ONTO THE OBJECTS’ SURFACES CAN GREATLY ENHANCE THE SCENE’S APPEAL AND/OR REALISM.

TEXTURES CS 482 – FALL 2014 UV COORDINATES OCTOBER 6, 2014: TEXTURE MAPPINGPAGE 150 ONE APPROACH TO TEXTURE MAPPING DIRECTLY MAPS THE 2D TEXTURE COORDINATES (CALLED UV SPACE) INTO THE 3D WORLD SPACE COORDINATES. CYLINDRICAL MAPPING SPHERICAL MAPPING PLANAR MAPPING

TEXTURES CS 482 – FALL 2014 TILING OCTOBER 6, 2014: TEXTURE MAPPINGPAGE 151 WHEN THE SURFACE BEING TEXTURED IS MUCH LARGER THAN THE IMAGE BEING MAPPED, IT IS POSSIBLE TO TILE THE IMAGE REPEATEDLY OVER THE SURFACE. CARE MUST BE TAKEN TO DEVELOP IMAGES THAT DO NOT PRODUCE DISCERNIBLE SEAMS OR PATTERNS WHEN TILED. THE SEAMS AND PATTERNS ARE MORE NOTICEABLE IN THE TILED HEDGE IMAGE ON THE LEFT THAN THE ONE ON THE RIGHT.

BUMP MAPPING CS 482 – FALL 2014 ADJUSTING NORMAL VECTORS OCTOBER 6, 2014: TEXTURE MAPPINGPAGE 152 TO ADD MORE REALISM TO A TEXTURE-MAPPED IMAGE, AN ADDITIONAL ACTION, KNOWN AS A BUMP MAPPING, CAN BE APPLIED TO THE OBJECT’S SURFACE. APPLYING THE TEXTURE TO THIS SURFACE, WHILE COMPUTATIONALLY EXPENSIVE, PRODUCES A SENSE OF DEPTH FAR SUPERIOR TO SIMPLE TEXTURE MAPPING. BUMP MAPPING (LEFT) ALTERS THE SURFACE’S NORMAL VECTOR, WHILE DISPLACEMENT MAPPING (RIGHT) ALTERS THE SURFACE ITSELF.

BUMP MAPPING CS 482 – FALL 2014 INTACT SILHOUETTE OCTOBER 6, 2014: TEXTURE MAPPINGPAGE 153 BUMP MAPPING BASICALLY APPLIES A PATTERN OF PERTURBATIONS TO THE NORMAL VECTORS ON THE SURFACE OF THE OBJECT BEING RENDERED.  = WHEN AN ILLUMINATION MODEL (E.G., PHONG SHADING) IS APPLIED WITH THESE ALTERED NORMAL VECTORS, THE APPEARANCE OF A RICH, DETAILED TEXTURE RESULTS.

BUMP MAPPING CS 482 – FALL 2014 DISPLACEMENT MAPPING OCTOBER 6, 2014: TEXTURE MAPPINGPAGE 154 DISPLACEMENT MAPPING, WHICH ACTUALLY ALTERS THE OBJECT’S UNDERLYING GRID TO IMPLEMENT THE 3D SURFACE DETAILS, ELIMINATING THE SILHOUETTE INCONSISTENCIES, BUT GREATLY INCREASING THE PROCESSING COST.

ENVIRONMENT MAPPING CS 482 – FALL 2014 SPHERICAL MAPPING OCTOBER 6, 2014: TEXTURE MAPPINGPAGE 155 TO PRODUCE AN EFFECT THAT APPEARS LIKE 3D REFLECTION, ENVIRONMENT MAPPING PROJECTS THE SURROUNDING ENVIRONMENT ONTO A 2D IMAGE AND THEN TEXTURE MAPS THAT RESULT ONTO THE “REFLECTIVE” OBJECT. CROSS-SECTION OF ENVIRONMENT, WITH FRONT ON THE RIGHT AND REAR ON THE LEFT WITH SPHERICAL MAPPING, THE ENTIRE ENVIRONMENT IS MAPPED TO A RADIUS- ONE DISK (THE FRONT TO THE INNER CORE OF THE DISK AND THE REAR TO THE OUTER RING). BAD NEWS: THE ENTIRE PERIMETER OF THE SPHERE MAP IS MAPPED TO A “SINGULARITY” ON THE FAR SIDE OF THE OBJECT.

ENVIRONMENT MAPPING CS 482 – FALL 2014 LATITUDE MAPPING OCTOBER 6, 2014: TEXTURE MAPPINGPAGE 156 WITH LATITUDE MAPPING, THE SPHERE IS TREATED LIKE A GLOBE AND MAPPED FROM 3D TO 2D VIA LONGITUDES AND LATITUDES. BAD NEWS: THERE IS STILL A SEAM WHERE THE LEFT AND RIGHT EDGES OF THE TEXTURE MAP MEET WHEN MAPPED TO THE OBJECT.

ENVIRONMENT MAPPING CS 482 – FALL 2014 CUBE MAPPING OCTOBER 6, 2014: TEXTURE MAPPINGPAGE 157 IN CUBE MAPPING, SIX TEXTURES ARE CREATED FROM EACH POSITIVE AND NEGATIVE CARTESIAN DIRECTION SURROUNDING THE OBJECT. BAD NEWS: PARTICULAR FACETS OF THE OBJECT MIGHT REQUIRE UP TO THREE RENDERINGS (E.G., FRONT, RIGHT, AND BOTTOM) TO ENSURE THAT ALL FACES HIT BY THE REFLECTION RAYS ARE DISPLAYED.

PROCEDURAL TEXTURING CS 482 – FALL 2014 PERLIN NOISE OCTOBER 6, 2014: TEXTURE MAPPINGPAGE 158 CERTAIN TEXTURES IN NATURE (CLOUDS, MARBLE, STREAMS, ETC.) TEND TO FOLLOW A PSEUDORANDOM PATTERN THAT MAY BE SIMULATED BY MEANS OF NOISE FUNCTIONS. A SET OF PSEUDORANDOM VALUES ARE GENERATED AT SET INTERVALS. A CONTINUOUS CURVE IS GENERATED BY SMOOTHLY INTERPOLATING BETWEEN THESE VALUES. SEVERAL CURVES LIKE THIS ARE GENERATED, EACH WITH CERTAIN RESTRICTIONS ON THE AMPLITUDE (THE DIFFERENCE BETWEEN THE MINIMUM AND MAXIMUM VALUES GENERATED) AND THE WAVELENGTH (THE INTERVAL GAP). SUMMING THESE CURVES YIELDS THE FINAL NOISE FUNCTION.

PROCEDURAL TEXTURING CS 482 – FALL 2014 NOISE TEXTURES OCTOBER 6, 2014: TEXTURE MAPPINGPAGE 159 EXTENDING THE GENERATING OF A NOISE FUNCTION TO TWO DIMENSIONS YIELDS INTERESTING AND USEFUL TEXTURES =

PROCEDURAL TEXTURING CS 482 – FALL 2014 TEXTURE SYNTHESIS OCTOBER 6, 2014: TEXTURE MAPPINGPAGE 160 TO SYNTHESIZE A LARGER IMAGE THAT FOLLOWS THE SAME PATTERN AS A GIVEN SMALLER IMAGE, START WITH A NOISY IMAGE OF THE DESIRED SIZE. REPLACE EACH PIXEL IN THE NEW IMAGE BY LOOKING AT ITS ALREADY COLORED NEIGHBORS, FINDING A PIXEL IN THE ORIGINAL IMAGE WITH THE CLOSEST PATTERN OF NEIGHBORS, AND COLORING THE NEW PIXEL WITH THAT OLD PIXEL’S COLOR.