Jun 07
Sigh
After all that time fixing and re-fixing VectorStorm’s 3D engine stuff during the development of Lord, I just found yet another whopper of a bug in VectorStorm’s 3D projection matrix (the projection matrix is basically used to ‘flatten’ 3D objects into a 2D plane so that they can be drawn to the screen) . This one was causing everything to render stretched horizontally.. more stretched, the more widescreen the window was.
Mental note: tan(halfFOV)*aspectRatio does not equal tan(halfFOV*aspectRatio). (It’s so obvious when you write it out like that, innit?)

June 7th, 2009 at 9:45 pm
The question is have you fixed this newly discovered bug though?
Also trig scares me now (just done a maths test which had some nasty trig questions in).
June 8th, 2009 at 12:40 am
Yup, all fixed now!
I’ve been working on a lot of backend stuff lately. I’ve added water to the terrain, and unless I want to render water as opaque, that exposes a few weaknesses in the rendering engine that I need to address. And I’ve also been working on a couple other invisible engine things in the background, which are extremely exciting for me, but too boring to trouble other people about. At least, until it all comes to fruition. :)
June 8th, 2009 at 8:34 am
Cool, didn’t realise you even looked at water in the terrain.