So, for the past few weeks, I’ve been working on implementing projections for arbitrary 3D view volumes
my code, and a win32 executable
This demonstration rotates a solid about in space. However, you will quickly notice that it does not do it correctly. Something goes terribly wrong, and the bugger starts to distort. It does eventually come back to normal, so I’m uncertain what is happening. Perhaps it’s the rotation function, buried deep in the dark pits of hell.
I know it’s a lot of code, but I am at my wits end. I spent 12 straight hours completely rewriting the projection code from a week before (luckily it actually does something now). It’s only parallel (orthogonal) projections at this moment. I do have code for perspective, however I’m fairly certain it is more broken than my bank account. Any advice would be appreciated.