A Day Of Deleting
As you may know the task this time is to finish the map editor editing system and then move swiftly onto some deferred rendering prototypes. Alas.
I made good progress with improving the map deletion code, which was 94% searching and 6% fixing due to insane reproducibles. One example would be use a large radius spray can to spray over an area of 100x100 grid tiles, then return to the initial corner and delete a few segments at random. The bug being that some will not delete. Now try reproducing that exactly so you can trace the hundred fold nests to see what the contents of arrays of floats buried behind double jump reference pointers. It's no picnic!
Some Good News
Even though deferred rendering is now a distant ambition for the weekend, it looks like I am very close to cracking the editor delete stuff and only have some low LOD issues to tackle (they don't go away when the high LOD is in play) and as the delete code only handles high LOD geometry, it makes it look like the tile was not deleted when in fact it's the low LOD I am now looking at.
To be fair though, adding and subtracting from buffers and a cascade of variations was always going to be a tricky one to test and refine, and when you mix in multiple overlapping buffers you know you're in for a world of pain. With a little luck, I can put these glitches on the fixed list and have a working editor come Monday.
Sorry no pictures today but everyone went home and left me with my programmer art hands. I have thrown out a few emails in order to get some content this week so watch this space for the graphical stuff :) For more technical headaches and insights, join me on Monday for more lovely ranting! Also, for the many new users who have subscribed to my YouTube channel, thanks muchly. I would ask though that you direct all your comment questions to the blog so I can answer everything in one place and have a single location for all answers Reloaded flavoured. Thanks again!