ATEC 6351.001 Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.

Slides:



Advertisements
Similar presentations
Virtual Realism TEXTURE MAPPING. The Quest for Visual Realism.
Advertisements

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.
Week 7 - Monday.  What did we talk about last time?  Specular shading  Aliasing and antialiasing.
Real-Time Rendering TEXTURING Lecture 02 Marina Gavrilova.
Computer Graphics Bing-Yu Chen National Taiwan University.
Week 7 - Wednesday.  What did we talk about last time?  Transparency  Gamma correction  Started texturing.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
Texture Mapping CPSC /24/03 Abhijeet Ghosh.
HCI 530 – Seminar in Advanced Topics 10/8/2004Damian Schofield1 Texturing Based on 3D Rendering, Humphreys, G., University of Virginia, 2004.
Computer Graphics (Spring 2008) COMS 4160, Lecture 19: Texture Mapping Many slides from Greg Humphreys, UVA and Rosalee.
(conventional Cartesian reference system)
Texture Mapping April 9, The Limits of Geometric Modeling Although graphics cards can render over 10 million polygons per second, that number.
University of New Mexico
Texture Mapping Texture Mapping Ltjg Omer Arisut Turkish Navy Turkish Navy Texture Mapping Texture Mapping Ltjg Omer Arisut Turkish Navy Turkish Navy.
Texture Mapping Mohan Sridharan Based on slides created by Edward Angel 1 CS4395: Computer Graphics.
Computer Graphics Inf4/MSc Computer Graphics Lecture 11 Texture Mapping.
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.
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 Inf4/MSc Computer Graphics Lecture 9 Antialiasing, Texture Mapping.
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.
ECSE 4750: Computer Graphics Rensselaer Polytechnic Institute Nov 5, 2012 Texture and Texture Mapping.
11/11/04© University of Wisconsin, CS559 Fall 2004 Last Time Shading Interpolation Texture mapping –Barycentric coordinates for triangles.
1 SIC / CoC / Georgia Tech MAGIC Lab Rossignac Textures and shadows  Generation  Mipmap  Texture coordinates,
Texture Mapping. Scope Buffers Buffers Various of graphics image Various of graphics image Texture mapping Texture mapping.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
Mapping method Texture Mapping Environmental mapping (sphere mapping) (cube mapping)
UW EXTENSION CERTIFICATE PROGRAM IN GAME DEVELOPMENT 2 ND QUARTER: ADVANCED GRAPHICS Textures.
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.
June 9, 2008 Dr. Haim Levkowitz IVPR/CS/UML | 1 Texture.
1 Texture Mapping. 2 Texture Aliasing MIPmaps Environment Mapping Bump Mapping Displacement Mapping Shadow Maps Solid Textures Antialiasing.
Game Programming 06 The Rendering Engine
CS418 Computer Graphics John C. Hart
Texture Mapping May 4, Many slides are borrowed from UNC-CH COMP236 Course (Spring 2003) taught by Leonard McMillan
RENDERING Introduction to Shading models – Flat and Smooth shading – Adding texture to faces – Adding shadows of objects – Building a camera in a program.
Lecture 6 Rasterisation, Antialiasing, Texture Mapping,
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
CSc4820/6820 Computer Graphics Algorithms Ying Zhu Georgia State University Texture Mapping.
Mapping: Image Texturing CPSC 591/691. Texture Mapping Two-dimensional techniques place a two-dimensional (flat) image onto an object using methods similar.
1 Chapter 7 Texture Mapping. 2 The Limits of Geometric Modeling Although graphics cards can render over 10 million polygons per second, that number is.
Texturing CMSC 435/ What is Texturing? 2 Texture Mapping Definition: mapping a function onto a surface; function can be: – 1, 2, or 3D – sampled.

Ying Zhu Georgia State University
Textures, Sprites, and Fonts
Computer Graphics Imaging
Week 7 - Wednesday CS361.
University of New Mexico
Buffers and texture mapping
Texture Mapping.
Computer Graphics Texture Mapping
ATCM 3310 Procedural Animation
Texture Mapping cgvr.korea.ac.kr.
Basic Rendering Techniques
ATEC Procedural Animation
ATCM 3310 Procedural Animation
Graphics, Fall 2017 Lecture 24: Texture Mapping
ATCM 6317 Procedural Animation
Computer Animation Texture Mapping.
Procedural Animation Lecture 6: Mapping
ATCM 6317 Procedural Animation
Texture Mapping Ed Angel Professor Emeritus of Computer Science
Texture mapping - other methods
Advanced Computer Graphics: Texture
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Presentation transcript:

ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa

