Monday 10 June 2013

Monday Progro

Good Editor Work

A good day of coding done and more of the map editor is now working nicely.  Multiple textured segments being drawn, modified and removed. Scrolled out of the visual area then scrolled back, and also LOD working when you pull out to view the whole scene or from first person view, in the distance.

In testing my new code creations, new issues did surface such as not being able to 'delete' in the low LOD regions which was deliberate. I assumed that editing would be done up close in high LOD areas, but I quickly saw myself zooming right out and then painting a monster huge room, which added fine but I could not delete it with the same art tool.  Something for Tuesday's list.

The Long Road

I would probably have done much more code today where it not for a curious detail of everyday development. The actual code changes to fix the above could be done in a few minutes given a super-human brain, but regular humans take a little longer. The issue was not fixing the code, but finding which code was responsible for erroneous data. When that erroneous data is buried deep deep inside a data structure system that needs five minutes of software usage before the issue emerges you find it almost impossible to even remember what you where originally looking for.


To help me on this quest, I used my handy notebook to sketch out a map of all the data as it was being created, so that I could stay oriented as I mined through nests upon nests of indirect data.  Fortunately, persistence and a pen paid off and I was able to enjoy a hassle from map editing experience as the clock tolled 6PM.

Hopefully segment art will appear in the next two weeks which means you will start to see some nice videos of all this boring Technic stuff ;)  Rick is positively leaping up and down for the visual side of things to mature so for those waiting for the eye candy, you have a champion on the inside working for you.

Signing Off

I clocked another two hours this evening to bash down the emails, write this blog, and sort out my wish list for Tuesday.  I did a little work on the shader for the current SAND segment which is the ONLY Reloaded asset for map editing right now. This is in preparation for dropping in a better shader from the new prototype which will eventually furnish the goodies.  Not only will I be exploring deferred rendering in this prototype, but working with Mark to conjure a shader that gives us a great universal set of visual attributes that the whole scene, both static and dynamic can utilise.  Unlike FPSC Classic, we want Reloaded to feel like every pixel belongs in the same scene.

5 comments:

  1. Development is like this a lot. Days where you just have to grind out the work to make stuff work the way you planned. Great to know you squished your bug. Was it a missing semi-colon? :-)

    Rick

    ReplyDelete
  2. It was actually a combination of poor management of my custom made link list array pointers as I added and deleted, and incorrectly amending the buffer tracking values in the instance stamp references. Once I stepped through about fifty nests and drew out what it was doing on paper, I saw where the code behaved differently than I had designed, rinsed and repeated, and came out on top. Staring to look like a map editor again (a very big one). LOD is cool too!

    ReplyDelete
  3. Hi Lee

    Great work on the editor.

    Please keep dynamic shadows in mind as you progress into the deferred rendering prototypes. Whichever lighting system we go with for Reloaded must be able to support dynamic shadows.

    I know you will deliver the best graphics possible for Reloaded but we must tackle this issue before we go too far down the road.

    ReplyDelete
  4. great progress
    even without seein new art
    just reading makes up for that

    btw. did u tought about my question regarding a segment showtool
    with hierachy output?
    well even a diagramm black/ white paper
    might be enough
    as in how the parenting should be done for segments/ entitys and stuff like that

    it wasnt clear if u plan to supply us (backers) with that
    i know rick might have somethin againts it

    ReplyDelete
  5. I had no plans to include a segment creation tool this side of Christmas. I will be editing my own segments using NOTEPAD :) I think such a tool after Christmas is likely as I will be supporting Reloaded every week once released, and helping artists and authors create new content can only be good for the community.

    ReplyDelete