A 3D Rendering Engine

IverMartinson 28c0e7f778 added tri split & shrink culling, edited example scene, updated todo list 5 months ago
.vscode 7ff5edccc0 added rendering & fixed object import bug 5 months ago
build 28c0e7f778 added tri split & shrink culling, edited example scene, updated todo list 5 months ago
objects a5376262a6 new objs, changed example scene, added todo list 5 months ago
src 28c0e7f778 added tri split & shrink culling, edited example scene, updated todo list 5 months ago
textures 50fb6b39a1 updated bill's texture, added floor texture, changed mesh array geometry, changed example scene, moved FOV to scene 5 months ago
Makefile 7ff5edccc0 added rendering & fixed object import bug 5 months ago
dbg 7ff5edccc0 added rendering & fixed object import bug 5 months ago
readme.md 28c0e7f778 added tri split & shrink culling, edited example scene, updated todo list 5 months ago
run a7f22d4dae first commit 5 months ago

readme.md

How to Run?

To run the binary, it needs to be in the same folder as librasteriver.so (if you just cloned the repo then they both should be in the build folder). You also need SDL2 installed (libsdl2-dev)

Todo

[ ] checks for missing references [ ] checks for missing files [ ] debugging [ ] support for 4 side+ polygons in the OBJ parser [ ] support for negative UV and normals in the OBJ parser [ ] .MTL support [ ] save scenes as templates? (files) [ ] fix camera rotation code [ ] fix OBJ parser issue with larger models? (idk, the teapot and gordon both dont work and I don't know why) [x] allow for aspect ratios other than 1:1 [ ] fix strange visual issue that happens when (speculation) a triangle gets culled and split very close to the clipped point [ ] port CPU renderer to GPU