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?)

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).
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.
Cool, didn’t realise you even looked at water in the terrain.