34 Commits

Author SHA1 Message Date
234520ced4 Improvements to rendering speeds. 2021-11-07 05:43:24 +09:00
8e0af6413e Profiler togling. 2021-11-07 01:09:55 +09:00
87c2c555b8 Per-side texturing and textures loaded in. 2021-11-06 08:48:20 +09:00
6c0b5ccd32 Add block type definitions for texture types. 2021-11-06 08:00:51 +09:00
c8a62a8e83 Setup Texture Types. 2021-11-06 06:49:18 +09:00
1865a973e7 Block click detection. 2021-11-05 22:57:01 +09:00
a99f5a81e3 Optimized texture pixel getting. 2021-11-05 22:30:00 +09:00
16e2b942bb Make sure untextured surfaces still read properly.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-04 13:35:30 +00:00
fb007ad472 Do not render faces that are on the "insides" of a structure.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-04 11:50:53 +00:00
c39412e144 Many blocks.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-03 20:40:32 +00:00
7aaa75d5a5 Experimentation with distance-based camera lighting.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-03 20:24:00 +00:00
1ce63d60a2 Include a depth buffer.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-03 15:15:02 +00:00
562ae07307 Use model loading code. 2021-11-03 14:32:29 +00:00
0192ab1ebe Textured cube with model loading.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-03 14:31:48 +00:00
aade867128 Texture lighting / color configuration.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-03 13:54:04 +00:00
482d512433 Fixed Texture coordinates to account for perspective.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-03 12:41:54 +00:00
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
dfe6210836 Include a sample teapot.
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
2021-11-02 15:51:06 +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