1 / 35

CS32310 - Lecture 01

CS32310 - Lecture 01. Reyer Zwiggelaar rrz@aber.ac.uk. In This Lecture. Three-dimensional objects Representation and modelling Polygons. Representation. Representation. Representation. Representation. Representation. General approach unsolved Machine or renderer Polygon mesh

hester
Download Presentation

CS32310 - Lecture 01

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS32310 - Lecture 01 Reyer Zwiggelaar rrz@aber.ac.uk

  2. In This Lecture • Three-dimensional objects • Representation and modelling • Polygons

  3. Representation

  4. Representation

  5. Representation

  6. Representation

  7. Representation • General approach unsolved • Machine or renderer • Polygon mesh • User or user interface • Bi-cubic parametric patches • Constructive solid geometry • Conversion to polygon mesh for rendering

  8. Representation • Polygonal • Constructive solid geometry (CSG) • Spatial subdivision techniques • Implicit representation • Bi-cubic parametric patches • Lectures 2 and 3

  9. Representation • Polygonal • Constructive solid geometry (CSG) • Spatial subdivision techniques • Implicit representation

  10. Polygonal Representation http://www.infosun.fmi.uni-passau.de/st/staff/breu/studium/cg/teapot.html

  11. Polygonal Representation • Classic representation in 3D graphics • Linked list of 3D coordinates • Polygon vertices • Object => surfaces => polygons => edges/vertices

  12. Polygonal Representation Object => surfaces => polygons => edges/vertices

  13. Polygon Mesh Attributes • Polygon attributes • Triangular or not • Area • Normal to the plane • Plane coefficients: Ax+By+Cz+D=0 • Convex or not • Containing holes or not

  14. Polygon Mesh Attributes • Edge attributes • Length • Between two polygons or two surfaces • Polygons on each side

  15. Polygon Mesh Attributes • Vertex attributes • Polygons that contribute to it • Normal: average of polygons that contribute to it • Texture coordinates

  16. Creating Polygonal Objects • 3D digitiser or manual approach • Utah beetle (1974) • Laser ranger • Mathematical description • Computer Aided Design • Sweeping • Rotational invariant • Allows user interaction

  17. Representation • Polygonal • Constructive solid geometry (CSG) • Spatial subdivision techniques • Implicit representation

  18. CSG Representation • User representation • Needs conversion (to polygon mesh) • Building with primitives • Spheres, cones, cylinders, rectangles • Using linear transformations • Combined using Boolean set operators

  19. CSG Representation Subtract Cylinder Union Block 1 Block 2

  20. Representation • Polygonal • Constructive solid geometry (CSG) • Spatial subdivision techniques • Implicit representation

  21. Space Subdivision Representation • Basis element is a voxel • 3D version of pixel in an image • Trade-off between storage and accuracy

  22. Space Subdivision Representation

  23. Organising Voxel Data • Octree (3D) • Quadtree (2D) • Binary space partitioning (BSP) tree

  24. Quadtree

  25. Quadtree

  26. Quadtree

  27. Quadtree

  28. Quadtree

  29. Quadtree e r b e c r c e b b c e b e b c b c e c r r c r c r c e

  30. BSP Tree y = 1023 3 4 y < 512 y >= 512 1 2 y = 0 x = 1023 1 2 3 4 x = 0 Quadtree x < 512 x >= 512 x < 512 x >= 512 1 2 3 4 BSP tree

  31. Representation • Polygonal • Constructive solid geometry (CSG) • Spatial subdivision techniques • Implicit representation

  32. Implicit Representation • Simple objects • Spheres • Bounding Volumes

  33. Scene Management • Number of polygons versus field of view • Few levels • Details appear and disappear • Bi-cubic parametric patches • Detail can be scene related and gradual • Lectures 2 and 3

  34. In This Lecture • Three-dimensional objects • Representation and modelling • Polygons

  35. In The Next Lecture • Three-dimensional objects • Bezier curves and patches

More Related