Spline Curves. Color Interpolation. Normal Interpolation. Last Time? Today. glshademodel (GL_SMOOTH); Adjacency Data Structures. Mesh Simplification

Similar documents
Curves & Surfaces. Last Time? Today. Readings for Today (pick one) Limitations of Polygonal Meshes. Today. Adjacency Data Structures

Today. Curves & Surfaces. Can We Disguise the Facets? Limitations of Polygonal Meshes. Better, but not always good enough

Last Time: Curves & Surfaces. Today. Questions? Limitations of Polygonal Meshes. Can We Disguise the Facets?

Schedule. Curves & Surfaces. Questions? Last Time: Today. Limitations of Polygonal Meshes. Acceleration Data Structures.

EECS 487: Interactive Computer Graphics

Curves & Surfaces. Last Time? Progressive Meshes. Selective Refinement. Adjacency Data Structures. Mesh Simplification. Mesh Simplification

parametric spline curves

Effects needed for Realism. Ray Tracing. Ray Tracing: History. Outline. Foundations of Computer Graphics (Fall 2012)

Implementing Ray Casting in Tetrahedral Meshes with Programmable Graphics Hardware (Technical Report)

AML710 CAD LECTURE 11 SPACE CURVES. Space Curves Intrinsic properties Synthetic curves

Image Content Representation

Rendering Pipeline/ OpenGL

STEREO PLANE MATCHING TECHNIQUE

A Matching Algorithm for Content-Based Image Retrieval

Introduction to Computer Graphics 10. Curves and Surfaces

Texture Mapping. Texture Mapping. Map textures to surfaces. Trompe L Oeil ( Deceive the Eye ) Texture map. The texture

Page 1. News. Compositing, Clipping, Curves. Week 3, Thu May 26. Schedule Change. Homework 1 Common Mistakes. Midterm Logistics.

CENG 477 Introduction to Computer Graphics. Modeling Transformations

X-Splines : A Spline Model Designed for the End-User

Curves & Surfaces. MIT EECS 6.837, Durand and Cutler

NEWTON S SECOND LAW OF MOTION

COSC 3213: Computer Networks I Chapter 6 Handout # 7

Simultaneous Precise Solutions to the Visibility Problem of Sculptured Models

DETC2004/CIE VOLUME-BASED CUT-AND-PASTE EDITING FOR EARLY DESIGN PHASES

Hermite Curves. Jim Armstrong Singularity November 2005

A non-stationary uniform tension controlled interpolating 4-point scheme reproducing conics

Open Access Research on an Improved Medical Image Enhancement Algorithm Based on P-M Model. Luo Aijing 1 and Yin Jin 2,* u = div( c u ) u

Motion Level-of-Detail: A Simplification Method on Crowd Scene

CAMERA CALIBRATION BY REGISTRATION STEREO RECONSTRUCTION TO 3D MODEL

MATH Differential Equations September 15, 2008 Project 1, Fall 2008 Due: September 24, 2008

An Adaptive Spatial Depth Filter for 3D Rendering IP

FLOW VISUALIZATION USING MOVING TEXTURES * Nelson Max Lawrence Livermore National Laboratory Livermore, California

Accurate Simplification of Multi-Chart Textured Models

Network management and QoS provisioning - QoS in Frame Relay. . packet switching with virtual circuit service (virtual circuits are bidirectional);

Interactive Graphical Systems HT2005

Traditional Rendering (Ray Tracing and Radiosity)

Point Cloud Representation of 3D Shape for Laser- Plasma Scanning 3D Display

Streamline Pathline Eulerian Lagrangian

Quantitative macro models feature an infinite number of periods A more realistic (?) view of time

Ray Casting. Outline. Outline in Code

A Principled Approach to. MILP Modeling. Columbia University, August Carnegie Mellon University. Workshop on MIP. John Hooker.

