1 / 18

Understanding OpenGL: Modern Graphics Pipeline Design and Operations

This review explores the design of OpenGL's modern graphics pipeline, key application commands, and the processes involved in geometry rasterization, texturing, and fragment display. It outlines how OpenGL serves as a state machine managing specific drawing operations, highlighting server and client states. We delve into the Begin/End paradigm, command syntax, and bitwise operations in OpenGL, such as the combination of commands like glClear. This comprehensive overview provides insights into how the pipeline is configured and managed for effective rendering in graphical applications.

Download Presentation

Understanding OpenGL: Modern Graphics Pipeline Design and Operations

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. Week 2: Review of graphics API OpenGL design

  2. Modern graphics pipeline

  3. Modern graphics pipeline Application Command Geometry Rasterization Texture Fragment Display

  4. Modern graphics pipeline Application Command Geometry Rasterization Texture Fragment Display

  5. Modern graphics pipeline Application Command Geometry Rasterization Texture Fragment Display

  6. Modern graphics pipeline Application Command Geometry Rasterization Texture Fragment Display

  7. Modern graphics pipeline Application Command Geometry Rasterization Texture Fragment Display

  8. Modern graphics pipeline Application Command Geometry Rasterization Texture Fragment Display

  9. Modern graphics pipeline Application Command Geometry Rasterization Texture Fragment Display

  10. Modern graphics pipeline Application Command Geometry Rasterization Texture Fragment Display

  11. Modern graphics pipeline Application Application & higher level libraries world Command Geometry Rasterization Graphics API world Texture Fragment Display

  12. OpenGL block diagram Generation Traversal Xformation Rasteriz. & tex. Display Display list Per-vertex operations & Primitive assembly Per- fragment operations Frame buffer Video display Evaluator Rasterization Application generation Application traversal Texture memory Pixel operations Application & higher level graphics libraries OpenGL implementation

  13. OpenGL operation: conceptual model Configure how OpenGL should draw stuff Draw stuff

  14. Configuring OpenGL “We view OpenGL as a state machine that controls a set of specific drawing operations” Two types of state: server and client. Most refer to server

  15. Drawing • Begin/End paradigm • Only certain commands allowed inside the block

  16. OpenGL command syntax

  17. GL data types • GLfloat, GLint, etc.

  18. GL values • In CAPITAL LETTERS • e.g. GL_LIGHT0, GL_AMBIENT • Use bitwise OR command to combine them, e.g. glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

More Related