Texture Mapping. Overview

Similar documents
Workstation Applications for Windows. NVIDIA MAXtreme User s Guide

Recent Advances and Future Trends in Graphics Hardware. Michael Doggett Architect November 23, 2005

Touchstone -A Fresh Approach to Multimedia for the PC

Image Processing and Computer Graphics. Rendering Pipeline. Matthias Teschner. Computer Science Department University of Freiburg

A Short Introduction to Computer Graphics

Visualization and Feature Extraction, FLOW Spring School 2016 Prof. Dr. Tino Weinkauf. Flow Visualization. Image-Based Methods (integration-based)

GPU Architecture. Michael Doggett ATI

Procedural Shaders: A Feature Animation Perspective

Computer Applications in Textile Engineering. Computer Applications in Textile Engineering

3D Computer Games History and Technology

Image Synthesis. Transparency. computer graphics & visualization

EECS 556 Image Processing W 09. Interpolation. Interpolation techniques B splines

Computer-Generated Photorealistic Hair

Summed-Area Tables for Texture Mapping

Texture Cache Approximation on GPUs

Dynamic Resolution Rendering

Which shapes make floor tilings?

Optimizing AAA Games for Mobile Platforms

Adobe Marketing Cloud Sharpening images in Scene7 Publishing System and on Image Server

Software Virtual Textures

Motivation. Motivation

Sachin Patel HOD I.T Department PCST, Indore, India. Parth Bhatt I.T Department, PCST, Indore, India. Ankit Shah CSE Department, KITE, Jaipur, India

An Extremely Inexpensive Multisampling Scheme

Bildverarbeitung und Mustererkennung Image Processing and Pattern Recognition

Using Photorealistic RenderMan for High-Quality Direct Volume Rendering

INTRODUCTION TO RENDERING TECHNIQUES

Advanced Visual Effects with Direct3D

High Dynamic Range and other Fun Shader Tricks. Simon Green

GPUs Under the Hood. Prof. Aaron Lanterman School of Electrical and Computer Engineering Georgia Institute of Technology

How To Make A Texture Map Work Better On A Computer Graphics Card (Or Mac)

OpenGL Performance Tuning

Rendering Microgeometry with Volumetric Precomputed Radiance Transfer

Real-Time BC6H Compression on GPU. Krzysztof Narkowicz Lead Engine Programmer Flying Wild Hog

CHAPTER 6 TEXTURE ANIMATION

Introduction to Computer Graphics

Computer Graphics CS 543 Lecture 12 (Part 1) Curves. Prof Emmanuel Agu. Computer Science Dept. Worcester Polytechnic Institute (WPI)

Volume Rendering on Mobile Devices. Mika Pesonen

Radeon HD 2900 and Geometry Generation. Michael Doggett

Scan-Line Fill. Scan-Line Algorithm. Sort by scan line Fill each span vertex order generated by vertex list

Optimization for DirectX9 Graphics. Ashu Rege

Introduction to Scientific Data Visualization

The function buttons Settings. Settings

GPU(Graphics Processing Unit) with a Focus on Nvidia GeForce 6 Series. By: Binesh Tuladhar Clay Smith

Abstract. These two vectors define a plane tangent to the surface at that point. Their cross product is Recent work in computer graphics has been

Lezione 4: Grafica 3D*(II)

3D Math Overview and 3D Graphics Foundations

Perspective and Space

Lecture 14. Point Spread Function (PSF)

To determine vertical angular frequency, we need to express vertical viewing angle in terms of and. 2tan. (degree). (1 pt)

Aliasing, Image Sampling and Reconstruction

Advanced Rendering for Engineering & Styling

THREE-DIMENSIONAL LINE TEXTURES FOR INTERACTIVE ARCHITECTURAL RENDERING

ENG4BF3 Medical Image Processing. Image Visualization

Autodesk Revit Architecture 2011 Professional Massmodeling Rendering Video Tutorial

Mediated Reality using Computer Graphics Hardware for Computer Vision

Interpolation of RGB components in Bayer CFA images

First, let me do a super fast introduction,

The Limits of Human Vision

Computer Graphics Hardware An Overview

Introduction Computer stuff Pixels Line Drawing. Video Game World 2D 3D Puzzle Characters Camera Time steps

