Leaf Portal Saw Into Leaf And Hl Crashes?!
Confused
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?
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
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!)
what did u change since the last working version?
EVERY ns specific entity can cause werid crashes.
"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
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>
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-->
"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-->
I usually redo the whole area where it gave me the error, little by little and compiling each time.
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