Demystifying Camera Placement in OpenGL: Understanding the Camera's Position in 3D Graphics

Опубликовано: 18 Февраль 2026
на канале: OGLDEV
8,929
246

In this video I answer a few questions that I got from viewers on the camera tutorials.

Timecodes:
0:00 Intro
0:30 Question #1: does the camera have world coordinates or is it located at the origin?
6:48 Question #2: if the camera is in the world then how do we place it there?
7:49 Question #3: how do we set the camera to point to the positive or the negative Z axis?
10:10 Conclusion

Perspective projection for right handed coordinate systems: http://www.songho.ca/opengl/gl_projec...

🔥 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!).

Make sure to watch all the previous tutorials in the "OpenGL For Beginners" playlist at    • All OpenGL Tutorials  

Please visit https://ogldev.org to see more of my tutorials on modern OpenGL.

Link to source: https://github.com/emeiri/ogldev/
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:
Far Cry 6 gameplay by DoMiOnPc (   • Far Cry 6! -  (PC) Gameplay RX 5700 XT (Ma...  )
Image by Clker-Free-Vector-Images from Pixabay (https://pixabay.com/vectors/city-wall...)
Images by Rachealmarie from Pixabay (https://pixabay.com/illustrations/din..., https://pixabay.com/illustrations/cre...)
Image by Clker-Free-Vector-Images from Pixabay (https://pixabay.com/vectors/superhero...)
Video by Stefan Kwiecinski from Pexels (https://www.pexels.com/video/colorful...)
Image by Clker-Free-Vector-Images from Pixabay (https://pixabay.com/vectors/thinker-t...)

Enjoy,

Etay Meiri

#opengl #ogldev #opengtutorials