3D Engine & Display Driver

9

McPepic 2022-11-24 00:03 (Edited)

I'm trying again because I really want to try and make a simple 3D game.

Gamepad 1: Move camera
Gamepad 2: Rotate Camera

Update 1: Added sub programs to convert between local and global space using the transform of any object (the camera being one of them). This will later allow me to apply transformations to objects. :)

Update 2: improved clipping, added centroid & normal, set palette of triangles, color based on distance to camera

3D.nx | Open in app
2022-12-04 21:36
3D.nx | Open in app
2022-11-28 16:30
3D.nx | Open in app
2022-11-24 00:03

Awsa 2022-11-24 00:43

How?????
Very cool


McPepic 2022-11-24 01:13

@Awsa
Math. A lot of it. Feel free to look at the source code.
Also, check out: https://en.wikipedia.org/wiki/3D_projection
I referenced this multiple times! :)


Log in to reply.