Overview. 9 - Game World: textures, skyboxes, etc. Texture Mapping. Texture Space. Vertex Texture Coordinates. Texture Mapping. Game World Backgrounds

Computer representations of piecewise

Research Article Shape Preserving Interpolation Using C 2 Rational Cubic Spline

4.1 3D GEOMETRIC TRANSFORMATIONS

CS 428: Fall Introduction to. Geometric Transformations (continued) Andrew Nealen, Rutgers, /20/2010 1

DAGM 2011 Tutorial on Convex Optimization for Computer Vision

Image Based Computer-Aided Manufacturing Technology

Constant-Work-Space Algorithms for Shortest Paths in Trees and Simple Polygons

MOTION DETECTORS GRAPH MATCHING LAB PRE-LAB QUESTIONS

Less Pessimistic Worst-Case Delay Analysis for Packet-Switched Networks

Direct Volume Visualization of Three-Dimensional Vector Fields

Feature-Preserving Reconstruction of Singular Surfaces

A new method for 3-dimensional roadway design using visualization techniques

4. Minimax and planning problems

NURBS rendering in OpenSG Plus

Reconstruct scene geometry from two or more calibrated images. scene point. image plane. Reconstruct scene geometry from two or more calibrated images

Chapter 3 MEDIA ACCESS CONTROL

Collision-Free and Curvature-Continuous Path Smoothing in Cluttered Environments

High Resolution Passive Facial Performance Capture

Evaluation and Improvement of Region-based Motion Segmentation

A Fast Non-Uniform Knots Placement Method for B-Spline Fitting

Sam knows that his MP3 player has 40% of its battery life left and that the battery charges by an additional 12 percentage points every 15 minutes.

Scattering at an Interface: Normal Incidence

In Proceedings of CVPR '96. Structure and Motion of Curved 3D Objects from. using these methods [12].

Optimal Crane Scheduling

A NEW APPROACH FOR 3D MODELS TRANSMISSION

Texture Mapping. Motivation. Examples Image Textures. Idea. towards more realism

Virtual Recovery of Excavated Archaeological Finds

Chapter 8 LOCATION SERVICES

Navigating in a Shape Space of Registered Models

Interactive Rendering of Atmospheric Scattering Effects Using Graphics Hardware

Assignment 2. Due Monday Feb. 12, 10:00pm.

Systems & Biomedical Engineering Department. Transformation

Image segmentation. Motivation. Objective. Definitions. A classification of segmentation techniques. Assumptions for thresholding

Precise Voronoi Cell Extraction of Free-form Rational Planar Closed Curves

Video streaming over Vajda Tamás

LAMP: 3D Layered, Adaptive-resolution and Multiperspective Panorama - a New Scene Representation

A time-space consistency solution for hardware-in-the-loop simulation system

Data Structures and Algorithms. The material for this lecture is drawn, in part, from The Practice of Programming (Kernighan & Pike) Chapter 2

Test - Accredited Configuration Engineer (ACE) Exam - PAN-OS 6.0 Version

Low-Cost WLAN based. Dr. Christian Hoene. Computer Science Department, University of Tübingen, Germany

Geodesic, Flow Front and Voronoi Diagram

Deep Appearance Models for Face Rendering

A GRAPHICS PROCESSING UNIT IMPLEMENTATION OF THE PARTICLE FILTER

Integro-differential splines and quadratic formulae

Digital Geometry Processing Differential Geometry

Optimal trajectory approximation by cubic splines on fed-batch control problems

Research Article Auto Coloring with Enhanced Character Registration

Overview. 8 - Game World: textures, skyboxes, etc. Texture Mapping. Texture Space. Creating Textures. Vertex Texture Coordinates.

SOT: Compact Representation for Triangle and Tetrahedral Meshes

TOOTH ALIGNMENT OF THE DENTAL CAST USING 3D THIN PLATE SPLINE

Projective geometry- 2D

Chapter Six Chapter Six

