3D Engine banner

3D Engine

4 devlogs
7h 36m 30s

Small 3D engine written in Lua + LÖVE. It handles 3D rendering and player movement. Successor to a previous 3D engine written in C and Raylib.

Repository

Loading README...

acerx.amj

Added wedges and transformations. About it for now.

0
acerx.amj

I made new rectangles easily placeable. You can define their position, size and rotation. And I also added wedges to implement support for other shapes too. Really cool in my opinion.

0
acerx.amj

Made my 3D renderer… render 4 whole cubes! I know, crazy. I had to sort faces and I just took the average Z of the cube and the average Z of the triangles and sorted them that based on those. It’s not a good way to do it but it works and I don’t think it causes any visible artifacts.

0
acerx.amj

Wrote everything to handle a basic 3D cube and player movement. The cube sits still while the player can move around it. This was pretty tricky as LÖVE doesn’t really have a camera, so I offset and rotated the cube manually. Was pretty fun creating all of the components. Not to mention all of the weird visual bugs.

0