Instancing and why

So if you haven’t already heard, we are trying out a new technique for populating un-populated areas in our game world.  It’s not new to the industry I am sure, but it sure is new to us.  Object instancing.  The idea is to help with memory management and performance.

Oh yeah, fun stuff there.  The concept is that we build one object, embedded in that object is a bounding box marker that is the actual object that gets placed in our world.  Either on the original DEM data terrain, on replacement tiles, or in actual separate objects that get placed on either one.  So far, it’s turning out to be a pain in the ass (much like anything new).  The damn things like to terrainize to the original DEM data elevations which would be fine if that’s all we used.  Unfortunately in the case of replacement tiles, we have extra elevation build up that the instancing stuff just doesn’t care about.  Buried telephone poles, static vehicles, etc.  Fortunately I haven’t had to mess with it too much, Granik and Dekard have the privilege of doing that.  I am sure I will have to muddle with it sooner or later though.  Here’s hoping that Jeager gets it figured out.

6 Responses to “Instancing and why” »»

  1. Comment by mwhitman | 07/30/09 at 3:01 pm

    Interesting concept.

  2. Comment by soloje | 07/31/09 at 5:31 am

    Could be cool to populate free land area with some farmhouse, stonewall or others objects like that.

    anyway good news

  3. Comment by JWilly | 08/01/09 at 4:27 pm

    All this stuff is a lot easier when you’re on the outside and just assume that stuff works the way you think would be easiest.

    I had assumed single semi-persistent memory loading of terrain related objects all along.

    Another concept that would be easy in my imagination would be objects having one or more parametric properties, with a lookup table for potential values and the control-parameter based on some characteristic of the address.

    Thus a given object texture could vary in appearance for two side-by-side uses, and all the towns would look different. Buildings and other objects could have business-name signs, and no two would be alike. Streetsigns would be in German in Germany, etc.

  4. Comment by Beulah | 08/30/09 at 12:57 pm

    Perhaps this is not a new idea in the industry, but it will be new to you. I do not think that this concept will confuse you with her very easy to handle.

  5. Comment by Easting | 08/31/09 at 8:21 pm

    Not related to the post, but thanks for the boner. Ragdoll physics!?!? SICK brotha!

  6. Comment by mwhitman | 09/01/09 at 2:33 pm

    Yep, he did well to keep that one quiet.

    Nice work, keep it up.

Leave a Reply »»