Pattern Based Procedural Textures Sylvain Lefebvre Fabrice Neyret iMAGIS - GRAVIR / IMAG - INRIA

Slides:



Advertisements
Similar presentations
Lapped textures Emil Praun Adam Finkelstein Hugues Hoppe
Advertisements

Accelerating Real-Time Shading with Reverse Reprojection Caching Diego Nehab 1 Pedro V. Sander 2 Jason Lawrence 3 Natalya Tatarchuk 4 John R. Isidoro 4.
Tile-Based Texture Mapping on Graphics Hardware Li-Yi Wei NVIDIA.
Understanding the graphics pipeline Lecture 2 Original Slides by: Suresh Venkatasubramanian Updates by Joseph Kider.
WSCG 2007 Hardware Independent Clipmapping A. Seoane, J. Taibo, L. Hernández, R. López, A. Jaspe VideaLAB – University of A Coruña (Spain)
The Art and Technology Behind Bioshock’s Special Effects
Texture Mapping. Texturing  process that modifies the appearance of each point on a surface using an image or function  any aspect of appearance can.
Geometry Compression Michael Deering, Sun Microsystems SIGGRAPH (1995) Presented by: Michael Chung.
CS-378: Game Technology Lecture #9: More Mapping Prof. Okan Arikan University of Texas, Austin Thanks to James O’Brien, Steve Chenney, Zoran Popovic, Jessica.
1 Questions about GPUs AS-Temps réel – Bordeaux Philippe Decaudin Fabrice Neyret Stéphane Guy Sylvain Lefebvre.
Real-Time Rendering TEXTURING Lecture 02 Marina Gavrilova.
Week 7 - Wednesday.  What did we talk about last time?  Transparency  Gamma correction  Started texturing.
Lapped Textures Emil Praun Adam Finkelstein Hugues Hoppe Emil Praun Adam Finkelstein Hugues Hoppe Princeton University Microsoft Research Princeton University.
Lapped Textures Emil Praun Adam Finkelstein Hugues Hoppe Emil Praun Adam Finkelstein Hugues Hoppe Princeton University Microsoft Research Princeton University.
LYU0603 A Generic Real-Time Facial Expression Modelling System Supervisor: Prof. Michael R. Lyu Group Member: Cheung Ka Shun ( ) Wong Chi Kin ( )
Computer Graphics (Spring 2008) COMS 4160, Lecture 19: Texture Mapping Many slides from Greg Humphreys, UVA and Rosalee.
Shadow Volumes on Programmable Graphics Hardware Speaker: Alvin Date: 2003/11/3 EUROGRAPHICS 2003.
IN4151 Introduction 3D graphics 1 Introduction to 3D computer graphics part 2 Viewing pipeline Multi-processor implementation GPU architecture GPU algorithms.
The FFT on a GPU Graphics Hardware 2003 July 27, 2003 Kenneth MorelandEdward Angel Sandia National LabsU. of New Mexico Sandia is a multiprogram laboratory.
Texture Sprites: Texture Elements Splatted on Surfaces Sylvain Lefebvre Samuel Hornus Fabrice Neyret GRAVIR/IMAG-INRIA ACM SIGGRAPH 2005 Symposium on Interactive.
Z-Buffer Optimizations Patrick Cozzi Analytical Graphics, Inc.
Evolution of the Programmable Graphics Pipeline Patrick Cozzi University of Pennsylvania CIS Spring 2011.
Real-Time Stereo Matching on Programmable Graphics Hardware Liang Wei.
XMT-GPU A PRAM Architecture for Graphics Computation Tom DuBois, Bryant Lee, Yi Wang, Marc Olano and Uzi Vishkin.
A Simple, Efficient Method for Realistic Animation of Clouds
Basic Rendering Techniques V Recognizing basic rendering techniques.
University of Texas at Austin CS 378 – Game Technology Don Fussell CS 378: Computer Game Technology Beyond Meshes Spring 2012.
Computer Graphics Shadows
VIS Group, University of Stuttgart Tutorial T4: Programmable Graphics Hardware for Interactive Visualization Volume Graphics - Advanced Klaus Engel Volume.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
GPU Programming Robert Hero Quick Overview (The Old Way) Graphics cards process Triangles Graphics cards process Triangles Quads.
CSE 381 – Advanced Game Programming Basic 3D Graphics
1 Mesh Parametrization and Its Applications 동의대학교 멀티미디어공학과 김형석 포항공과대학교 ( 이윤진, 이승용 )
Graphics Hardware 2002 Saarbrücken September 1-2, 2002 Adaptive Texture Maps Martin Kraus and Thomas Ertl VIS Group, Universität Stuttgart.
Graphics Graphics Korea University cgvr.korea.ac.kr 1 Texture Mapping 고려대학교 컴퓨터 그래픽스 연구실.
Rendering Forest Scenes in Real-Time EGSR 2004 Philippe Decaudin Fabrice Neyret GRAVIR/IMAG-INRIA, Grenoble, France.
Interactive Rendering of Meso-structure Surface Details using Semi-transparent 3D Textures Vision, Modeling, Visualization Erlangen, Germany November 16-18,
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.
NDVI-based Vegetation Rendering CGIM ‘07 Stefan Roettger, University of Erlangen
UW EXTENSION CERTIFICATE PROGRAM IN GAME DEVELOPMENT 2 ND QUARTER: ADVANCED GRAPHICS Textures.
VIS Group, University of Stuttgart Tutorial T4: Programmable Graphics Hardware for Interactive Visualization Texture Compression (Martin Kraus) Texture.
CSC 461: Lecture 3 1 CSC461 Lecture 3: Models and Architectures  Objectives –Learn the basic design of a graphics system –Introduce pipeline architecture.
Interactive Information Visualization of a Million Items
Advected textures Fabrice Neyret EVASION - GRAVIR / IMAG - INRIA Grenoble, France.
Pattern-Based Texturing Revisited / GRAVIR-IMAG-INRIA Grenoble, FRANCE Fabrice Neyret Marie-Paule Cani.
Computer Graphics 2 Lecture 7: Texture Mapping Benjamin Mora 1 University of Wales Swansea Pr. Min Chen Dr. Benjamin Mora.
Rendering Fake Soft Shadows with Smoothies Eric Chan Massachusetts Institute of Technology.
Hardware-accelerated Rendering of Antialiased Shadows With Shadow Maps Stefan Brabec and Hans-Peter Seidel Max-Planck-Institut für Informatik Saarbrücken,
CS418 Computer Graphics John C. Hart
Texture Mapping CAP4730: Computational Structures in Computer Graphics.
- Laboratoire d'InfoRmatique en Image et Systèmes d'information
Differential Instant Radiosity for Mixed Reality Martin Knecht, Christoph Traxler, Oliver Mattausch, Werner Purgathofer, Michael Wimmer Institute of Computer.
Lecture 6 Rasterisation, Antialiasing, Texture Mapping,
Real-Time Relief Mapping on Arbitrary Polygonal Surfaces Fabio Policarpo Manuel M. Oliveira Joao L. D. Comba.
CSE 690: GPGPU Lecture 8: Image Processing PDE Solvers Klaus Mueller Computer Science, Stony Brook University.
Maths & Technologies for Games Graphics Optimisation - Batching CO3303 Week 5.
CSCI 440.  So far we have learned how to  build shapes  create movement  change views  add simple lights  But, our objects still look very cartoonish.
Linear Algebra Operators for GPU Implementation of Numerical Algorithms J. Krüger R. Westermann computer graphics & visualization Technical University.
Ray Tracing using Programmable Graphics Hardware
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Texture Mapping Greg Humphreys University of Virginia CS 445, Fall 2003.
Atmospheric Effects Interactive Rendering of Atmospheric Scattering Effects Using Graphics Hardware Tsuyoshi Yamamoto Tomoyuki Nishita Tokyo University.
1 Real-Time High-Quality View-dependent Texture Mapping using Per-Pixel Visibility Damien Porquet Jean-Michel Dischler Djamchid Ghazanfarpour MSI Laboratory,
Texture Mapping cgvr.korea.ac.kr.
Perspective, Scene Design, and Basic Animation
Models and Architectures
Sampling Gabor Noise in the Spatial Domain
Kenneth Moreland Edward Angel Sandia National Labs U. of New Mexico
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Adding Surface Detail 고려대학교 컴퓨터 그래픽스 연구실.
Patch Textures: Hardware Implementation of Mesh Colors
Presentation transcript:

