Jump to content
The Dark Mod Forums

Max Map Size?


AluminumHaste

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.

  • Recent Status Updates

    • Ansome

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 1 reply
    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
×
×
  • Create New...