This is a render of part of a cube using the 3D engine I am developing. Apparently, it is working. Now all I need to do is implement camera rotation. To move, use the sliders. (No instructions)
Credits: @chiru3 (for everything else) Notes: After the failure of the first filled 3D engine, I have decided to make another one, this time with different workings. This is part 2, which is the full engine except you cannot rotate the camera. How it works: First the project translates the entire world such that the observer is at the origin. Then the project clips the triangle such that no part of the resulting polygon is not visible. Then it projects the vertices of the resulting polygon into 2D space. And finally it draws the polygon on the screen! Notes: The only thing I have to do is implement camera rotation now. The previous one was around 1000 blocks, but this one is around 300 blocks so far.