Pattern Based Procedural Textures Sylvain Lefebvre Fabrice Neyret iMAGIS - GRAVIR / IMAG - INRIA

Overview Motivations Previous Work Contributions Our Framework –Case study –Results Conclusion

Motivations Texturing large areas –Landscapes in simulators –Video games Requirements  High resolution and low memory cost  Avoiding periodicity  User control

Previous work Large explicit texture Extensions –Clipmaps [Tanner et al. 98] –Texture Compression –Empty space compression [Kraus Ertl 02] Drawbacks –Memory cost –Lossy Compression

Previous work Procedural textures –[Perlin 85] [Worley 96] [Ebert 94] Drawbacks –Calculation cost –Control by the artist uneasy –Not all materials

Previous work Pattern based texturing –Aperiodic tiling [Stam 97] –Triangular patterns [Neyret Cani 99] –Virtual atlases [Soler 02] –Sparse convolutions [Lewis 89, Erbert 94] Drawbacks –Mesh dependency –Local variations uneasy

Previous work Pattern based texturing –Aperiodic tiling [Stam 97] –Triangular patterns [Neyret Cani 99] –Virtual atlases [Soler 02] –Sparse convolutions [Lewis 89, Erbert 94] Drawbacks –Mesh dependency –Local variations uneasy

