filmov
tv
3D Rotation & Projection using Python / Pygame

Показать описание
This video was inspired by pythonista's 3D projection video. Link is included in the references section below.
In this tutorial I go over the math behind 3d projection/rotation and write code to display the projection of a rotated cube onto a pygame window.
If you followed the tutorial fully, thank you! You can also try creating your own 3-D points by making a new list of 3-d coordinates and iterating through those points instead of the points in cube_points! (ex. try a pyramid shape!)
Source Code:
References:
Chapters:
0:00 Introduction
0:17 Projection and Rotation Math
6:35 Coding
24:03 Conclusion
Disclaimer: I do not claim that I am 100% correct in everything that I say in my videos. I would never intentionally misinform my viewers but mistakes can happen. Keep in mind that I am not a professional. Please let me know if there is any misinformation in my video and I will make sure to fix it. Thanks!
In this tutorial I go over the math behind 3d projection/rotation and write code to display the projection of a rotated cube onto a pygame window.
If you followed the tutorial fully, thank you! You can also try creating your own 3-D points by making a new list of 3-d coordinates and iterating through those points instead of the points in cube_points! (ex. try a pyramid shape!)
Source Code:
References:
Chapters:
0:00 Introduction
0:17 Projection and Rotation Math
6:35 Coding
24:03 Conclusion
Disclaimer: I do not claim that I am 100% correct in everything that I say in my videos. I would never intentionally misinform my viewers but mistakes can happen. Keep in mind that I am not a professional. Please let me know if there is any misinformation in my video and I will make sure to fix it. Thanks!
Комментарии