Jump to content
The Dark Mod Forums

Max Map Size?


AluminumHaste
 Share

Recommended Posts

As Komag's video shows very impressively, there is nothing wrong with large outdoor areas in Doom 3 provided that you keep the geometry, shadows and lighting simple.

 

The engine cares far more about the complexity than the physical size, with the exception of AI pathfinding which is based on a fixed-size grid. Komag's island could work very well with decent texturing if there are only one or two lights, hardly any shadows, and few or no AI.

 

Once you get inside the building, if it caused any performance hit I guess you could even kill the sun.

 

My understanding is that provided the entrance to the building is properly visportalled, the exterior light should not be rendered once you are inside a part where it cannot reach.

Link to comment
Share on other sites

The sunlight is one huge parallel light, with a huge ambient light there as well for the shadow areas. And yes, once indoors and past a couple visportals the sunlight wouldn't be rendered so it is effectively "killed". (at least I THINK it should be, but I guess it might possibly behave differently since the interior is entirely within the light radius still!)

shadowdark50.gif keep50.gif
Link to comment
Share on other sites

The main reason I was wondering was someone's (sorry I can't remember who) test of an outdoor area with a barn coming to mind. IIRC they were getting performance problems inside from the sun outside, which led the discussion in the direction of surrounding the whole barn interior with shadow texture... unless I'm misremembering something.

Link to comment
Share on other sites

I believe that for the light culling to work, the interior must (1) be in shadow (hence the possible shadow-texture discussion you mention), and (2) be separated from the outside by two portal areas, such that there is no straight-line path between the inside and the outside that light could take. Doom 3 in this case realises that there is no possible way that light could ever get from the exterior to the interior, and culls the exterior light.

 

It would be interesting to test exactly how this works though, because this discussion has come up several times and I have never been able to give a definitive answer.

Link to comment
Share on other sites

AluminiumHaste, there are too many factors that contribute to what is possible at the extremes, so your best bet is to scale up and down in halves till it starts working.

 

Start with a map that works, and add stuff to it till it crashes. If your'e talking about one giant complex model, then cut it in half till it works. As an extreme example - if you end up with this tiny 3 poly thing and it still crashes, then you know something else is wrong :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recent Status Updates

    • peter_spy

      Deathloop – what a mess of a game. I'd love to see a post-mortem on it some day. I hope Arkane is doing okay though.
      · 12 replies
    • OrbWeaver

      I like house-cleaning and taking out the trash.
      · 1 reply
    • STiFU

      Be honest: Who of you have actually finished Cuphead? This game is freaking tough! It might even be harder than Sekiro. Dark Souls is a joke in comparison to Cuphead! :-D 
      · 8 replies
    • duzenko

      Please, can we finally group the missions by year in the game menu?
      · 6 replies
    • duzenko

      I vaguely recall someone recently complained about two-sided materials (curtains?) not getting lighting from both sides
      I just found a piece of code that's supposed to do just that
      Where was that discussed? (@nbohr1more?)
      · 9 replies
×
×
  • Create New...