Hl Limits : Maxplanes And Maxclipnodes

mateomateo Join Date: 2003-04-08 Member: 15320Members, Constellation
Hello,

I'd like to know what are really the HL limits.
The map my team is making is using a lot of polygons (of course wpolys are low, but the map is quite big).
So, with just a part of the map (around 1/3) we are using 50 % of the maxplanes and 50% of the maxclipnodes.

I've heard of the XP Cagey tools, but will they really help us in this case. Will the server lag if there are a lot of polygons in the map ?

I just need some help of persons who understand how HL works in this case. (Maybe coders)

Thanks <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->

Comments

  • OlljOllj our themepark-stalking nightmare Fade Join Date: 2002-12-12 Member: 10696Members
    edited May 2003
    "-chart" compile parameter in CSG BSP VIS RAD shows you how far you are to the limits of your comiler.
    XP`s compilers have way higher limits and are recomendet for NL mapping (and are faster).
    They set the plane limit to "almost infinite", increase clipnode limit a bit and make clipnodes way better (no skulk gets stuck on a wall-border anymore.

    The r_speed tells you the render speed of a client (depending on visible polygons) wich can only cause lag on a non dedicated server. Mapping guidelines set the limits at 700 and 1000 for comm view.
    When you have a large map your biggest problem is the leaf limit. Leafes are invisible blocks that fill all the visible volume of your map.
    Another problem is that you can place more stuff in a big map wich can exhaust the server more.
  • auslanderauslander Join Date: 2003-04-18 Member: 15635Members
    speaking of clipnodes...is there a primer or tutorial on how/why/when to use clipnodes?
  • ChromeAngelChromeAngel Join Date: 2002-01-24 Member: 14Members, NS1 Playtester, Contributor
    edited May 2003
    I think you mean Clip brushes auslander, in which case try <a href='http://www.planetfortress.com/clanbsp/tuts/brush1.htm' target='_blank'>this</a>. Clip <b>brushes</b> can REDUCE the number of clip <b>nodes</b> by simplifing the space that players can move around in (clip nodes being used by HL to describe where players can move). Clip nodes are created automaticlly as part of the compiling process.
  • CageyCagey Ex-Unknown Worlds Programmer Join Date: 2002-11-15 Member: 8829Members, Retired Developer, NS1 Playtester, Constellation
    <!--QuoteBegin--auslander+May 7 2003, 01:07 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (auslander @ May 7 2003, 01:07 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->speaking of clipnodes...is there a primer or tutorial on how/why/when to use clipnodes?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    I talk a little bit about what clipping is from an engine perspective and what my tools actually are doing <a href='http://xp-cagey.com/articles/clip_hull' target='_blank'>here</a>.
  • auslanderauslander Join Date: 2003-04-18 Member: 15635Members
    <!--QuoteBegin--ChromeAngel+May 7 2003, 04:26 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (ChromeAngel @ May 7 2003, 04:26 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I think you mean Clip brushes auslander, in which case try <a href='http://www.planetfortress.com/clanbsp/tuts/brush1.htm' target='_blank'>this</a>.  Clip <b>brushes</b> can REDUCE the number of clip <b>nodes</b> by simplifing the space that players can move around in (clip nodes being used by HL to describe where players can move).  Clip nodes are created automaticlly as part of the compiling process.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    excellent laymans description of clip BRUSHES <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->. thanks for pointing it out.
  • auslanderauslander Join Date: 2003-04-18 Member: 15635Members
    <!--QuoteBegin--XP-Cagey+May 7 2003, 06:18 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (XP-Cagey @ May 7 2003, 06:18 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--auslander+May 7 2003, 01:07 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (auslander @ May 7 2003, 01:07 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->speaking of clipnodes...is there a primer or tutorial on how/why/when to use clipnodes?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    I talk a little bit about what clipping is from an engine perspective and what my tools actually are doing <a href='http://xp-cagey.com/articles/clip_hull' target='_blank'>here</a>. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    excellent technical description of clip BRUSHES <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> hehe

    got the simple and the technical, best of both worlds...

    now after reading both links i have a question.

    do *I* have to worry about my creating my own clip brushes on walls, objects, etc, since it sounds like it is handled when compiling the map (I'm already using your tools XP-Cagey).

    Is there a situation when the clipping that is done when compiling is not enough?

    Thanks.
  • CageyCagey Ex-Unknown Worlds Programmer Join Date: 2002-11-15 Member: 8829Members, Retired Developer, NS1 Playtester, Constellation
    edited May 2003
    <!--QuoteBegin--auslander+May 8 2003, 12:38 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (auslander @ May 8 2003, 12:38 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--XP-Cagey+May 7 2003, 06:18 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (XP-Cagey @ May 7 2003, 06:18 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--auslander+May 7 2003, 01:07 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (auslander @ May 7 2003, 01:07 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->speaking of clipnodes...is there a primer or tutorial on how/why/when to use clipnodes?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    I talk a little bit about what clipping is from an engine perspective and what my tools actually are doing <a href='http://xp-cagey.com/articles/clip_hull' target='_blank'>here</a>. <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    excellent technical description of clip BRUSHES <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> hehe

    got the simple and the technical, best of both worlds...

    now after reading both links i have a question.

    do *I* have to worry about my creating my own clip brushes on walls, objects, etc, since it sounds like it is handled when compiling the map (I'm already using your tools XP-Cagey).

    Is there a situation when the clipping that is done when compiling is not enough?

    Thanks. <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    <i>EDIT: No, you should be fine 99% of the time without worrying about clip brushes <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--></i>

    The difference between a clip brush and a normal brush is what happens with the vis hull -- every normal brush makes a clip brush copy of itself for the other three hulls (not entirely accurate, but close enough). In recent copies of the tools, sky brushes also generate clip information unless you tell the compiler otherwise--the other link's information might predate that change.

    With the updated clipping code, the automatically generated clipping ought to be enough for most levels -- if there is a really complex object like the desk lamp in the other tutorial, using a clip brush will help your final clipnode count, but it isn't as critical as it used to be.

    I use clip brushes for cases where I want to smooth out corners (like the desk lamp example with angled sides in that other link) for most of my mapping. Skulks can't walk on clip brushes, though, so I don't use them as much in NS mapping.
  • mateomateo Join Date: 2003-04-08 Member: 15320Members, Constellation
    Well, is there a way to modify the clipnodes limit ?
  • CageyCagey Ex-Unknown Worlds Programmer Join Date: 2002-11-15 Member: 8829Members, Retired Developer, NS1 Playtester, Constellation
    <!--QuoteBegin--M@teo21+May 9 2003, 07:27 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (M@teo21 @ May 9 2003, 07:27 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Well, is there a way to modify the clipnodes limit ? <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    It's hardcoded into the .bsp format as a 16 bit unsigned integer (64K - 1 = 65535 max clipnodes). Valve would have to change the file format (including the Half-Life code that reads the format) before the number could be raised.

    There might be some more I can do to lower the clipnode count for existing geometry -- I have one idea that would at worst leave the map unchanged but could potentially lower the count (like opt_plns lowering the planes count, but not as significant a change).
Sign In or Register to comment.