A GRAPHICS PROCESSING UNIT IMPLEMENTATION OF THE PARTICLE FILTER

CS422 Computer Networks

7.2 Puiseux Expansions

IDEF3 Process Description Capture Method

Image warping/morphing

Subdivision Surfaces. Homework 1: Last Time? Today. Bilinear Patch. Tensor Product. Spline Surfaces / Patches

Transcription:

Las Time? Adjacency Daa Srucures Spline Curves Geomeric & opologic informaion Dynamic allocaion Efficiency of access Mesh Simplificaion edge collapse/verex spli geomorphs progressive ransmission view-dependen refinemen Color Inerpolaion Inerpolae colors of he 3 verices Linear inerpolaion, barycenric coordinaes Inerpolaing Color & Normals in OpenGL Limiaions of Polygonal Models Some Modeling Tools & Definiions Wha's a Spline? Linear Inerpolaion Inerpolaion Curves vs. Approximaion Curves Spline (NURBS) glshademodel (GL_SMOOTH); glbegin(gl_triangles); glcolor3f(1.0,0.0,0.0); glverex3f( ); glcolor3f(0.0,1.0,0.0); glverex3f( ); glcolor3f(0.0,0.0,1.0); glverex3f( ); glend(); Normal Inerpolaion From OpenGL Reference Manual: Smooh shading, he defaul, causes he compued colors of verices o be inerpolaed as he primiive is raserized, ypically assigning differen colors o each resuling pixel fragmen. Fla shading selecs he compued color of jus one verex and assigns i o all he pixel fragmens generaed by raserizing a single primiive. In eiher case, he compued color of a verex is he resul of lighing if lighing is enabled, or i is he curren color a he ime he verex was specified if lighing is disabled. ray racing scan conversion fla shading glbegin(gl_triangles); glnormal3f( ); glverex3f( ); glnormal3f( ); glverex3f( ); glnormal3f( ); glverex3f( ); glend(); scan conversion gouraud shading 1

Gouraud Shading Insead of shading wih he normal of he riangle, we ll shade he verices wih he average normal and inerpolae he shaded color across each face Inerpolaing Color & Normals in OpenGL Limiaions of Polygonal Models Some Modeling Tools & Definiions Wha's a Spline? Linear Inerpolaion Inerpolaion Curves vs. Approximaion Curves Spline (NURBS) How do we compue Average Normals? Is i expensive?? Limiaions of Polygonal Meshes Planar faces (& silhouees) Fixed resoluion Deformaion is difficul No naural parameerizaion (for exure mapping) Gouraud no always good enough Sill low, fixed resoluion (missing fine deails) Sill have polygonal silhouees Inersecion deph is planar (e.g. ray racing visualizaion) Collisions problems for simulaion Solid Texuring problems... Some Non-Polygonal Modeling Tools Coninuiy definiions: Exrusion Spline Surfaces/Paches Surface of Revoluion Quadrics and oher implici polynomials C 0 coninuous curve/surface has no breaks/gaps/holes G 1 coninuous angen a join has same direcion C 1 coninuous curve/surface derivaive is coninuous angen a join has same direcion and magniude C n coninuous curve/surface hrough n h derivaive is coninuous imporan for shading Shape Opimizaion Using Reflecion Lines, Tosun e al., 2007 2

Quesions? Inerpolaing Color & Normals in OpenGL Limiaions of Polygonal Models Some Modeling Tools & Definiions Wha's a Spline? Linear Inerpolaion Inerpolaion Curves vs. Approximaion Curves Spline (NURBS) Definiion: Wha's a Spline? Inerpolaion Curves / Splines Smooh curve defined by some conrol poins Moving he conrol poins changes he curve Inerpolaion (approximaion) (approximaion) www.abm.org Inerpolaion Curves Curve is consrained o pass hrough all conrol poins Given poins P 0, P 1,... P n, find lowes degree polynomial which passes hrough he poins x() = a n-1 n-1 +... + a 2 2 + a 1 + a 0 y() = b n-1 n-1 +... + b 2 2 + b 1 + b 0 Linear Inerpolaion Simples "curve" beween wo poins Q() = Spline Basis Funcions a.k.a. Blending Funcions 3