In class  Pay attention  Take notes  Learn  Be ready for a pop quiz

Week 9: Mapping  Texture mapping  Texture coordinates (UV coordinates)  Two-part texture mapping  Aliasing & anti-aliasing  Mip-mapping  Bump mapping  Displacement mapping  Solid (procedural 3D) texture

Texture mapping  Process of projecting a 2D texture image onto the surface of a 3D object.  2D image can be: a pre-prepared source image (a photo, a painting, etc.) in an image file or a procedurally created image

Texture mapping  can manipulate a variety of surface characteristics, such as color, transparency, specularity, incandescence, bumpiness, and displacement.

How?  How do we create a corresponding relationship between a 3D object and a 2D image?

Texture coordinates  In order to apply 2D texture to a 3D object, we create texture coordinates.  Texture mapping coordinates in texture space are represented as (U, V).

NURBS and Bezier  Surface patch (e.g., NURBS and Bezier) is a rectangular patch with UV coordinates.  So, it is natural to use a NURBS surface's UV coordinates as texture mapping coordinates.

How about polygons?  Polygons have arbitrary numbers of vertices and shapes.  How can we make texture mapping coordinates for each vertex of a polygon?

Two-part texture mapping  Create texture coordinates in two steps: Step 1. A 2D texture is mapped onto the surface of a regular 3D geometric shape, such as plane, cube, cylinder, and sphere. Step 2. A 3D texture (created in Step 1) is mapped onto the surface of an arbitrary shaped object.

Two-part texture mapping  Commonly used two-part mapping methods are: Orthographic (flat, planar) projection Cylindrical projection Spherical projection

Texel and pixel  Pixel is the smallest element in a digital image.  Texel is the smallest element in a texture mapping source image.  When a large texture area corresponds to a small image area, a large number of texels need to be mapped to a single pixel.

When a large texture area corresponds to a small image area, a large number of texels need to be mapped to a single pixel.  For instance, in a perspective view of a plane with a texture mapping, a single pixel in a rendered image may correspond to thousands of texels in the source image. Source image Rendered image

When a large texture area corresponds to a small image area, a large number of texels need to be mapped to a single pixel.  If you use the color of a single texel to paint the pixel (i.e. point sampling), aliasing occurs.

Aliasing

How to avoid aliasing?  Average the colors of all the corresponding texels to paint a pixel?

Averaging the colors of all the corresponding texels…  A single pixel in a rendered image may correspond to thousands of texels in the source image.  If the renderer had to average the colors of all the corresponding texels per pixel, it would take a lot of rendering time.  Bad idea.

Mip-mapping  Texture mapping method that prevents aliasing without making rendering take much longer.  The renderer prepares pre-filtered mip- mapped textures before starts rendering.

Mip-mapped texture  Multiple copies of an original texture mapping image, all derived by averaging down the original image to successively lower resolutions.  Each image in the sequence is at exactly half the resolution of the previous. The red, green, and blue components of a texture mapping image are separated to create a titled square map

Mip-mapping  During the rendering process, the appropriate level of texture image is selected, depending on how much screen coverage there is and how obliquely the object is being viewed.  The further away or more obliquely the object is, the lower-resolution (i.e., blurrier) version of the texture is used to render it.

Mip-mapping  Many 3D applications (e.g., Houdini and Maya) use the mip-mapping technique and rendering takes less time if you use square textures.  If your texture is not square, add black borders to make it a square texture.  A multiple of 2 (e.g.,1024 x 1024) is the best choice for a resolution.

Bump mapping  gives a bumpy appearance to a flat surface by disturbing the surface normals (normal vectors) of a surface

Bump mapping  The bumpiness of bump mapping does not appear in the silhouette (profile edges) of an object.

Displacement mapping  modifies both the position and surface normal at each point on a surface, giving bumpiness to the silhouette of an object as well.

Displacement mapping  gives bumpiness to the silhouette of an object.

Solid (3D procedural) texture  provides texture to the 3D space in which an object exists.  The object's color at each point on the object surface is determined by where the point is in the solid texture.

Solid (3D procedural) texture  Solid textures are good at creating an object that seems to have carved out of a textured material, such as wood and marble.

Solid (3D procedural) texture  When an object with a solid texture is deformed in an animation sequence, the texture on the object appears to change (or slip) over time unless you bake the texture to the object.