1 / 11

Chapter 13: A Simple 3D Application

In this chapter, we will explore the fundamental elements of 3D composition, including the model, camera, and scene. We will also discuss the differences between left-handed and right-handed coordinate systems and learn how to compose a 3D scene in a computer graphics program.

hsuzanne
Télécharger la présentation

Chapter 13: A Simple 3D Application

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. Chapter 13: A Simple 3D Application Chapter 13

  2. This Chapter: we will learn about • Basic elements in 3D composition • Model • Camera • Scene (lighting and material) • Left vs. Right Handed Coordinate System • Compose a 3D Scene in a Computer Graphics Program Chapter 13

  3. A Photograph of two papers • The Model: 2 papers • 8cm x 8cm and 5cm x 5cm • The Camera • Simple pinhole • No focusing capability • The Scene • Arrangements modeland camera • Light sources (later) Chapter 13

  4. The Arrangements Chapter 13

  5. 3D Coordinate Systems • Two options for Z-axis direction! • Same position, different sign for z-value!! Chapter 13

  6. Left vs. Right Handed Systems • Right-Handed System EXCLUSIVELY!! Chapter 13

  7. The Model and the Scene • Right-Handed Coordinate System • Convenience • OriginCenter of 8x8 • Unitsin cm Chapter 13

  8. Details … Chapter 13

  9. Tut 13.1: Drawing the papers • For now: • Simplest application • no library • GrfxWindow class Chapter 13

  10. Tut 13.1: The drawing code … Chapter 13

  11. Tut 13.1: Z-Buffer for 3D Drawing • GrfxWindow::OnCreate(): create z-buffer • GrfxWindow::OnPaint(): • Enable z-buffer • Clear z-buffer Chapter 13

More Related