Docsity

Computer Graphics I: 3D Modeling - Surfaces - Prof. David E. Breen, Study notes of Computer Graphics

Partial preview of the text

Download Computer Graphics I: 3D Modeling - Surfaces - Prof. David E. Breen and more Study notes Computer Graphics in PDF only on Docsity!

1

CS 430/

Computer Graphics I

3D Modeling:

Surfaces

Week 8, Lecture 16 David Breen, William Regli and Maxim Peysakhov Geometric and Intelligent Computing Laboratory Department of Computer Science Drexel University http://gicl.cs.drexel.edu

2

Overview

  • 3D model representations
  • Mesh formats
  • Bicubic surfaces
  • Bezier surfaces
  • Normals to surfaces
  • Direct surface rendering 1994 Foley/VanDam/Finer/Huges/Phillips ICG

Representing 3D Objects

  • Exact
    • Wireframe
    • Parametric Surface
    • Solid Model
      • CSG
      • BRep
      • Implicit Solid Modeling - Approximate - Facet / Mesh - Just surfaces - Voxel - Volume info

Representing 3D Objects

  • Exact
    • Precise model of object topology
    • Mathematically represent all geometry - Approximate - A discretization of the 3D object - Use simple primitives to model topology and geometry

Positives when

Representing 3D Objects

  • Exact
    • Precision
      • Simulation, modeling, etc
    • Lots of modeling environments
    • Physical properties
    • Many applications (tool path generation, motion, etc.)
    • Compact
      • Approximate
        • Easy to implement
        • Easy to acquire
          • 3D scanner, CT
        • Easy to render
          • Direct mapping to the graphics pipeline
        • Lots of algorithms

Exact Representations

  • Wireframe
  • Parametric Surface
  • Solid Model
    • operations
    • CSG, BRep, implicit geometry

Issues with Wireframes

  • Visually ambiguous
  • No surfaces!
    • What’s inside? What’s outside?
    • Hidden line removal?
  • What does validity entail?
    • Don’t we just have a bunch of wires?
    • Do they need to add up to something?
  • How to model wireframe shapes?
    • Wire by wire? Not very easy!

Surface Models

  • Basic idea:
    • Represent a model as a set of faces/patches
  • Limitations:
    • Topological integrity; how do faces “line up”?; which way is ‘inside’/ ‘outside’?
  • Used in many CAD applications
    • Why? They are fine for drafting and rendering, not as good for creating true physical models

Minimal

  • Vertex + Face
  • No colors, normals, or texture
  • Primarily used to demonstrate geometry algorithms

Full-Featured

  • Colors / Transparency
  • Vertex-Face Normals (optional, can be computed)
  • Scene Graph
  • Lights
  • Textures
  • Views and Navigation

Stereolithography (STL)

  • Triangle data + Face Normal
  • The de-facto standard for rapid prototyping

How STL Works

Virtual Reality Modeling

Language (VRML)

  • SGML Based
  • Scene-Graph
  • Full Featured

Issues with 3D “mesh” formats

  • Easy to acquire
  • Easy to render
  • Harder to model with
  • Error prone
    • split faces, holes, gaps, etc