I just looked at your projection formula, and it seems really weird, especially when DEPTH is set to higher values. Notice the concave face of the cube on the left. I use
X'=X/Z*ZOOM
Y'=Y/Z*ZOOM
Where ZOOM controls perspective distortion. I usually set it to 256.
cube is coool:> but hypercube is awesome!!! can you make that????
my dream is to see the 4d hypercube spin on my 3DS screen:) go in and out of my screen...
I modified my 3d engine a bit and divided x, y, and z by w before projecting, and this appeared on my screen. It would be in 3D but my virtual parallax barrier looks horrible in screenshots so I turned it off. There was a lot of extrapolating and pattern recognition involved, since I don't know that much about 4D math.