3D without a depth buffer

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
User avatar
bakpakin
Party member
Posts: 114
Joined: Sun Mar 15, 2015 9:29 am
Location: Boston

3D without a depth buffer

Post by bakpakin »

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.
Attachments
bspTest.love
(848.67 KiB) Downloaded 165 times
((_((_CRAYOLA_((_((_> GitHub <_((_((_CRAYOLA_((_(()
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 11 guests