The code demonstrates the following:
1. Usage of matrix math for transforming, rotating, and scaling points.
2. Logic for converting triangles in three-dimensional space to perspective 2D.
3. “Mouse Look” camera logic.
4. Parsing an OBJ file (representing a 3D model).
It looks good, 3D stuff can get verbose very quickly. Perhaps move some of
those magic numbers out into constants (near = 3000.0 for example) to make
adjustment easier in the future. Nothing big
Onward with back (hidden) surface culling and colouring / texturing
···
On Mon, 18 Apr 2022 at 01:32, Amir Rajan <ar@amirrajan.net> wrote:
The code demonstrates the following:
1. Usage of matrix math for transforming, rotating, and scaling points.
2. Logic for converting triangles in three-dimensional space to
perspective 2D.
3. “Mouse Look” camera logic.
4. Parsing an OBJ file (representing a 3D model).
It looks good, 3D stuff can get verbose very quickly. Perhaps move some of
those magic numbers out into constants (near = 3000.0 for example) to
make adjustment easier in the future. Nothing big
Onward with back (hidden) surface culling and colouring / texturing
On Mon, 18 Apr 2022 at 01:32, Amir Rajan <ar@amirrajan.net> wrote:
The code demonstrates the following:
1. Usage of matrix math for transforming, rotating, and scaling points.
2. Logic for converting triangles in three-dimensional space to
perspective 2D.
3. “Mouse Look” camera logic.
4. Parsing an OBJ file (representing a 3D model).
* Amir Rajan
** PS
I welcome VSRE emails. Learn more at http://vsre.info/.
** PPS
I reply to every legitimate email I get. So, if you don't hear from me
within a week. Email me again since there's a high chance that the email
got lost in my inbox.