Demystifying Camera Placement in OpenGL: Understanding the Camera's Position in 3D Graphics
5.2 هزار بار بازدید -
3 سال پیش
-
In this video I answer
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: www.songho.ca/opengl/gl_projectionmatrix.html
Make sure to watch all the previous tutorials in the "OpenGL For Beginners" playlist at • OpenGL for Beginners
Please visit ogldev.org/ to see more of my tutorials on modern OpenGL.
Link to source: github.com/emeiri/ogldev/
OpenGL 4.6 specification: www.khronos.org/registry/OpenGL/specs/gl/glspec46.…
Feel free to comment below.
Email: [email protected]
Facebook: www.facebook.com/Ogldev-188319114585587
GIthub: github.com/emeiri/ogldev.git
Twitter: @ogldev
One time donations (Paypal): ogldev.org/donate.html
Patreon: www.patreon.com/ogldev
My gear (Amazon affiliate links):
Camera - Canon EOS M50: amzn.to/3duVIOh
Camera mic - Rode Videomic: amzn.to/3dsGVDs
Desktop mic - Rode NT-USB-Mini: amzn.to/3giMoif
Credits:
Far Cry 6 gameplay by DoMiOnPc ( • Far Cry 6! - (PC) Gameplay RX 5700 X... )
Image by Clker-Free-Vector-Images from Pixabay (pixabay.com/vectors/city-wall-buildings-architectu…)
Images by Rachealmarie from Pixabay (pixabay.com/illustrations/dinokonda-snake-monster-…, pixabay.com/illustrations/creature-fantasy-charact…)
Image by Clker-Free-Vector-Images from Pixabay (pixabay.com/vectors/superhero-superman-super-hero-…)
Video by Stefan Kwiecinski from Pexels (www.pexels.com/video/colorful-keyboard-lights-9796…)
Image by Clker-Free-Vector-Images from Pixabay (pixabay.com/vectors/thinker-thinking-person-idea-2…)
Enjoy,
Etay Meiri
#opengl #ogldev #opengtutorials
3 سال پیش
در تاریخ 1400/09/21 منتشر شده
است.
5,202
بـار بازدید شده