After yesterday's fun with skyboxes, today I have bitten the bullet and begun the famous renderer reconstruction that I've been talking about for months. This was originally supposed to happen around 1.8.2 or 1.8.3, then got pushed back to 1.9.0, but now I'm bringing it forward.
The objective here is to put everything in the scene through a single unified render path. This render path will be flexible enough to cope with factors such as toggling between HLSL and fixed modes for all object types, and will also incur far less VBO locking/unlocking/switching overhead than what was previously there.
The longer term objective is to enable HLSL on all 3D objects (at least) for the purposes of more speed, more flexibility, and even something as radical and dangerous as bringing back fog! That won't happen until 1.9.0; there's enough to be getting on with at the moment.
All of this sounds ambitious and like a lot of work, but it's not really. I've already ported all of the 2D console, HUD and menu stuff in about one hour, and I'm about to start tackling 3D objects (think I'll start with particles). So far it's running at about the same speed as before, but there are some serious bottlenecks in the 3D render I'm planning on getting rid of.
I'll update further over the next few days on progress as it gets along.
Monday, June 14, 2010
Updates for 14th June 2010
Posted by
mhquake
at
8:23 PM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment