3D Rotation & Projection using Python / Pygame
Автор: Yuta Akiya
Загружено: 2021-05-27
Просмотров: 43962
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:
https://github.com/yuta5111/3DProjection
References:
https://technology.cpm.org/general/3d...
https://en.wikipedia.org/wiki/Rotatio...
• How to make a 3D projection in Python | Re...
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!
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: