CSCE 441 Lecture 28

From Notes
Jump to navigation Jump to search

« previous | Friday, March 28, 2014 | next »


Implicit Representations of Shape

No polygons; just functions defining solution points

Advantages

  • No topology to maintain
  • Always defines a closed surface
  • Inside/Outside test is easy
  • CSG operations
    • Union: take min of each function
    • Intersection: take max of each function
    • Subtraction:


Disadvantages

  • hard to render - no polygons
  • creating polygons
  • Arbitrary shapes hard to represent

2D Polygon Generation

Sample over grid and get large 2D array of positive/negative values.


Place vertices on edges where function changes sign: use linear interpolant of values at each edge endpoint (higher magnitude means further away from zero set)

3D Polygon Generation

Use 3D grid made from cubes instead of 2D grid

8 vertices, each vertex has 2 possibilities (positive or negative), so there are possible configurations.

There are 15 equivalence classes:

3D Polygon Generation Equivalence Classes.png