Dual Marching Cubes: Primal Contouring of Dual Grids

Optimizing Unity Games for Mobile Platforms. Angelo Theodorou Software Engineer Unite 2013, 28 th -30 th August

Shader Model 3.0. Ashu Rege. NVIDIA Developer Technology Group

The Evolution of Computer Graphics. SVP, Content & Technology, NVIDIA

Water Flow in. Alex Vlachos, Valve July 28, 2010

Linear Filtering Part II

Hi everyone, my name is Michał Iwanicki. I m an engine programmer at Naughty Dog and this talk is entitled: Lighting technology of The Last of Us,

Volume visualization I Elvins

Standard Specification for Additive Manufacturing File Format (AMF)

B2.53-R3: COMPUTER GRAPHICS. NOTE: 1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions.

A NEW SUPER RESOLUTION TECHNIQUE FOR RANGE DATA. Valeria Garro, Pietro Zanuttigh, Guido M. Cortelazzo. University of Padova, Italy

Enhanced LIC Pencil Filter

Computer Graphics. Geometric Modeling. Page 1. Copyright Gotsman, Elber, Barequet, Karni, Sheffer Computer Science - Technion. An Example.

A technical overview of the Fuel3D system.

USING ADOBE PhotoShop TO MEASURE EarthKAM IMAGES

Examples. Pac-Man, Frogger, Tempest, Joust,

CUBE-MAP DATA STRUCTURE FOR INTERACTIVE GLOBAL ILLUMINATION COMPUTATION IN DYNAMIC DIFFUSE ENVIRONMENTS

SGN-1158 Introduction to Signal Processing Test. Solutions

CSE 564: Visualization. GPU Programming (First Steps) GPU Generations. Klaus Mueller. Computer Science Department Stony Brook University

Shapes & Designs Notes

Step 2: Paint Your Model

GPU Christmas Tree Rendering. Evan Hart

Mean Value Coordinates

3D Modelling in Blender Based on Polygonal Data

Time-domain Beamforming using 3D-microphone arrays

Blender addons ESRI Shapefile import/export and georeferenced raster import

Managing Imagery and Raster Data in ArcGIS

Investigation of Color Aliasing of High Spatial Frequencies and Edges for Bayer-Pattern Sensors and Foveon X3 Direct Image Sensors

Doppler. Doppler. Doppler shift. Doppler Frequency. Doppler shift. Doppler shift. Chapter 19

Console Architecture. By: Peter Hood & Adelia Wong

CASTING CURVED SHADOWS ON CURVED SURFACES. Lance Williams Computer Graphics Lab New York Institute of Technology Old Westbury, New York 11568

High Quality Elliptical Texture Filtering on GPU

Why is pre-processing necessary? Overall steps of this workflow: Batch RAW to DNG with Adobe Digital Negative (DNG) Converter Software

Character Creation You can customize a character s look using Mixamo Fuse:

Lecture 15: Hardware Rendering

Informatica Universiteit van Amsterdam

SHOW MORE SELL MORE. Top tips for taking great photos

also describes the method used to collect the data for the faces. These techniques could be used to animate other flexible surfaces.

ROBUST COLOR JOINT MULTI-FRAME DEMOSAICING AND SUPER- RESOLUTION ALGORITHM

17,280 square feet Overview:

Transcription:

Texture Mapping 1 Overview Modeling with textures motivation texture coordinates Texture mapping implementation Anti-aliasing and level of detail 2 1

Texture mapping Model surface-detail with images wrap objects with photographs model and render color or flat detail does not capture 3D detail 3 Texture mapping example Model t-shirt with logo no need to model the letters and engine with triangles use large base polygon color it with the photograph 4 2

Texture mapping example Subtle wall lighting no need to compute it at every frame no need to model it with a lot of constant color triangles 5 Texture mapping example Subtle wall lighting paste photograph on large polygon 6 3

Texture mapping example Non-planar surfaces work also 7 Texture mapping example Non-planar surfaces work also subdivide surface into planar patches assign photograph subregions to each individual patch 8 4

