Leaf Portal Saw Into Leaf And Hl Crashes?!

ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
ok i have a map which crashes hl everytime i run it.
the first rendered frame will destroy hl.
BSP generation successful, writing portal file 'e:\hl\hammer\maps\b227.prt'
51.42 seconds elapsed
----- END hlbsp -----

** Executing...
** Command: e:\hl\hammer\ZHLT\hlvis.exe
** Parameters: "e:\hl\hammer\maps\b227" -low -fast

g_fastvis = true
hlvis v2.5.3 rel Custom Build 1.7p3 (Feb 21 2003)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlvis -----
Command line: e:\hl\hammer\ZHLT\hlvis.exe e:\hl\hammer\maps\b227 -low -fast
2557 portalleafs
7073 numportals

-= Current hlvis Settings =-
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
max vis distance [ 0 ] [ 0 ]
priority [ Low ] [ Normal ]

fast vis [ on ] [ off ]
full vis [ off ] [ off ]


BasePortalVis:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (42.87 seconds)
Warning: Leaf portals saw into leaf
Problem at portal between leaves 964 and 961:
(-2648.000 -288.000 -736.000)
(-2648.000 -128.000 -736.000)
(-2648.000 -128.000 -736.000)
(-2616.000 -160.000 -688.000)
(-2616.000 -256.000 -688.000)

Warning: Leaf portals saw into leaf
Problem at portal between leaves 1752 and 1753:
(-2086.000 -838.000 -715.000)
(-2085.333 -840.000 -716.000)
(-2084.800 -841.600 -718.000)
(-2084.800 -841.600 -784.000)
(-2086.000 -838.000 -784.000)

Warning: Leaf portals saw into leaf
Problem at portal between leaves 2243 and 2241:
(-1280.000 -2816.000 -232.000)
(-1246.807 -2891.920 -232.000)
(-1111.559 -2945.069 -461.623)
(-1111.859 -2944.000 -461.965)
(-1161.739 -2816.000 -474.435)

average leafs visible: 749
g_visdatasize:369343 compressed from 818240
43.38 seconds elapsed

----- END hlvis -----

<span style='font-size:8pt;line-height:100%'> </span>

then i optimize
(see pic)
no errors and hl crashes same place every time.
WILL those 3 warnings crash hl?