Inerpolaion vs. Approximaion Curves Inerpolaion vs. Approximaion Curves Inerpolaion Curve over consrained los of (undesirable?) oscillaions Inerpolaion curve mus pass hrough conrol poins Approximaion curve is influenced by conrol poins Approximaion Curve more reasonable? Quesions? Inerpolaing Color & Normals in OpenGL Limiaions of Polygonal Models Some Modeling Tools & Definiions Wha's a Spline? Linear Inerpolaion Inerpolaion Curves vs. Approximaion Curves Spline (NURBS) Cubic Curve Cubic Curve 4 conrol poins Curve passes hrough firs & las conrol poin Curve is angen a P 1 o (P 2 -P 1 ) and a P 4 o (P 4 -P 3 ) de Caseljau's algorihm for consrucing curves A curve is bounded by he convex hull of is conrol poins. 4

Cubic Curve Connecing Cubic Curves Asymmeric: Curve goes hrough some conrol poins bu misses ohers Bernsein Polynomials How can we guaranee C 0 coninuiy? How can we guaranee G 1 coninuiy? How can we guaranee C 1 coninuiy? Can guaranee higher C 2 or higher coninuiy Connecing Cubic Curves Where is his curve C 0 coninuous? G 1 coninuous? C 1 coninuous? Wha s he relaionship beween: he # of conrol poins, and he # of cubic subcurves? Higher-Order Curves > 4 conrol poins Bernsein Polynomials as he basis funcions Every conrol poin affecs he enire curve No simply a local effec More difficul o conrol for modeling Quesions? Inerpolaing Color & Normals in OpenGL Limiaions of Polygonal Models Some Modeling Tools & Definiions Wha's a Spline? Linear Inerpolaion Inerpolaion Curves vs. Approximaion Curves Spline (NURBS) 5

Cubic s 4 conrol poins Locally cubic Curve is no consrained o pass hrough any conrol poins Cubic s Ieraive mehod for consrucing s A curve is also bounded by he convex hull of is conrol poins. Shirley, Fundamenals of Compuer Graphics Cubic s Connecing Cubic Curves Can be chained ogeher Beer conrol locally (windowing) Connecing Cubic Curves Curve Conrol Poins Wha s he relaionship beween he # of conrol poins, and he # of cubic subcurves? Defaul wih Disconinuiy Repea inerior conrol poin which passes hrough end poins Repea end poins 6

is no he same as is no he same as Relaionship o he conrol poins is differen Convering beween & Convering beween & original conrol poins as new conrol poins o mach Using he basis funcions: new conrol poins o mach original conrol poins as NURBS (generalized s) : uniform cubic NURBS: Non-Uniform Raional non-uniform = differen spacing beween he blending funcions, a.k.a. knos raional = raio of polynomials (insead of cubic) Nea Bezier Spline Trick A Bezier curve wih 4 conrol poins: P 0 P 1 P 2 P 3 Can be spli ino 2 new Bezier curves: P 0 P 1 P 2 P 3 P 3 P 4 P 5 P 3 A curve is bounded by he convex hull of is conrol poins. 7

Quesions? Readings for (pick one) "Free-form deformaion of solid geomeric models", Sederberg & Parry, SIGGRAPH 1986 "Teddy: A Skeching Inerface for 3D Freefrom Design", Igarashi e al., SIGGRAPH 1999 Readings for Friday (1/25) pick one DeRose, Kass, & Truong, "Subdivision Surfaces in Characer Animaion", SIGGRAPH 1998 Pos a commen or quesion on he LMS discussion by 10am on Friday 8