17 Commits

Author SHA1 Message Date
9ea6587bdf Initial texture mapping implementation.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-03 11:12:04 +00:00
f70e1a4dbe Starting of texture mapping to 3D coords 2021-11-03 17:11:30 +09:00
edbd25ff2a Remove missing triangles bug from screen edge clipping. 2021-11-03 09:36:45 +09:00
9e6537c8b2 Edge screen clipping. 2021-11-03 09:26:32 +09:00
c016c613aa Fix missing rendered face with plane clipping. 2021-11-03 08:53:32 +09:00
2e86db49f2 Pass by value instead of pass by reference for arrays right now....bugs out.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-02 20:43:12 +00:00
129d0e71b1 Fixing display bugs.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-02 19:42:30 +00:00
344e91502d Fixed triangle rasterizing sorting algorithm.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-02 17:10:14 +00:00
7b0467cc5d Refactor and create helper utility functions.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-02 16:36:10 +00:00
9601cb9133 Remove all references to external dependencies.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-02 15:50:28 +00:00
8f7d77dfa8 OBJ File reader implementation.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-02 15:34:20 +00:00
baec7c6f38 rasterizer hack.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-02 15:05:25 +00:00
cd6dd3217a Render simple shading via normals and provide a wireframe mode if necessary.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-02 14:43:10 +00:00
a4e7731412 Draw a cube with culling.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-02 13:33:53 +00:00
9e324be3e2 Draw a rotating 3D cube. 2021-11-02 09:41:33 +09:00
0bb1e490c3 Start from scratch. 2021-11-02 07:49:03 +09:00
b7e570dd5f Move 3D raytracing engine to new project. 2021-11-01 20:46:38 +00:00