Another little question (sealing the map with nodraw)

Discussion in 'Mapping Questions & Discussion' started by luxatile, Jul 18, 2008.

  1. luxatile

    aa luxatile deer

    Messages:
    2,289
    Positive Ratings:
    1,349
    I've been trying to seal up my map with nodraw brushes (under displacements and such) to prevent leaks for a couple of hours now, and I just realised what a huge mess it is. I'm not even done yet, so naturally I want a faster solution. I'm wondering if just putting everything inside a huge nodraw-textured box will do the trick?

    I never considered this before because I thought it would rape my map's performance, but then I read this on the Valve wiki...

    ...Which means that I could put my map inside a nodraw box without any negative consequences.

    I want to ask you guys first, because I think it sounds a bit suspicious...maybe I'm reading it wrong too. Anyway, the question is simple: Will this method of sealing my map actually work, or should I just take the punishment Hammer is treating me to?
     
  2. Spacemonkeynz

    Spacemonkeynz L5: Dapper Member

    Messages:
    234
    Positive Ratings:
    52
    No

    nodraw itself has no additional rendering cost, but it you made a big box around the map, then the outside of your brushes (which the players never see) will be drawn and cause bad performance.

    Plus hammer will create visportals for all that 'outside' area and perform vis calculations, which will increase your compile time by lots, and further decrease performance.


    If the maps a mess for you, then it's even more of a mess for the vis calculations, which is not good.

    I find the best way to work on sealing the map, if to disable fun_detail and displacements in the visgroups, everything apart from 'world geometry'. This will leave only the parts of your map the effect the visibility calculations. Then you can easily see what needs to be done.
     
    • Thanks Thanks x 1
    Last edited: Jul 18, 2008
  3. luxatile

    aa luxatile deer

    Messages:
    2,289
    Positive Ratings:
    1,349
    Alright, thanks for the help. I'll try that last method.