Texture mapping example Non-planar surfaces work also subdivide surface into planar patches assign photograph subregions to each individual patch 9 Texture mapping example Non-planar surfaces work also subdivide surface into planar patches assign photograph subregions to each individual patch 10 5

Texture mapping example bark veneer Generic image to represent material tile pattern to cover big surface bricks 11 Tiling Repeat pattern 12 6

Tiling Repeat pattern 13 Tiling Repeat pattern 14 7

Tiling Repeat pattern reduce seems by mirroring 15 Tiling Repeat pattern reduce seems by mirroring 16 8

Tiling Repeat pattern reduce seems by mirroring 17 Tiling Repeat pattern reduce seems by mirroring 18 9

Tiling Repeat pattern reduce seems by mirroring reduce seems by choosing tile that covers one period of repeated texture 19 Tiling 20 10

Texture mapping limitations 21 Bricks are similar not identical 22 11

Texture mapping limitations Shiny floor reflection is view dependent 23 Texture coordinates Mechanism for attaching the texture map to the surface modeled a pair of floats (s, t) for each triangle vertex corners of the image are (0, 0), (0, 1), (1, 1), and (1, 0) tiling indicated with tex. coords. > 1 texels color samples in texture maps 24 12

Texture coordinates P 2 (0, 0) P 1 (1, 0) P 3 (0, 1) P 4 (1, 1) y O x z 25 Overview Modeling with textures motivation texture coordinates Texture mapping implementation Anti-aliasing and level of detail 26 13

Overview Modeling with textures motivation texture coordinates Texture mapping implementation Anti-aliasing and level of detail 27 Texture mapping a P 2 (0, 0) P 3 (0, 1) P 1 (1, 0) c P 2 P 4 (1, 1) y P 1 P 3 z O x C b 28 14

Find texel for current pixel P 1 (u 1, v 1, s 1, t 1 ) P (u, v, s, t) P 3 (u 3, v 3, s 3, t 3 ) P 2 (u 2, v 2, s 2, t 2 ) 29 Texture mapping P 2 (s 2, t 2 ) P(s, t) P 1 (s 1, t 1 ) a y c P P 2 P 3 P 1 P 3 (s 3, t 3 ) z O x C b 30 15

Texture mapping problem: compute the texture coordinates for an interior pixel a P 2 (s 2, t 2 ) P(s, t) P 1 (s 1, t 1 ) y c P P 2 P 3 P 1 P 3 (s 3, t 3 ) z O x C b 31 Texture mapping solution: interpolate vertex texture coordinates P 2 (s 2, t 2 ) P(s, t) P 1 (s 1, t 1 ) a y c P P 2 P 3 P 1 P 3 (s 3, t 3 ) z O x C b 32 16

Overview Modeling with textures motivation texture coordinates Texture mapping implementation Anti-aliasing and level of detail 33 Overview Modeling with textures motivation texture coordinates Texture mapping implementation Anti-aliasing and level of detail 34 17

Aliasing sampling locations (desired image pixel centers) texture map 35 Aliasing sampling locations (desired image pixel centers) texture map 36 18

Aliasing High frequencies pose as lower frequencies display resolution gives maximum displayable frequency if not sufficient high frequencies are called (aliased as) low frequencies Nyquist law max frequency displayable is half the sampling frequency 37 Nyquist law for given texture map, one should sample at least this frequently to avoid aliasing 38 19

Nyquist law for given texture map resolution, one should sample at least this frequently to avoid aliasing 39 Possible Antialiasing Solution convolution with 2 outputpixel-wide kernel EXPENSIVE 40 20

Level of detail Adapt texture resolution to desired image resolution Mip-mapping texture is filtered as preprocess to several resolutions at runtime find out required resolution use corresponding version of texture map 41 Mip-mapping: example 256x256 128x128 64x64 42 21

Trilinear filtering Use two most appropriate resolutions of texture map lookup color values with bilinear interpolation in each texture version linearly interpolate in between the two color values 43 Trilinear filtering: example bilinear bilinear linear 44 22

Anisotropic filtering Different levels of detail are needed along the two directions in the texture map filter differently along s and t 63 desired image view of polygon 312 trilinear interpolation between levels 32 and 64 blurs too much along the s direction use levels 256 512 for s and 32 64 for t 45 23