https://wiki.thedarkmod.com/index.php?title=Visportals&feed=atom&action=historyVisportals - Revision history2024-03-29T10:33:38ZRevision history for this page on the wikiMediaWiki 1.39.5https://wiki.thedarkmod.com/index.php?title=Visportals&diff=28736&oldid=prevOrbWeaver: Update troubleshooting section with minor formatting and mention DR's ability to load the pointfile without renaming.2021-10-20T19:41:26Z<p>Update troubleshooting section with minor formatting and mention DR's ability to load the pointfile without renaming.</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 19:41, 20 October 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l192">Line 192:</td>
<td colspan="2" class="diff-lineno">Line 192:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*# dmap_fixBrushOpacityFirstSide 0</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*# dmap_fixBrushOpacityFirstSide 0</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>== <del style="font-weight: bold; text-decoration: none;">Trouble-shooting </del>==</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>== <ins style="font-weight: bold; text-decoration: none;">Troubleshooting </ins>==</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Starting from TDM 2.08, dmap provides several useful diagnostics for visportalling problems. Every visportal with a problem is reported to the game console as a warning. You might want to [[Reporting Problem#condump|enable logFile]] to make it easier to read the whole dmap output. Aside from that, most warnings are accompanied by .lin files (generated near your .map), which can be viewed in DR.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Starting from TDM 2.08, dmap provides several useful diagnostics for visportalling problems. Every visportal with a problem is reported to the game console as a warning. You might want to [[Reporting Problem#condump|enable logFile]] to make it easier to read the whole dmap output. Aside from that, most warnings are accompanied by .lin files (generated near your .map), which can be viewed in DR.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Below you can see the different types of warnings produced by dmap.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Below you can see the different types of warnings produced by dmap.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">;<tt>Portal %d at (%s) dropped</tt></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">: The mentioned visportal does not separate the space into two isolated areas. This is usually called "internal leak". Such visportal is dropped because it appears to be fully contained in one visleaf, while every visportal must separate two different visleafs from each other.</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">:Remember, the visportal face must be surrounded by opaque worldspawn brushes. Entities have no effect on visportals and visleafs, and brushes with any nodraw material are also ignored. If brief inspection does not help, load the .lin file in DR: it shows a closed path passing through the visportal which is not blocked by anything. In order to make visportal functional, you must block this path at least somewhere: the exact understanding of what went wrong and how to fix it is up to you.</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><tt>Portal %d at (%s) dropped</tt>: <del style="font-weight: bold; text-decoration: none;">The mentioned visportal does not separate the space into two isolated areas. </del>This is <del style="font-weight: bold; text-decoration: none;">usually called </del>"<del style="font-weight: bold; text-decoration: none;">internal leak</del>". <del style="font-weight: bold; text-decoration: none;">Such </del>visportal <del style="font-weight: bold; text-decoration: none;">is dropped because it appears to be </del>fully <del style="font-weight: bold; text-decoration: none;">contained </del>in <del style="font-weight: bold; text-decoration: none;">one visleaf, while every visportal must separate two different visleafs from each </del>other.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">;</ins><tt>Portal %d at (%s) dropped <ins style="font-weight: bold; text-decoration: none;">as leaky</ins></tt></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">Remember, </del>the visportal <del style="font-weight: bold; text-decoration: none;">face must be surrounded by opaque worldspawn brushes. Entities have no effect on visportals and visleafs</del>, <del style="font-weight: bold; text-decoration: none;">and brushes with any nodraw material are also ignored. If brief inspection does not help</del>, <del style="font-weight: bold; text-decoration: none;">load the </del>.<del style="font-weight: bold; text-decoration: none;">lin file in DR: it shows a closed path passing through the visportal which is not blocked by anything</del>. <del style="font-weight: bold; text-decoration: none;">In order to make visportal functional, you must block this path at least somewhere: the exact understanding of what went wrong and how to fix </del>it <del style="font-weight: bold; text-decoration: none;">is up to you</del>.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:This is <ins style="font-weight: bold; text-decoration: none;">popular subcase of </ins>"<ins style="font-weight: bold; text-decoration: none;">dropped</ins>" <ins style="font-weight: bold; text-decoration: none;">warning, implemented in TDM 2.10</ins>.</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">:A proper </ins>visportal <ins style="font-weight: bold; text-decoration: none;">must have all of its boundary edges </ins>fully in <ins style="font-weight: bold; text-decoration: none;">contact with opaque geometry or </ins>other <ins style="font-weight: bold; text-decoration: none;">visportals. You should see "as leaky" clarification when this rule is broken</ins>.</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">:To fix </ins>the visportal, <ins style="font-weight: bold; text-decoration: none;">inspect its boundary</ins>, <ins style="font-weight: bold; text-decoration: none;">i</ins>.<ins style="font-weight: bold; text-decoration: none;">e</ins>. <ins style="font-weight: bold; text-decoration: none;">where </ins>it <ins style="font-weight: bold; text-decoration: none;">touches solid geometry</ins>.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"><tt>Portal %d at (%s) </del>dropped as leaky<del style="font-weight: bold; text-decoration: none;"></tt>: </del>This <del style="font-weight: bold; text-decoration: none;">is popular subcase of "</del>dropped<del style="font-weight: bold; text-decoration: none;">" warning, implemented in TDM 2</del>.<del style="font-weight: bold; text-decoration: none;">10</del>.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">: '''TIPS:''' If you have any portals "</ins>dropped as leaky<ins style="font-weight: bold; text-decoration: none;">", save yourself some time by correcting them first. </ins>This <ins style="font-weight: bold; text-decoration: none;">will often stop other (good) visportals from being </ins>dropped. <ins style="font-weight: bold; text-decoration: none;">The </ins>.<ins style="font-weight: bold; text-decoration: none;">lin file discussed below will often show you exactly where the </ins>boundary <ins style="font-weight: bold; text-decoration: none;">problem is</ins>. <ins style="font-weight: bold; text-decoration: none;">Be aware that occasionally you may find a "dropped" portal that </ins>should <ins style="font-weight: bold; text-decoration: none;">have been tagged </ins>"<ins style="font-weight: bold; text-decoration: none;">dropped </ins>as leaky"<ins style="font-weight: bold; text-decoration: none;">; the detection algorithm </ins>is <ins style="font-weight: bold; text-decoration: none;">approximate</ins>.</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">A proper visportal must have all of its </del>boundary <del style="font-weight: bold; text-decoration: none;">edges fully in contact with opaque geometry or other visportals</del>. <del style="font-weight: bold; text-decoration: none;">You </del>should <del style="font-weight: bold; text-decoration: none;">see </del>"as leaky" <del style="font-weight: bold; text-decoration: none;">clarification when this rule </del>is <del style="font-weight: bold; text-decoration: none;">broken.</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">To fix the visportal, inspect its boundary, i.e. where it touches solid geometry</del>.</div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">'''TIPS</del>:<del style="font-weight: bold; text-decoration: none;">''' If you have any portals "dropped as leaky"</del>, <del style="font-weight: bold; text-decoration: none;">save yourself some time by correcting them first</del>. <del style="font-weight: bold; text-decoration: none;">This will often stop other (good) </del>visportals <del style="font-weight: bold; text-decoration: none;">from being dropped</del>. <del style="font-weight: bold; text-decoration: none;">The </del>.<del style="font-weight: bold; text-decoration: none;">lin file discussed below will often show you exactly where </del>the <del style="font-weight: bold; text-decoration: none;">boundary </del>problem <del style="font-weight: bold; text-decoration: none;">is. Be aware that occasionally you may </del>find <del style="font-weight: bold; text-decoration: none;">a "dropped" portal that should have been tagged "dropped as leaky"; the detection algorithm is approximate</del>.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">;<tt>Portals [%s] at (%s) overlap</tt></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:<ins style="font-weight: bold; text-decoration: none;">Two or more visportals geometrically overlap</ins>, <ins style="font-weight: bold; text-decoration: none;">which is going to be confuse the engine</ins>. <ins style="font-weight: bold; text-decoration: none;">In most cases the offending </ins>visportals <ins style="font-weight: bold; text-decoration: none;">are exactly equal, which is why it is very hard to notice without warning</ins>. <ins style="font-weight: bold; text-decoration: none;">Note that it is OK for visportals to touch each other</ins>.</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">:In order to fix </ins>the problem<ins style="font-weight: bold; text-decoration: none;">, </ins>find <ins style="font-weight: bold; text-decoration: none;">both visportals in DR, and probably just delete one of them</ins>.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"><tt>Portals [%s] at (%s) overlap</tt>: Two or more visportals geometrically overlap, which is going to be confuse the engine. In most cases the offending visportals are exactly equal, which is why it is very hard to notice without warning. Note that it is OK for visportals to touch each other.</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">;</ins><tt>Portal %d at (%s) is useless</tt></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">In order to fix the problem, find both visportals in DR, and probably just delete one of them.</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>:No part of this visportal is within the playable space. Sometimes such visportal is fully inside opaque brushes or lie on the boundary of opaque brush. Sometimes the whole visportal hangs somewhere in outer space, outside of any playable locations.</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">: </ins>Find this visportal in DR, verify that it is not necessary, and delete it.</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><tt>Portal %d at (%s) is useless</tt>: No part of this visportal is within the playable space. Sometimes such visportal is fully inside opaque brushes or lie on the boundary of opaque brush. Sometimes the whole visportal hangs somewhere in outer space, outside of any playable locations.</div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Find this visportal in DR, verify that it is not necessary, and delete it<del style="font-weight: bold; text-decoration: none;">.</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"><tt>brush %d has multiple area portal sides at %s</tt>: More than one side/face of this brush is marked with visportal texture, which is not supported by engine. Remember that visportal brush must have exactly one face with visportal texture and all the other faces with nodraw texture.</del></div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">First, find the brush. If any face has visportal material by mistake, change it to nodraw material. If both sides should work as visportals, then split the brush into two, each with one visportalled face</del>.</div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">;<tt>brush %d has multiple area portal sides at %s</tt></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">:More than one side/face of this brush is marked with visportal texture, which is not supported by engine. Remember that visportal brush must have exactly one face with visportal texture and all the other faces with nodraw texture.</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">:First, find the brush. If any face has visportal material by mistake, change it to nodraw material. If both sides should work as visportals, then split the brush into two, each with one visportalled face.</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>When investigating a particular warning, there are several ways to find and debug the visportal.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>When investigating a particular warning, there are several ways to find and debug the visportal.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># The brush number of the problematic portal is reported in the warning itself (like: <tt>Portal 5237</tt>). You can quickly find the brush in DR by using "Map -> Find Brush" feature, setting "Entity Number" to 0. Beware that brush numbering changes when you modify the map. If the numbers lead you to non-visportal brushes, then you most likely need to rerun dmap to get the new numbers.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># The brush number of the problematic portal is reported in the warning itself (like: <tt>Portal 5237</tt>). You can quickly find the brush in DR by using "Map -> Find Brush" feature, setting "Entity Number" to 0. Beware that brush numbering changes when you modify the map. If the numbers lead you to non-visportal brushes, then you most likely need to rerun dmap to get the new numbers.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># The warning usually contains world 3D coordinates (like: <tt>at (347.25 -490 790)</tt>). These coordinates are much more stable that brush numbers and won't change between runs. You can use '''setviewpos''' in-game to teleport to specified coordinates, and hopefully DR will have such feature too in future.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># The warning usually contains world 3D coordinates (like: <tt>at (347.25 -490 790)</tt>). These coordinates are much more stable that brush numbers and won't change between runs. You can use '''setviewpos''' in-game to teleport to specified coordinates, and hopefully DR will have such feature too in future.</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div># For every dropped or overlapped visportal, a leakfile is dumped into a .lin file. The filename is reported right after the warning itself (like: <tt>saved mapname_portalL_coords.lin (%i points)</tt>. The capital letter after the word "portal" indicates the type of problem (e.g., with TDM 2.08, O = Overlap, L = dropped/Leaked; with TDM 2.10, O = Overlapped, D = Dropped, L = dropped as Leaky). The file is located in the same directory where .map file is located. In order to open it in DR, <del style="font-weight: bold; text-decoration: none;">rename it </del>to <del style="font-weight: bold; text-decoration: none;"><tt>mapname</del>.lin<del style="font-weight: bold; text-decoration: none;"></tt> and click at "File -> Pointfile" DR menu</del>. Use <del style="font-weight: bold; text-decoration: none;">"</del>View <del style="font-weight: bold; text-decoration: none;">-> </del>Camera <del style="font-weight: bold; text-decoration: none;">-> </del>Next/Previous leak spot<del style="font-weight: bold; text-decoration: none;">" </del>(or respectively Ctrl+Shift<del style="font-weight: bold; text-decoration: none;">~</del>K and Ctrl+Shift<del style="font-weight: bold; text-decoration: none;">~</del>L) to teleport to leak location and travel along its points. Fly around: follow the path, see where it crosses something that you considered opaque while it is not. <del style="font-weight: bold; text-decoration: none;">Hopefully, future version of DR would make it easier to open arbitrary .lin file, so that renaming files manually won't be necessary.</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># For every dropped or overlapped visportal, a leakfile is dumped into a .lin file. The filename is reported right after the warning itself (like: <tt>saved mapname_portalL_coords.lin (%i points)</tt>. The capital letter after the word "portal" indicates the type of problem (e.g., with TDM 2.08, O = Overlap, L = dropped/Leaked; with TDM 2.10, O = Overlapped, D = Dropped, L = dropped as Leaky). The file is located in the same directory where .map file is located. In order to open it in DR, <ins style="font-weight: bold; text-decoration: none;">use the '''File → Pointfile''' menu option, which will show a dialog allowing you </ins>to <ins style="font-weight: bold; text-decoration: none;">choose the appropriate </ins>.lin <ins style="font-weight: bold; text-decoration: none;">file if there is more than one available</ins>. Use <ins style="font-weight: bold; text-decoration: none;">'''</ins>View <ins style="font-weight: bold; text-decoration: none;">→ </ins>Camera <ins style="font-weight: bold; text-decoration: none;">→ </ins>Next/Previous leak spot<ins style="font-weight: bold; text-decoration: none;">''' </ins>(or respectively <ins style="font-weight: bold; text-decoration: none;">'''</ins>Ctrl+Shift<ins style="font-weight: bold; text-decoration: none;">+</ins>K<ins style="font-weight: bold; text-decoration: none;">''' </ins>and <ins style="font-weight: bold; text-decoration: none;">'''</ins>Ctrl+Shift<ins style="font-weight: bold; text-decoration: none;">+</ins>L<ins style="font-weight: bold; text-decoration: none;">'''</ins>) to teleport to leak location and travel along its points. Fly around: follow the path, see where it crosses something that you considered opaque while it is not. </div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td colspan="2" class="diff-side-added"></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If you have fixed all warnings but some visportal doesn't work at all (i.e. does not show as either red or green while you are directly in its area and looking at it and you have '''r_showPortals''' enabled), then make sure the visportal is worldspawn, not some entity with a misapplied visportal texture.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>If you have fixed all warnings but some visportal doesn't work at all (i.e. does not show as either red or green while you are directly in its area and looking at it and you have '''r_showPortals''' enabled), then make sure the visportal is worldspawn, not some entity with a misapplied visportal texture.</div></td></tr>
</table>OrbWeaverhttps://wiki.thedarkmod.com/index.php?title=Visportals&diff=28660&oldid=prevNbohr1more: /* What is rendering? */2021-09-25T19:53:59Z<p><span dir="auto"><span class="autocomment">What is rendering?</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 19:53, 25 September 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l31">Line 31:</td>
<td colspan="2" class="diff-lineno">Line 31:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>You ''should'' also use '''r_useScissor 0''' to show geometry outside the visportal wireframe that Doom still sends to the video card. </div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>You ''should'' also use '''r_useScissor 0''' to show geometry outside the visportal wireframe that Doom still sends to the video card. </div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><br>Scissors happen on the GL driver side after geometry has already been uploaded. They help with performance but the best performance happens when you</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><br>Scissors happen on the GL driver side after geometry has already been uploaded. </div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"><br></del>prevent the geometry from being uploaded to your GPU in the first place.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><br> </ins>They help with performance but the best performance happens when you prevent the geometry from being uploaded to your GPU in the first place.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''Remember''' to return to '''r_useScissor 1''' when you are done with "visportal testing" so that scissors can still </div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''Remember''' to return to '''r_useScissor 1''' when you are done with "visportal testing" so that scissors can still </div></td></tr>
</table>Nbohr1morehttps://wiki.thedarkmod.com/index.php?title=Visportals&diff=28659&oldid=prevNbohr1more: /* What is rendering? */2021-09-25T19:53:06Z<p><span dir="auto"><span class="autocomment">What is rendering?</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 19:53, 25 September 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l30">Line 30:</td>
<td colspan="2" class="diff-lineno">Line 30:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>You can see that for the purpose of testing performance use 2 above which shows all that would be rendered (whether visible to the player or not.) You can use 3 to see ''all'' triangles up to the next closed visportal but remember not all of it will be rendered so will not affect performance.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>You can see that for the purpose of testing performance use 2 above which shows all that would be rendered (whether visible to the player or not.) You can use 3 to see ''all'' triangles up to the next closed visportal but remember not all of it will be rendered so will not affect performance.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>You <del style="font-weight: bold; text-decoration: none;">'</del>''should<del style="font-weight: bold; text-decoration: none;">'</del>'' also use '''r_useScissor 0''' to show geometry outside the visportal wireframe that Doom still sends to the video card. </div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>You ''should'' also use '''r_useScissor 0''' to show geometry outside the visportal wireframe that Doom still sends to the video card. </div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br>Scissors happen on the GL driver side after geometry has already been uploaded. They help with performance but the best performance happens when you</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br>Scissors happen on the GL driver side after geometry has already been uploaded. They help with performance but the best performance happens when you</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><br>prevent the geometry from being uploaded in the first place.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><br>prevent the geometry from being uploaded <ins style="font-weight: bold; text-decoration: none;">to your GPU </ins>in the first place.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''Remember''' to return to '''r_useScissor 1''' when you are done with "visportal testing" so that scissors can still </div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>'''Remember''' to return to '''r_useScissor 1''' when you are done with "visportal testing" so that scissors can still </div></td></tr>
</table>Nbohr1morehttps://wiki.thedarkmod.com/index.php?title=Visportals&diff=28658&oldid=prevNbohr1more at 19:51, 25 September 20212021-09-25T19:51:53Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 19:51, 25 September 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l31">Line 31:</td>
<td colspan="2" class="diff-lineno">Line 31:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>You '''should''' also use '''r_useScissor 0''' to show geometry outside the visportal wireframe that Doom still sends to the video card. </div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>You '''should''' also use '''r_useScissor 0''' to show geometry outside the visportal wireframe that Doom still sends to the video card. </div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Scissors happen on the GL driver side after geometry has already been uploaded. They help with performance but the best performance happens when you</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><br></ins>Scissors happen on the GL driver side after geometry has already been uploaded. They help with performance but the best performance happens when you</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>prevent the geometry from being uploaded in the first place.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><br></ins>prevent the geometry from being uploaded in the first place.</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''Remember''' to return to '''r_useScissor 1''' when you are done with "visportal testing" so that scissors can still optimize away geometry that you were</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>unable to optimize away with visportals.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''Remember''' to return to '''r_useScissor 1''' when you are done with "visportal testing" so that scissors can still </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><br></ins>optimize away geometry that you were unable to optimize away with visportals.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Here is a short video with a decent visual breakdown:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Here is a short video with a decent visual breakdown:</div></td></tr>
</table>Nbohr1morehttps://wiki.thedarkmod.com/index.php?title=Visportals&diff=28657&oldid=prevNbohr1more: /* What is rendering? */2021-09-25T19:50:47Z<p><span dir="auto"><span class="autocomment">What is rendering?</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 19:50, 25 September 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l30">Line 30:</td>
<td colspan="2" class="diff-lineno">Line 30:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>You can see that for the purpose of testing performance use 2 above which shows all that would be rendered (whether visible to the player or not.) You can use 3 to see ''all'' triangles up to the next closed visportal but remember not all of it will be rendered so will not affect performance.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>You can see that for the purpose of testing performance use 2 above which shows all that would be rendered (whether visible to the player or not.) You can use 3 to see ''all'' triangles up to the next closed visportal but remember not all of it will be rendered so will not affect performance.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>You <del style="font-weight: bold; text-decoration: none;">might </del>also use '''r_useScissor 0''' to show geometry outside the visportal wireframe that Doom still sends to the video card <del style="font-weight: bold; text-decoration: none;">but tells it not to render</del>. <del style="font-weight: bold; text-decoration: none;">'''r_useScissor 1''' helps </del>performance but <del style="font-weight: bold; text-decoration: none;">even sending </del>the geometry <del style="font-weight: bold; text-decoration: none;">uses processor time so if you can reduce it by adjusting visportal placement so much </del>the <del style="font-weight: bold; text-decoration: none;">better</del>.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>You <ins style="font-weight: bold; text-decoration: none;">'''should''' </ins>also use '''r_useScissor 0''' to show geometry outside the visportal wireframe that Doom still sends to the video card. </div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Scissors happen on the GL driver side after geometry has already been uploaded. They help with </ins>performance but <ins style="font-weight: bold; text-decoration: none;">the best performance happens when you</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">(</del>Remember to return to '''r_useScissor 1''' when you are done with visportal testing.<del style="font-weight: bold; text-decoration: none;">)</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">prevent </ins>the geometry <ins style="font-weight: bold; text-decoration: none;">from being uploaded in </ins>the <ins style="font-weight: bold; text-decoration: none;">first place</ins>.</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">'''</ins>Remember<ins style="font-weight: bold; text-decoration: none;">''' </ins>to return to '''r_useScissor 1''' when you are done with <ins style="font-weight: bold; text-decoration: none;">"</ins>visportal testing<ins style="font-weight: bold; text-decoration: none;">" so that scissors can still optimize away geometry that you were</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">unable to optimize away with visportals</ins>.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Here is a short video with a decent visual breakdown:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Here is a short video with a decent visual breakdown:</div></td></tr>
</table>Nbohr1morehttps://wiki.thedarkmod.com/index.php?title=Visportals&diff=28656&oldid=prevNbohr1more at 19:44, 25 September 20212021-09-25T19:44:24Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 19:44, 25 September 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l287">Line 287:</td>
<td colspan="2" class="diff-lineno">Line 287:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== See also ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== See also ==</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>There are other good visportal tutorials to be found under:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>There are other good visportal tutorials to be found under:</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">http</del>://<del style="font-weight: bold; text-decoration: none;">www</del>.<del style="font-weight: bold; text-decoration: none;">iddevnet</del>.<del style="font-weight: bold; text-decoration: none;">com</del>/doom3/visportals.<del style="font-weight: bold; text-decoration: none;">php </del>and <del style="font-weight: bold; text-decoration: none;">http</del>://<del style="font-weight: bold; text-decoration: none;">www</del>.<del style="font-weight: bold; text-decoration: none;">modwiki</del>.<del style="font-weight: bold; text-decoration: none;">net/wiki</del>/Visportal</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">https</ins>://<ins style="font-weight: bold; text-decoration: none;">iddevnet</ins>.<ins style="font-weight: bold; text-decoration: none;">dhewm3</ins>.<ins style="font-weight: bold; text-decoration: none;">org</ins>/doom3/visportals.<ins style="font-weight: bold; text-decoration: none;">html </ins>and <ins style="font-weight: bold; text-decoration: none;">https</ins>://<ins style="font-weight: bold; text-decoration: none;">modwiki</ins>.<ins style="font-weight: bold; text-decoration: none;">dhewm3</ins>.<ins style="font-weight: bold; text-decoration: none;">org</ins>/Visportal</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Visportals, Func_statics and Worldspawn Brushes ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Visportals, Func_statics and Worldspawn Brushes ==</div></td></tr>
</table>Nbohr1morehttps://wiki.thedarkmod.com/index.php?title=Visportals&diff=28339&oldid=prevGeep: /* See also */ Location_Settings2021-04-23T02:13:01Z<p><span dir="auto"><span class="autocomment">See also: </span> Location_Settings</span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 02:13, 23 April 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l310">Line 310:</td>
<td colspan="2" class="diff-lineno">Line 310:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*[http://forums.thedarkmod.com/topic/18948-have-we-been-selling-visportals-short/ Have we been selling visportals short?]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*[http://forums.thedarkmod.com/topic/18948-have-we-been-selling-visportals-short/ Have we been selling visportals short?]</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*[http://forums.thedarkmod.com/topic/19707-diagonaly-placed-vis-portal/ Diagonally placed visportal?]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>*[http://forums.thedarkmod.com/topic/19707-diagonaly-placed-vis-portal/ Diagonally placed visportal?]</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">*Visportals also help delineate Location Zones, with specific ambient lighting, ambient sounds, and enter/exit script events. See [[Location Settings]].</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Skybox]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Skybox]]</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Visportal]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Visportal]]</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{tutorial-editing}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{tutorial-editing}}</div></td></tr>
</table>Geephttps://wiki.thedarkmod.com/index.php?title=Visportals&diff=28338&oldid=prevGeep: /* Trouble-shooting */ Added TIPS about "dropped as leaky"; more about naming of O, D, L leakfiles2021-04-23T02:01:01Z<p><span dir="auto"><span class="autocomment">Trouble-shooting: </span> Added TIPS about "dropped as leaky"; more about naming of O, D, L leakfiles</span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 02:01, 23 April 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l201">Line 201:</td>
<td colspan="2" class="diff-lineno">Line 201:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>A proper visportal must have all of its boundary edges fully in contact with opaque geometry or other visportals. You should see "as leaky" clarification when this rule is broken.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>A proper visportal must have all of its boundary edges fully in contact with opaque geometry or other visportals. You should see "as leaky" clarification when this rule is broken.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>To fix the visportal, inspect its boundary, i.e. where it touches solid geometry.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>To fix the visportal, inspect its boundary, i.e. where it touches solid geometry.</div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">'''TIPS:''' If you have any portals "dropped as leaky", save yourself some time by correcting them first. This will often stop other (good) visportals from being dropped. The .lin file discussed below will often show you exactly where the boundary problem is. Be aware that occasionally you may find a "dropped" portal that should have been tagged "dropped as leaky"; the detection algorithm is approximate.</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><tt>Portals [%s] at (%s) overlap</tt>: Two or more visportals geometrically overlap, which is going to be confuse the engine. In most cases the offending visportals are exactly equal, which is why it is very hard to notice without warning. Note that it is OK for visportals to touch each other.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><tt>Portals [%s] at (%s) overlap</tt>: Two or more visportals geometrically overlap, which is going to be confuse the engine. In most cases the offending visportals are exactly equal, which is why it is very hard to notice without warning. Note that it is OK for visportals to touch each other.</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l215">Line 215:</td>
<td colspan="2" class="diff-lineno">Line 217:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># The brush number of the problematic portal is reported in the warning itself (like: <tt>Portal 5237</tt>). You can quickly find the brush in DR by using "Map -> Find Brush" feature, setting "Entity Number" to 0. Beware that brush numbering changes when you modify the map. If the numbers lead you to non-visportal brushes, then you most likely need to rerun dmap to get the new numbers.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># The brush number of the problematic portal is reported in the warning itself (like: <tt>Portal 5237</tt>). You can quickly find the brush in DR by using "Map -> Find Brush" feature, setting "Entity Number" to 0. Beware that brush numbering changes when you modify the map. If the numbers lead you to non-visportal brushes, then you most likely need to rerun dmap to get the new numbers.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># The warning usually contains world 3D coordinates (like: <tt>at (347.25 -490 790)</tt>). These coordinates are much more stable that brush numbers and won't change between runs. You can use '''setviewpos''' in-game to teleport to specified coordinates, and hopefully DR will have such feature too in future.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># The warning usually contains world 3D coordinates (like: <tt>at (347.25 -490 790)</tt>). These coordinates are much more stable that brush numbers and won't change between runs. You can use '''setviewpos''' in-game to teleport to specified coordinates, and hopefully DR will have such feature too in future.</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div># For every dropped visportal, a leakfile is dumped into a .lin file. The filename is reported right after the warning itself (like: <tt>saved mapname_portalL_coords.lin (%i points)</tt>. The file is located in the same directory where .map file is located. In order to open it in DR, rename it to <tt>mapname.lin</tt> and click at "File -> Pointfile" DR menu. Use "View -> Camera -> Next/Previous leak spot" (or respectively Ctrl+Shift~K and Ctrl+Shift~L) to teleport to leak location and travel along its points. Fly around: follow the path, see where it crosses something that you considered opaque while it is not. Hopefully, future version of DR would make it easier to open arbitrary .lin file, so that renaming files manually won't be necessary.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># For every dropped <ins style="font-weight: bold; text-decoration: none;">or overlapped </ins>visportal, a leakfile is dumped into a .lin file. The filename is reported right after the warning itself (like: <tt>saved mapname_portalL_coords.lin (%i points)</tt><ins style="font-weight: bold; text-decoration: none;">. The capital letter after the word "portal" indicates the type of problem (e.g., with TDM 2.08, O = Overlap, L = dropped/Leaked; with TDM 2.10, O = Overlapped, D = Dropped, L = dropped as Leaky)</ins>. The file is located in the same directory where .map file is located. In order to open it in DR, rename it to <tt>mapname.lin</tt> and click at "File -> Pointfile" DR menu. Use "View -> Camera -> Next/Previous leak spot" (or respectively Ctrl+Shift~K and Ctrl+Shift~L) to teleport to leak location and travel along its points. Fly around: follow the path, see where it crosses something that you considered opaque while it is not. Hopefully, future version of DR would make it easier to open arbitrary .lin file, so that renaming files manually won't be necessary.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
</table>Geephttps://wiki.thedarkmod.com/index.php?title=Visportals&diff=28307&oldid=prevStgatilov: Added paragraph about "dropped as leaky" visportals (see #5353).2021-04-15T14:48:54Z<p>Added paragraph about "dropped as leaky" visportals (see #5353).</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 14:48, 15 April 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l196">Line 196:</td>
<td colspan="2" class="diff-lineno">Line 196:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><tt>Portal %d at (%s) dropped</tt>: The mentioned visportal does not separate the space into two isolated areas. This is usually called "internal leak". Such visportal is dropped because it appears to be fully contained in one visleaf, while every visportal must separate two different visleafs from each other.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><tt>Portal %d at (%s) dropped</tt>: The mentioned visportal does not separate the space into two isolated areas. This is usually called "internal leak". Such visportal is dropped because it appears to be fully contained in one visleaf, while every visportal must separate two different visleafs from each other.</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">In order to fix the problem, first inspect the visportal boundary (i.e. where it touches solid geometry). </del>Remember, the visportal face must be surrounded by opaque worldspawn brushes. Entities have no effect on visportals and visleafs, and brushes with any nodraw material are also ignored. If brief inspection does not help, load the .lin file in DR: it shows a closed path passing through the visportal which is not blocked by anything. In order to make visportal functional, you must block this path at least somewhere: the exact understanding of what went wrong and how to fix it is up to you.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Remember, the visportal face must be surrounded by opaque worldspawn brushes. Entities have no effect on visportals and visleafs, and brushes with any nodraw material are also ignored. If brief inspection does not help, load the .lin file in DR: it shows a closed path passing through the visportal which is not blocked by anything. In order to make visportal functional, you must block this path at least somewhere: the exact understanding of what went wrong and how to fix it is up to you<ins style="font-weight: bold; text-decoration: none;">.</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><tt>Portal %d at (%s) dropped as leaky</tt>: This is popular subcase of "dropped" warning, implemented in TDM 2.10.</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">A proper visportal must have all of its boundary edges fully in contact with opaque geometry or other visportals. You should see "as leaky" clarification when this rule is broken.</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">To fix the visportal, inspect its boundary, i.e. where it touches solid geometry</ins>.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><tt>Portals [%s] at (%s) overlap</tt>: Two or more visportals geometrically overlap, which is going to be confuse the engine. In most cases the offending visportals are exactly equal, which is why it is very hard to notice without warning. Note that it is OK for visportals to touch each other.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><tt>Portals [%s] at (%s) overlap</tt>: Two or more visportals geometrically overlap, which is going to be confuse the engine. In most cases the offending visportals are exactly equal, which is why it is very hard to notice without warning. Note that it is OK for visportals to touch each other.</div></td></tr>
</table>Stgatilovhttps://wiki.thedarkmod.com/index.php?title=Visportals&diff=27227&oldid=prevGeep: /* Trouble-shooting */2021-02-05T21:15:26Z<p><span dir="auto"><span class="autocomment">Trouble-shooting</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 21:15, 5 February 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l211">Line 211:</td>
<td colspan="2" class="diff-lineno">Line 211:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># The brush number of the problematic portal is reported in the warning itself (like: <tt>Portal 5237</tt>). You can quickly find the brush in DR by using "Map -> Find Brush" feature, setting "Entity Number" to 0. Beware that brush numbering changes when you modify the map. If the numbers lead you to non-visportal brushes, then you most likely need to rerun dmap to get the new numbers.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># The brush number of the problematic portal is reported in the warning itself (like: <tt>Portal 5237</tt>). You can quickly find the brush in DR by using "Map -> Find Brush" feature, setting "Entity Number" to 0. Beware that brush numbering changes when you modify the map. If the numbers lead you to non-visportal brushes, then you most likely need to rerun dmap to get the new numbers.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># The warning usually contains world 3D coordinates (like: <tt>at (347.25 -490 790)</tt>). These coordinates are much more stable that brush numbers and won't change between runs. You can use '''setviewpos''' in-game to teleport to specified coordinates, and hopefully DR will have such feature too in future.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># The warning usually contains world 3D coordinates (like: <tt>at (347.25 -490 790)</tt>). These coordinates are much more stable that brush numbers and won't change between runs. You can use '''setviewpos''' in-game to teleport to specified coordinates, and hopefully DR will have such feature too in future.</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div># For every dropped visportal, a leakfile is dumped into a .lin file. The filename is reported right after the warning itself (like: <tt>saved mapname_portalL_coords.lin (%i points)</tt>. The file is located in the same directory where .map file is located. In order to open it in DR, rename it to <tt>mapname.lin</tt> and click at "File -> Pointfile" DR menu. Use "View -> Camera -> Next/Previous leak spot" to teleport to leak location and travel along its points. Fly around: follow the path, see where it crosses something that you considered opaque while it is not. Hopefully, future version of DR would make it easier to open arbitrary .lin file, so that renaming files manually won't be necessary.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># For every dropped visportal, a leakfile is dumped into a .lin file. The filename is reported right after the warning itself (like: <tt>saved mapname_portalL_coords.lin (%i points)</tt>. The file is located in the same directory where .map file is located. In order to open it in DR, rename it to <tt>mapname.lin</tt> and click at "File -> Pointfile" DR menu. Use "View -> Camera -> Next/Previous leak spot" <ins style="font-weight: bold; text-decoration: none;">(or respectively Ctrl+Shift~K and Ctrl+Shift~L) </ins>to teleport to leak location and travel along its points. Fly around: follow the path, see where it crosses something that you considered opaque while it is not. Hopefully, future version of DR would make it easier to open arbitrary .lin file, so that renaming files manually won't be necessary.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>If you have fixed all warnings but some visportal doesn't work at all (i.e. does not show as either red or green while you are directly in its area and looking at it and you have '''r_showPortals''' enabled), then make sure the visportal <del style="font-weight: bold; text-decoration: none;">hasn't been assigned to an entity but </del>is worldspawn.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>If you have fixed all warnings but some visportal doesn't work at all (i.e. does not show as either red or green while you are directly in its area and looking at it and you have '''r_showPortals''' enabled), then make sure the visportal is worldspawn<ins style="font-weight: bold; text-decoration: none;">, not some entity with a misapplied visportal texture</ins>.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
</table>Geep