cmsc427 parametric surfaces and polygonal meshes note
play

CMSC427 Parametric surfaces and polygonal meshes Note These - PowerPoint PPT Presentation

CMSC427 Parametric surfaces and polygonal meshes Note These slides are incomplete See accompanying PDF with detailed outline Will develop many equations in class Reading later to supplement Moving to 3D Polygonal meshes


  1. CMSC427 Parametric surfaces and polygonal meshes

  2. Note • These slides are incomplete • See accompanying PDF with detailed outline • Will develop many equations in class • Reading later to supplement

  3. Moving to 3D • Polygonal meshes • Set of standard shapes in Blender • And how to create them • And store them • And draw them

  4. Bilinear patch • Blending of four 3D points • Ruled surface • Swept out by sequence of lines P1 P2 P0 P3

  5. Bilinear patch • Blend simultaneously along two lines • P01 = t(P1-P0) + P0 • P23 = t(P2-P3) + P2 P1 P2 • Same t in [0,1] P01 P23 P0 P3

  6. Bilinear patch • Blend simultaneously along two lines P1 P2 • P01 = tP1 + (1-t)P0 • P23 = tP3 + (1-t)P2 P01 P P23 • Same t in [0,1] P0 • Then blend between the two lines P3 • P = sP23 + (1-s)P01 • P = s(tP1 + (1-t)P0) + (1-s)(tP3 + (1-t)P2)

  7. Bilinear patch • Questions • What order polynomial? P1 P2 • Convex combination? • What is drawn if t is constant? P01 P P23 • What is drawn if s is constant? P0 P3 • P = s(tP1 + (1-t)P0) + (1-s)(tP3 + (1-t)P2)

  8. Bilinear patch • Questions • What order polynomial? P1 P2 • Convex combination? • What is drawn if t is constant? P01 P P23 • What is drawn if s is constant? P0 P3 • P = s(tP1 + (1-t)P0) + (1-s)(tP3 + (1-t)P2) • P = stP1 + s(1-t)P0 + (1-s)tP3 + (1-s)(1-t)P2

  9. Coons patch • What’s happening in this surface?

  10. Coons patch • What’s happening in this surface? • Blending two arcs • Is this a ruled surface?

  11. Coons patch • Blend four arbitrary curves • Here C1, C2, D1, D2

  12. Circle with trig: review Parametric equation 𝑦 = 𝑆 cos (𝑢) sin (𝑢) t 𝑧 = 𝑆 sin (𝑢) cos (𝑢) 0 ≤ 𝑢 ≤ ? ?

  13. Parametric cone h r

  14. Parametric cylinder h r

  15. Rendering faces: need location and normal • Need distance and orientation relative to lights to compute reflected light

  16. Polygonal mesh • Simplest mesh: tetrahedron • Indexed mesh representation • Vertex list • Normal list • Face list • Non-indexed representation • List of faces with repeated vertices

  17. Polygonal mesh • Hill’s barn • 10 vertices • 7 faces • 7 normals

  18. File formats • STL • https://en.wikipedia.org/wiki/STL_(file_format) • OBJ • https://en.wikipedia.org/wiki/Wavefront_.obj_file • Many others

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend