+ All Categories
Home > Documents > Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces...

Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces...

Date post: 20-Dec-2015
Category:
View: 217 times
Download: 2 times
Share this document with a friend
34
Implicit Surfaces Implicit Surfaces Tom Ouyang January 29, 2004
Transcript
Page 1: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Implicit SurfacesImplicit Surfaces

Tom Ouyang

January 29, 2004

Page 2: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Outline

Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications

Page 3: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

What are Implicit Surfaces?

2D Geometric shapes that exist in 3D space Surface representation through a function f(x,

y, z) = 0 Most methods of analysis assume f is

continuous and not everywhere 0.

Page 4: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Example of an Implicit Surface

3D Sphere centered at the origin x2 + y2 + z2 = r2

x2 + y2 + z2 – r2 = 0

Page 5: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Point Classification

Inside Region: f < 0 Outside Region: f > 0 Or vice versa depending on the function

f < 0 f > 0

f = 0

Page 6: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Manifold

A 2D Manifold separates space into a natural inner and natural outer region

A manifold surface is “watertight” and contains no holes or dangling edges

Page 7: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Manifold

It is difficult to determine enclosed region in non-manifold surfaces

Page 8: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Surface Normals

Usually gradient of the function f(x,y,z) =

(f/x, f/y, f/z)

Points at increasing f

Page 9: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Properties of Implicits

Easy to check if a point is inside the implicit surface Evaluate f at that point

Fairly easy to check ray intersection Substitute ray equation into f for simple functions Binary search

Page 10: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Properties of Implicits

Simple set operations Union: min(f, g) Intersection: max(f, g) Difference: max(f,-g) Complement: -f

f < 0 g < 0f < 0g < 0

Page 11: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Polygonal Representation

Partition space into convex cells

Find cells that intersect the surfacetraverse cells

Compute surface vertices

Page 12: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Spatial Partitioning

Exhaustive Enumeration Divide space into regular lattice of cells Traverse cells polygonized

Page 13: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Spatial Partitioning

Subdivision Start with root cell and subdivide Continue subdividing traverse cells

Page 14: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Spatial Partitioning

Adaptive Polygonization

Page 15: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Determining Intersections

Page 16: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Implicit Surfaces vs Polygons

Advantages Smoother and more precise More compact Easier to interpolate and deform

Disadvantages More difficult to display in real time

Page 17: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Implicits vs Parametrics

Advantages Implicits are easier to blend and morph Interior/Exterior description Ray-trace

Disadvantages Rendering Control

Page 18: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Types of Implicit Surfaces

Mathematic Polynomial or Algebraic Non polynomial or Transcendental

Exponential, trigonometric, etc.

Procedural Black box function

Page 19: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Algebraic Surfaces

Degree 6Cubic Degree 4

Page 20: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Non-Algebraic Surfaces

Page 21: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Distance Functions

D(p) = R Sphere: Distance to a

point Cylinder: Distance to a

line

Page 22: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Distance Functions

Page 23: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Interpolation

Interpolate corresponding algebraic equations

Page 24: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Solid Modeling

Solid model consists of a surface and its interior

Point classification Constructive solid geometry (CSG)

Page 25: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Variational Implicit Surfaces

Specify boundary locations boundary, interior, and

exterior

Generate surfaces that interpolate boundary points

Page 26: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Compression

Mesh of 473,000 vertices and 871,000 facets Implicit function of 32,000 terms

Page 27: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Procedural Methods

f as an arbitrary process or algorithm Fractal (Julia Set)

Page 28: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Deformation

p’ = D(p) D maps each point in 3-space to some new

location Twist, bend, taper, and offset

Page 29: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Visualization

Contours

Page 30: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Visualization

Particle Display

Page 31: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Particle Display Demo

Page 32: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Visualization

Ray Tracing

Page 33: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Other Coordinate Systems

Cylindrical Coordinates Spherical Coordinates

Page 34: Implicit Surfaces Tom Ouyang January 29, 2004. Outline Properties of Implicit Surfaces Polygonization Ways of generating implicit surfaces Applications.

Summary

Surface defined implicitly by f(p) = 0 Easy to test if point is on surface, inside, or

outside Easy to handle blending, interpolation, and

deformation Difficult to render


Recommended