In this video I cover some of the action that takes place at the end of the vertex level processing of the graphics pipeline. The focus is on clipping and viewport mapping and how they get us from NDC space to screen space pixels.
🔥 See the list of the books that I'm using as background information for my tutorials: https://ogldev.org/books.html. I highly recommend them for learning more about OpenGL and Vulkan. These are affiliate links so if you use them to buy any of the books the price is the same for you and I will get a small commission (thank-you!).
Timecodes:
0:00 Intro
0:17 Pipeline recap
1:01 The end of vertex processing
2:13 Clipping
5:02 glClipControl
5:33 Z-fighting
6:12 Perspective Division
7:09 Viewport mapping
8:22 glViewport
8:53 Demo
10:37 Conclusion
I highly recommend watching the two perspective projection tutorials:
Part 1: • Perspective Projection - Part 1 // Op...
Part 2: • Perspective Projection - Part 2 // O...
Make sure to watch all the previous tutorials in the "OpenGL For Beginners" playlist at • OpenGL for Beginners
Please visit https://ogldev.org to see more of my tutorials on modern OpenGL.
Link to source: https://github.com/emeiri/ogldev/blob...
OpenGL 4.6 specification: https://www.khronos.org/registry/Open...
Feel free to comment below.
Email: [email protected]
Facebook: / ogldev-188319114585587
Github: https://github.com/emeiri/ogldev.git
Twitter: @ogldev
One time donations (Paypal): https://ogldev.org/donate.html
Patreon: / ogldev
Credits:
Image: https://en.wikipedia.org/wiki/Z-fight...
Photo by Alexander Kovalev from Pexels
Images by rwindr and Mohamed Hassan from Pixabay
Video by cottonbro from Pexels
youtube videos: • Top 13 FPS Multiplayer Games for PC i... , • Zelda: Breath of the Wild - GTX 1080 ...
Music: "Creative Minds" from https://bensound.com
Enjoy,
Etay Meiri
#opengl #ogldev #opengtutorials