A downloadable ...thing for Windows

Okay haven't uploaded stuff in quite a while, and screwed up Locust's source code in an overhaul... 

So here's something I made 2 years ago to practice linear algebra. It uses all the regular world and projection matrix stuff to render 4D geometries into a 3D image!

Here all the models are made up of tetrahedrons that reflects 4D ray vectors (camera points into a 4D vector too!) The rendered image is (think how 3D images are projected onto a 2D retina) projected into a 3D region and then rendered with primitives. The lighting are 4-vectors reflected from 3D surfaces. (like 3-vector reflecting on 2D surfaces in the 3D world)

The screenshot shows 8 tesseracts rotating along all 4 axes at the same time. It looks different from the wireframe image one usually sees because it is rendered as a 4D solid. It might be correct or wrong, and the obstruction and rendering queue is very very primitive too. If you wish, there's a wireframe mode available in the code.

I am very busy recently (trying to get a graduate school and stuff), so please pardon the simple demo and under-commented codes... I'll try to update them when I have time!

Download

Download
Demo.zip 2 MB
Download
Source Code.zip 5 MB

Comments

Log in with itch.io to leave a comment.

Do you like 

What

You

See?

🔫