graphique3d
All the tp done in graphique3d courses
The number of each folder is the number of the TP.
For example, the 0 folder is the first TP.
TP 1
Add perspective
The axe are : x = length, y = width, z = point to us, at the left bottom corner to stat direct (3 fingers rules)
- Translate the objects to negativ in z
- Add the matrix perspective at the left of matrix multiplications
- perspective(35, 640/480, 0.001, 100) : degree of view, length/width, small number, big number, the interval where objects which are here need to printed
Astuce
tools/helper.py is intended to replace the helper.py of pyassimp (/usr/local/lib/python3.6/site-packages/pyassimp/helper.py)