Previous work Pattern based texturing –Aperiodic tiling [Stam 97] –Triangular patterns [Neyret Cani 99] –Virtual atlases [Soler 02] –Sparse convolutions [Lewis 89, Erbert 94] Drawbacks –Mesh dependency –Local variations uneasy

Contributions Framework for creating very large virtual textures by combining patterns –No constraint on mesh (texture space) –Low memory cost Runs on today graphics hardware As generic as possible

Method overview Texture coordinates  pattern Texture space (u,v)

Method overview Texture coordinates  pattern  color Texture space (u,v) color

Method overview Texture coordinates  pattern  color Texture space (u,v) color

Method overview Texture coordinates  color Corresponds to hardware fragment program CPU Software Vertex Program Rasterisation Interpolation Fragment Program Tests & Blending Matrices, lights, … Textures Frame Buffer Programmable Graphics Hardware

Our Framework Set of basic blocks 1 block = 1 functionality Textures by combining blocks

Overview Motivations Previous Work Contributions Our Framework –Case study –Results Conclusion

Case study Aperiodic tiling –N x N virtual cells –T x T patterns –3 blocks Virtual Tile Map Virtual Indirection Map Reference Texture u glob color u tile gp T N  NT

Aperiodic tiling Virtual Tile Map –cell index g –relative coordinates u tile Virtual Tile Map Virtual Indirection Map Reference Texture u glob color u tile gp T N  NT u glob u tile gg+1 g-1

Aperiodic tiling Virtual Indirection Map –random index p from g (aperiodic) –uses permutation table  Virtual Tile Map Virtual Indirection Map Reference Texture u glob color u tile gp T N  NT

Aperiodic tiling Reference Texture Virtual Tile Map Virtual Indirection Map Reference Texture u glob color u tile gp T N  NT p color

Aperiodic tiling Virtual Tile Map Virtual Indirection Map Reference Texture u glob color u tile gp T N  NT

Blocks –Pattern choice and positioning –Transitions between neighboring patterns –Animation

Blocks –Pattern choice and positioning –Transitions between neighboring patterns –Animation

Blocks –Pattern choice and positioning –Transitions between neighboring patterns –Animation

Overview Motivations Previous Work Contributions Our Framework –Case study –Results Conclusion

Probability distribution control Areas map Interpolation of probabilities

Probability distribution control Areas map Interpolation of probabilities Virtual resolution = 4096 ²

Transitions Textures from Warcraft ® III: Reign of Chaos™ © Blizzard Entertainment ®. All rights reserved. only one quad

Transitions only one quad Textures from Warcraft ® III: Reign of Chaos™ © Blizzard Entertainment ®. All rights reserved.

Random positioning

Animations

Using explicit positonning Memory cost = pattern + 16x16 positionning map

Performances 1.1 fps8.5 fps15.5 fps24.5 fps640x480 5 fps36 fps73 fps113 fps320x Tex. lookups 512 instr.117 instr.65 instr.56 instr.Code length Dithered Areas Map & transitions Dithered Areas Map Areas mapAperiodic tiling Measures on GeForce FX prototype (half speed) 32 bits precision texture covers full screen

Filtering MIP – mapping Close view point –Linear interpolation Far view point –Indirection  average color Issue in general with indirections

Conclusion Framework Runs on hardware Allows very large aperiodic textures Low memory cost  Filtering issue  Exploiting the framework  Tiling with edge constraints

Acknoledgements NVidia for the GeForce FX prototype Blizzard Entertainment for texture data

Thank you ! Questions ?

Pattern Based Procedural Textures Sylvain Lefebvre Fabrice Neyret iMAGIS - GRAVIR / IMAG - INRIA