📜 ⬆️ ⬇️

How I program in Python

Often, with the start of a new project, the programmer is not able to see the full picture - he does not know where to start, where to get information, how much to get it, and there is a chance to sit down at the documentation for a long time until the desire to do anything disappears. I relatively often do projects “for the soul” in previously unfamiliar areas, for example, I programmed microcontrollers, I made my segway, I designed my own microprocessor on FPGAs, I made plug-ins for Counter-Strike, software for bill acceptors and other projects that were absolutely zero at the start .




')
One of the last was the task of rendering 3d-objects, which is described on habrre in the article habrahabr.ru/post/248153 . I decided to create video lessons on it that describe my approach to solving the problem from scratch. I tried to describe the sequence of my actions as it was in reality, of course, by speeding up some moments and cutting out the places where I used to blunt for about 20 minutes until I figured out where I was nosyachil.

Video tutorials are not intended for beginners, I roughly expect experience from half a year of programming and month 2 of programming in Python (the language is very simple, it learns very quickly). I thought for a long time if the events on the screen did not happen too quickly and if there was not too much information per unit of time, but I came to the conclusion that it was annoying, and if something was not clear, you could pause or rewind.

At the moment I have posted 3 video lessons, 2 more have already been recorded and are being mounted. Github with lessons github.com/ef-end-y/PythonLessons . True, he later realized it and began to lay out only from the 3rd lesson.

Parsim obj file:

Draw a polygon:

Draw a model without depth:


I express my gratitude to haqreu - the author of the article from which I repelled.

Source: https://habr.com/ru/post/302694/


All Articles