Comments

  • OlljOllj our themepark-stalking nightmare Fade Join Date: 2002-12-12 Member: 10696Members
    edited March 2003
    the third leaf portal has a large z distance.
    so your hall of mirrors is HIGHer as an onos (230 - 460) !

    the (x,y,z) coordinates are the corners of a face between 2 leafes.

    go to (-1200 , -2800 , -300) (=lower left) and decrease the level detail there, transform stuff into brush-entities, make less curved surfaces, make surfaces of 2 objects beeing in the same "plane".
    If you dont want to change the architecture you can use clip brushes wisely to tell the compiler how to make leafes correctly... (this might invrease VIS and RAD time much!)
  • SpiderSpider Join Date: 2002-12-15 Member: 10874Members
    Also, another cause of the "Leaf portals saw into leaf" error is if you have applied the 'clip' texture to any entities. I encounterd this problem early on in my mapping and it was relatively simple to fix. Just think of any clip brushes you have added recently and check them all out to see if they are entities. If they are then simply change them back to normal brushes. But it may just be that your brushwork is too complex in some places and need to be toned down.
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    yeah but will it cause hl to crash?
  • OlljOllj our themepark-stalking nightmare Fade Join Date: 2002-12-12 Member: 10696Members
    edited March 2003
    If you see no other error messages fix the known errors first ... vodoo comes later.
    what did u change since the last working version?
    EVERY ns specific entity can cause werid crashes.
  • tommy14tommy14 Join Date: 2002-11-15 Member: 8839Members
    this may apply -> <a href='http://www.slackiller.com/tommy14/errors.htm#leafsaw' target='_blank'>http://www.slackiller.com/tommy14/errors.htm#leafsaw</a>
  • FrizzledFrizzled Join Date: 2002-11-02 Member: 4424Members
    confused! -

    "portal saw into leaf" will ALWAYS cause HL to crash ... what this means, in essence, is that you've created something that is physically impossible for the engine to render, either by vertix manipulation, clipping, etc.

    the easiest fix is just to save the map, then start deleting brushes around the area of the errors (using the x,y,z coords listed) ... once you pin-point the problem-brush you can reload your original just just delete those.

    deleting the brushes that are causing this is usually the easiest fix ... then just redo those brushes,
    _f
  • OlljOllj our themepark-stalking nightmare Fade Join Date: 2002-12-12 Member: 10696Members
    edited March 2003
    I have always 3-5 "leaf portals saw into leaf" and the map runs fine...
    Can even watch them ingame without big problems.

    <span style='color:white'>Be nice. There are numerous tutorials out there which state just what he said.</span>
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    edited March 2007
    well i think my rmf is simply ****ed up
    i cut everything except the ready room and it still crashed
    unless i have an old version of xp cageys tools.

    so im gonna put it in a new file
    and re dpownload tools

    i finally found teh error log <img src="style_emoticons/<#EMO_DIR#>/smile-fix.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile-fix.gif" />


    <!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->

    Application exception occurred:
    ? ? ? ?App: ?(pid=1504)
    ? ? ? ?When: 3/29/2003 @ 17:15:43.518
    ? ? ? ?Exception number: c0000005 (access violation)

    *----> System Information <----*
    ? ? ? ?Computer Name: RABID-WOMBAT
    ? ? ? ?User Name: Administrator
    ? ? ? ?Number of Processors: 1
    ? ? ? ?Processor Type: x86 Family 6 Model 6 Stepping 2
    ? ? ? ?Windows 2000 Version: 5.0
    ? ? ? ?Current Build: 2195
    ? ? ? ?Service Pack: 3
    ? ? ? ?Current Type: Uniprocessor Free
    ? ? ? ?Registered Organization: none
    ? ? ? ?Registered Owner: lee



    function: NtWaitForSingleObject
    ? ? ? ?77f88e68 b8ea000000 ? ? ? mov ? ? eax,0xea
    ? ? ? ?77f88e6d 8d542404 ? ? ? ? lea ? ? edx,[esp+0x4] ? ? ? ? ?ss:08c1d537=fffffeff
    ? ? ? ?77f88e71 cd2e ? ? ? ? ? ? int ? ? 2e
    ? ? ? ?77f88e73 c20c00 ? ? ? ? ? ret ? ? 0xc
    ? ? ? ?77f88e76 8bff ? ? ? ? ? ? mov ? ? edi,edi

    *----> Stack Back Trace <----*

    FramePtr ReturnAd Param#1 ?Param#2 ?Param#3 ?Param#4 ?Function Name
    0819FF88 77E8B32B 000000EC FFFFFFFF 00000000 00464EEA ntdll!NtWaitForSingleObject
    77E8B31C 74FF0C24 99E80C24 C20001E7 8B550008 68FF6AEC kernel32!WaitForSingleObject
    74FF006A 00000000 00000000 00000000 00000000 00000000 <nosymbols>
    <!--c2--></div><!--ec2-->
  • JedediahJedediah Join Date: 2003-01-27 Member: 12847Members
    "Leafs" are the convex spaces that hlvis divides your map into. The boundaries of these spaces are either opaque faces or "portals" which connect to other leafs. "Leaf portal saw into leaf" means that one of the portals of a leaf saw into it's own leaf which is impossible if the leaf is a convex space. It is possible to decompose any hull into convex pieces but evidently, hlbsp doesn't handle all cases which is why you get these errors. I'm curious which specific cases these are.
  • tommy14tommy14 Join Date: 2002-11-15 Member: 8839Members
    <!--QuoteBegin--Frizzled+Mar 29 2003, 02:06 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Frizzled @ Mar 29 2003, 02:06 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> confused! -

    "portal saw into leaf" will ALWAYS cause HL to crash ... what this means, in essence, is that you've created something that is physically impossible for the engine to render, either by vertix manipulation, clipping, etc. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    not quite right - i think you are confusing concave bad brushes with leafsaw errors. true, sometimes leafsaws are from concavitys and cause crashes; but also sometimes they are just floating point errors and will cause only minor lag additions within that leaf.

    so you don't HAVE to go postal at a leaf saw, but feel free to if you want to! <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • BlackPantherBlackPanther Join Date: 2002-02-11 Member: 197Members
    IT's a hard error to get by.
    I usually redo the whole area where it gave me the error, little by little and compiling each time.
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    I FIXED IT!@!@!

    i have been wasting my godamn life trying to solve the problem for 3 days then i decided to plaay and ran hera and the same thing happened reintalled hl = ns and it works happ happy joy joy
Sign In or Register to comment.