Just a little something I made while exploring 3D. It generates a BSP tree to draw polygons without using a depth buffer. Because each polygon has to be drawn separately, this is horribly slow and not practical like LOVE3D, but it was a fun little exercise. You add floors and walls and it generates the bsp tree for you, so you could potentially make this render a complex scene.
The most useful code in here is probably the skybox code, which could stand alone. It works well and turns a single texture into a skybox.
Use WASD to move around, and Q and E to move up and down.
3D without a depth buffer
3D without a depth buffer
- Attachments
-
- bspTest.love
- (848.67 KiB) Downloaded 165 times
((_((_CRAYOLA_((_((_> GitHub <_((_((_CRAYOLA_((_(()
Who is online
Users browsing this forum: Ahrefs [Bot] and 11 guests