<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://www.fsdeveloper.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Flickering_ground_polygons_fix_%28SCASM_tweak%29</id>
	<title>Flickering ground polygons fix (SCASM tweak) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.fsdeveloper.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Flickering_ground_polygons_fix_%28SCASM_tweak%29"/>
	<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Flickering_ground_polygons_fix_(SCASM_tweak)&amp;action=history"/>
	<updated>2026-06-08T09:27:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>http://www.fsdeveloper.com/wiki/index.php?title=Flickering_ground_polygons_fix_(SCASM_tweak)&amp;diff=6121&amp;oldid=prev</id>
		<title>Arno at 16:11, 6 July 2008</title>
		<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Flickering_ground_polygons_fix_(SCASM_tweak)&amp;diff=6121&amp;oldid=prev"/>
		<updated>2008-07-06T16:11:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:11, 6 July 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Infobox-Applicable-FSVersion&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| FSXI = false&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| FSXA = false&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| FSX = false&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| FS2004 = true&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| FS2002 = true&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| FS2000 = false&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| FS98 = false&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;== Introduction ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;== Introduction ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l220&quot;&gt;Line 220:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 230:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;Here I copied the structure and the RefPoint information from the PerspectiveCall part and also used that for the LayerCall part. The actual LayerCall is at the top and it calls the code at the bottom. I hope you can spot the differences between the origional and the changed source and that is enough for you to be able to do the same.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;Here I copied the structure and the RefPoint information from the PerspectiveCall part and also used that for the LayerCall part. The actual LayerCall is at the top and it calls the code at the bottom. I hope you can spot the differences between the origional and the changed source and that is enough for you to be able to do the same.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;[[Category:Scenery &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;design&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;[[Category:Scenery &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Design]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[category:Tweaking&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arno</name></author>
	</entry>
	<entry>
		<id>http://www.fsdeveloper.com/wiki/index.php?title=Flickering_ground_polygons_fix_(SCASM_tweak)&amp;diff=6119&amp;oldid=prev</id>
		<title>Arno: Ground Polygons - Issues - Bleed Through (SCASM) moved to Flickering ground polygons fix (SCASM tweak)</title>
		<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Flickering_ground_polygons_fix_(SCASM_tweak)&amp;diff=6119&amp;oldid=prev"/>
		<updated>2008-07-06T16:10:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/wiki/index.php/Ground_Polygons_-_Issues_-_Bleed_Through_(SCASM)&quot; class=&quot;mw-redirect&quot; title=&quot;Ground Polygons - Issues - Bleed Through (SCASM)&quot;&gt;Ground Polygons - Issues - Bleed Through (SCASM)&lt;/a&gt; moved to &lt;a href=&quot;/wiki/index.php/Flickering_ground_polygons_fix_(SCASM_tweak)&quot; title=&quot;Flickering ground polygons fix (SCASM tweak)&quot;&gt;Flickering ground polygons fix (SCASM tweak)&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:10, 6 July 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Arno</name></author>
	</entry>
	<entry>
		<id>http://www.fsdeveloper.com/wiki/index.php?title=Flickering_ground_polygons_fix_(SCASM_tweak)&amp;diff=5575&amp;oldid=prev</id>
		<title>HerefortheBeer-2396: /* Complex API */</title>
		<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Flickering_ground_polygons_fix_(SCASM_tweak)&amp;diff=5575&amp;oldid=prev"/>
		<updated>2008-05-09T15:10:12Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Complex API&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:10, 9 May 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l78&quot;&gt;Line 78:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 78:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;== Complex API ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;== Complex API ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;For a more complex API the principles are the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;seem&lt;/del&gt;, but in such a macro also other object code is there which should not get a LayerCall. Therefore we need to have both a PerspectiveCall and a LayerCall.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;For a more complex API the principles are the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;same&lt;/ins&gt;, but in such a macro also other object code is there which should not get a LayerCall. Therefore we need to have both a PerspectiveCall and a LayerCall.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;Here is an example of such a code from FSDS:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;Here is an example of such a code from FSDS:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>HerefortheBeer-2396</name></author>
	</entry>
	<entry>
		<id>http://www.fsdeveloper.com/wiki/index.php?title=Flickering_ground_polygons_fix_(SCASM_tweak)&amp;diff=5406&amp;oldid=prev</id>
		<title>BASys: SCASM How to fix ground polygon bleed through moved to Ground Polygons - Issues - Bleed Through (SCASM): Titling rationalisation</title>
		<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Flickering_ground_polygons_fix_(SCASM_tweak)&amp;diff=5406&amp;oldid=prev"/>
		<updated>2008-04-25T20:15:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/wiki/index.php/SCASM_How_to_fix_ground_polygon_bleed_through&quot; class=&quot;mw-redirect&quot; title=&quot;SCASM How to fix ground polygon bleed through&quot;&gt;SCASM How to fix ground polygon bleed through&lt;/a&gt; moved to &lt;a href=&quot;/wiki/index.php/Ground_Polygons_-_Issues_-_Bleed_Through_(SCASM)&quot; class=&quot;mw-redirect&quot; title=&quot;Ground Polygons - Issues - Bleed Through (SCASM)&quot;&gt;Ground Polygons - Issues - Bleed Through (SCASM)&lt;/a&gt;: Titling rationalisation&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:15, 25 April 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>BASys</name></author>
	</entry>
	<entry>
		<id>http://www.fsdeveloper.com/wiki/index.php?title=Flickering_ground_polygons_fix_(SCASM_tweak)&amp;diff=1665&amp;oldid=prev</id>
		<title>Nickw at 19:33, 2 October 2006</title>
		<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Flickering_ground_polygons_fix_(SCASM_tweak)&amp;diff=1665&amp;oldid=prev"/>
		<updated>2006-10-02T19:33:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:33, 2 October 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l219&quot;&gt;Line 219:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 219:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;Here I copied the structure and the RefPoint information from the PerspectiveCall part and also used that for the LayerCall part. The actual LayerCall is at the top and it calls the code at the bottom. I hope you can spot the differences between the origional and the changed source and that is enough for you to be able to do the same.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;Here I copied the structure and the RefPoint information from the PerspectiveCall part and also used that for the LayerCall part. The actual LayerCall is at the top and it calls the code at the bottom. I hope you can spot the differences between the origional and the changed source and that is enough for you to be able to do the same.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Scenery design]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nickw</name></author>
	</entry>
	<entry>
		<id>http://www.fsdeveloper.com/wiki/index.php?title=Flickering_ground_polygons_fix_(SCASM_tweak)&amp;diff=1664&amp;oldid=prev</id>
		<title>Nickw at 19:32, 2 October 2006</title>
		<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Flickering_ground_polygons_fix_(SCASM_tweak)&amp;diff=1664&amp;oldid=prev"/>
		<updated>2006-10-02T19:32:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
A scenery that worked fine in Fs2000 sometimes has bleed through problems with the ground polygons. Usually these polygons where then made with a program like FSDS. This is because such programs use SCASM code that is meant for 3D objects and when this code is used for ground polygons the scenery engine gets confused.&lt;br /&gt;
The fix for the problem is then also to change the SCASM code used to the one for ground polygons. How to do this will be explained in the rest of this document.&lt;br /&gt;
&lt;br /&gt;
== Simple API ==&lt;br /&gt;
&lt;br /&gt;
For a simple API, that is a API that only contains a ground polygon and nothing else, the following changes must be made.&lt;br /&gt;
&lt;br /&gt;
This is an example of the code as FSDS makes it:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
Area( 5 %1 %2 %3 )&lt;br /&gt;
IfVarRange( :Exit 0346 %12 5 )&lt;br /&gt;
PerspectiveCall( :PCall )&lt;br /&gt;
ShadowCall( :PC02 )&lt;br /&gt;
Jump( :Exit )&lt;br /&gt;
:PCall&lt;br /&gt;
Perspective&lt;br /&gt;
:PC02&lt;br /&gt;
mif( %11 )&lt;br /&gt;
RefPoint( 2 :Skip %4 %1 %2 E= %11 v1= %10 V2= 400 )&lt;br /&gt;
melse&lt;br /&gt;
RefPoint( 7 :Skip %4 %1 %2 v1= %10 v2= 400 )&lt;br /&gt;
mifend&lt;br /&gt;
RotatedCall( :B 0 0 %5 )&lt;br /&gt;
Return&lt;br /&gt;
:B&lt;br /&gt;
Call32( :Part0 )&lt;br /&gt;
:Skip&lt;br /&gt;
Return&lt;br /&gt;
:Exit&lt;br /&gt;
Jump32( :End )&lt;br /&gt;
;&lt;br /&gt;
; Part: Polygon&lt;br /&gt;
:Part0&lt;br /&gt;
Points( 0 &lt;br /&gt;
       0     0   100       ; 0&lt;br /&gt;
     100     0     0       ; 1&lt;br /&gt;
       0     0   -99       ; 2&lt;br /&gt;
     -99     0     0       ; 3&lt;br /&gt;
    )&lt;br /&gt;
;RGBSColor( ef 121 121 121 )&lt;br /&gt;
Dwx( 2d ) ; color command&lt;br /&gt;
Dbd( 121 ) ; red&lt;br /&gt;
Dbx( ef ) ; flag/transparency&lt;br /&gt;
Dbd( 121 ) ; green&lt;br /&gt;
Dbd( 121 ) ; blue&lt;br /&gt;
Poly( 0 32767 0 0.00   0   1   2   3   )&lt;br /&gt;
Return&lt;br /&gt;
:End&lt;br /&gt;
EndA&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To get the SCASM code for ground polygons the PerspectiveCall and the ShadowCall should be replaced by a LayerCall. The beginning of the changed API looks like this:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
Area( 5 %1 %2 %3 )&lt;br /&gt;
IfVarRange( :Exit 0346 %12 5 )&lt;br /&gt;
;PerspectiveCall( :PCall )&lt;br /&gt;
;ShadowCall( :PC02 )&lt;br /&gt;
LayerCall( :PC02 8 )&lt;br /&gt;
Jump( :Exit )&lt;br /&gt;
;:PCall&lt;br /&gt;
;Perspective&lt;br /&gt;
:PC02&lt;br /&gt;
mif( %11 )&lt;br /&gt;
RefPoint( 2 :Skip %4 %1 %2 E= %11 v1= %10 V2= 400 )&lt;br /&gt;
melse&lt;br /&gt;
RefPoint( 7 :Skip %4 %1 %2 v1= %10 v2= 400 )&lt;br /&gt;
mifend&lt;br /&gt;
RotatedCall( :B 0 0 %5 )&lt;br /&gt;
Return&lt;br /&gt;
:B&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the above code I have commented out the PerspectiveCall and ShadowCall commands, as these are not needed. Also the Perspective command has been commented, because this command is obsolete since Fs2000.&lt;br /&gt;
After the ShadowCall I have added the LayerCall, the same label where the ShadowCall refered to is used for the LayerCall and the next parameter is the layer number, 8 in this example. This layer number can of course be changed if another layer is needed in the scenery.&lt;br /&gt;
&lt;br /&gt;
== Complex API ==&lt;br /&gt;
&lt;br /&gt;
For a more complex API the principles are the seem, but in such a macro also other object code is there which should not get a LayerCall. Therefore we need to have both a PerspectiveCall and a LayerCall.&lt;br /&gt;
&lt;br /&gt;
Here is an example of such a code from FSDS:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
Area( 5 %1 %2 %3 )&lt;br /&gt;
IfVarRange( :Exit 0346 %12 5 )&lt;br /&gt;
PerspectiveCall( :PCall )&lt;br /&gt;
ShadowCall( :PC02 )&lt;br /&gt;
Jump( :Exit )&lt;br /&gt;
:PCall&lt;br /&gt;
Perspective&lt;br /&gt;
:PC02&lt;br /&gt;
mif( %11 )&lt;br /&gt;
RefPoint( 2 :Skip %4 %1 %2 E= %11 v1= %10 V2= 500 )&lt;br /&gt;
melse&lt;br /&gt;
RefPoint( 7 :Skip %4 %1 %2 v1= %10 v2= 500 )&lt;br /&gt;
mifend&lt;br /&gt;
RotatedCall( :B 0 0 %5 )&lt;br /&gt;
Return&lt;br /&gt;
:B&lt;br /&gt;
Call32( :Part0 )&lt;br /&gt;
Call32( :Part1 )&lt;br /&gt;
Call32( :Part2 )&lt;br /&gt;
:Skip&lt;br /&gt;
Return&lt;br /&gt;
:Exit&lt;br /&gt;
Jump32( :End )&lt;br /&gt;
;&lt;br /&gt;
; Part: Polygon&lt;br /&gt;
:Part0&lt;br /&gt;
Points( 0 &lt;br /&gt;
       0     0   100       ; 0&lt;br /&gt;
     100     0     0       ; 1&lt;br /&gt;
       0     0   -99       ; 2&lt;br /&gt;
     -99     0     0       ; 3&lt;br /&gt;
    )&lt;br /&gt;
;RGBSColor( ef 121 121 121 )&lt;br /&gt;
Dwx( 2d ) ; color command&lt;br /&gt;
Dbd( 121 ) ; red&lt;br /&gt;
Dbx( ef ) ; flag/transparency&lt;br /&gt;
Dbd( 121 ) ; green&lt;br /&gt;
Dbd( 121 ) ; blue&lt;br /&gt;
Poly( 0 32767 0 -0.00   0   1   2   3   )&lt;br /&gt;
Return&lt;br /&gt;
;&lt;br /&gt;
; Part: Box&lt;br /&gt;
:Part1&lt;br /&gt;
Points( 0 &lt;br /&gt;
      75     0   -24       ; 0&lt;br /&gt;
      75    50   -24       ; 1&lt;br /&gt;
     125    50   -24       ; 2&lt;br /&gt;
     125     0   -24       ; 3&lt;br /&gt;
      75     0    25       ; 4&lt;br /&gt;
      75    50    25       ; 5&lt;br /&gt;
     125    50    25       ; 6&lt;br /&gt;
     125     0    25       ; 7&lt;br /&gt;
    )&lt;br /&gt;
;RGBSColor( ef 121 121 121 )&lt;br /&gt;
Dwx( 2d ) ; color command&lt;br /&gt;
Dbd( 121 ) ; red&lt;br /&gt;
Dbx( ef ) ; flag/transparency&lt;br /&gt;
Dbd( 121 ) ; green&lt;br /&gt;
Dbd( 121 ) ; blue&lt;br /&gt;
Poly( 0 0 -32767 25.00   0   1   2   3   )&lt;br /&gt;
Poly( 0 0 32767 25.00   7   6   5   4   )&lt;br /&gt;
Poly( -32767 0 0 -75.00   5   1   0   4   )&lt;br /&gt;
Poly( 32767 0 0 125.00   2   6   7   3   )&lt;br /&gt;
Poly( 0 32767 0 50.00   5   6   2   1   )&lt;br /&gt;
Poly( 0 -32767 0 0.00   0   3   7   4   )&lt;br /&gt;
Return&lt;br /&gt;
;&lt;br /&gt;
; Part: Box.1&lt;br /&gt;
:Part2&lt;br /&gt;
Points( 0 &lt;br /&gt;
    -124     0   -24       ; 0&lt;br /&gt;
    -124    50   -24       ; 1&lt;br /&gt;
     -74    50   -24       ; 2&lt;br /&gt;
     -74     0   -24       ; 3&lt;br /&gt;
    -124     0    25       ; 4&lt;br /&gt;
    -124    50    25       ; 5&lt;br /&gt;
     -74    50    25       ; 6&lt;br /&gt;
     -74     0    25       ; 7&lt;br /&gt;
    )&lt;br /&gt;
;RGBSColor( ef 121 121 121 )&lt;br /&gt;
Dwx( 2d ) ; color command&lt;br /&gt;
Dbd( 121 ) ; red&lt;br /&gt;
Dbx( ef ) ; flag/transparency&lt;br /&gt;
Dbd( 121 ) ; green&lt;br /&gt;
Dbd( 121 ) ; blue&lt;br /&gt;
Poly( 0 0 -32767 25.00   0   1   2   3   )&lt;br /&gt;
Poly( 0 0 32767 25.00   7   6   5   4   )&lt;br /&gt;
Poly( -32767 0 0 125.00   5   1   0   4   )&lt;br /&gt;
Poly( 32767 0 0 -75.00   2   6   7   3   )&lt;br /&gt;
Poly( 0 32767 0 50.00   5   6   2   1   )&lt;br /&gt;
Poly( 0 -32767 0 0.00   0   3   7   4   )&lt;br /&gt;
Return&lt;br /&gt;
:End&lt;br /&gt;
EndA&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case Part0 is the ground polygon and Part1 and Part2 are the 3D parts of the object.&lt;br /&gt;
&lt;br /&gt;
The corrected code now looks like this:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
Area( 5 %1 %2 %3 )&lt;br /&gt;
IfVarRange( :Exit 0346 %12 5 )&lt;br /&gt;
LayerCall( :L 8 )&lt;br /&gt;
PerspectiveCall( :PC02 )&lt;br /&gt;
ShadowCall( :PC02 )&lt;br /&gt;
Jump( :Exit )&lt;br /&gt;
:PCall&lt;br /&gt;
;Perspective&lt;br /&gt;
:PC02&lt;br /&gt;
mif( %11 )&lt;br /&gt;
RefPoint( 2 :Skip %4 %1 %2 E= %11 v1= %10 V2= 500 )&lt;br /&gt;
melse&lt;br /&gt;
RefPoint( 7 :Skip %4 %1 %2 v1= %10 v2= 500 )&lt;br /&gt;
mifend&lt;br /&gt;
RotatedCall( :B 0 0 %5 )&lt;br /&gt;
Return&lt;br /&gt;
:B&lt;br /&gt;
Call32( :Part1 )&lt;br /&gt;
Call32( :Part2 )&lt;br /&gt;
Return&lt;br /&gt;
:L&lt;br /&gt;
mif( %11 )&lt;br /&gt;
RefPoint( 2 :Skip %4 %1 %2 E= %11 v1= %10 V2= 500 )&lt;br /&gt;
melse&lt;br /&gt;
RefPoint( 7 :Skip %4 %1 %2 v1= %10 v2= 500 )&lt;br /&gt;
mifend&lt;br /&gt;
RotatedCall( :B2 0 0 %5 )&lt;br /&gt;
Return&lt;br /&gt;
:B2&lt;br /&gt;
Call32( :Part0 )&lt;br /&gt;
:Skip&lt;br /&gt;
Return&lt;br /&gt;
:Exit&lt;br /&gt;
Jump32( :End )&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here I copied the structure and the RefPoint information from the PerspectiveCall part and also used that for the LayerCall part. The actual LayerCall is at the top and it calls the code at the bottom. I hope you can spot the differences between the origional and the changed source and that is enough for you to be able to do the same.&lt;/div&gt;</summary>
		<author><name>Nickw</name></author>
	</entry>
</feed>