<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://groupkos.com/dev/index.php?action=history&amp;feed=atom&amp;title=VB6_Dex3D.frm</id>
	<title>VB6 Dex3D.frm - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://groupkos.com/dev/index.php?action=history&amp;feed=atom&amp;title=VB6_Dex3D.frm"/>
	<link rel="alternate" type="text/html" href="http://groupkos.com/dev/index.php?title=VB6_Dex3D.frm&amp;action=history"/>
	<updated>2026-04-19T11:58:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>http://groupkos.com/dev/index.php?title=VB6_Dex3D.frm&amp;diff=2968&amp;oldid=prev</id>
		<title>XenoEngineer at 10:00, 3 January 2024</title>
		<link rel="alternate" type="text/html" href="http://groupkos.com/dev/index.php?title=VB6_Dex3D.frm&amp;diff=2968&amp;oldid=prev"/>
		<updated>2024-01-03T10:00:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;http://groupkos.com/dev/index.php?title=VB6_Dex3D.frm&amp;amp;diff=2968&amp;amp;oldid=2960&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>XenoEngineer</name></author>
	</entry>
	<entry>
		<id>http://groupkos.com/dev/index.php?title=VB6_Dex3D.frm&amp;diff=2960&amp;oldid=prev</id>
		<title>XenoEngineer at 14:15, 1 January 2024</title>
		<link rel="alternate" type="text/html" href="http://groupkos.com/dev/index.php?title=VB6_Dex3D.frm&amp;diff=2960&amp;oldid=prev"/>
		<updated>2024-01-01T14:15:13Z</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&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:15, 1 January 2024&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-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&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;  &amp;#039;&amp;#039;&amp;#039;After refactoring the code found below, the following code creates rather a function for direct-calling of scene-rendering, which is called from various points in the project code, where previously a flag was set to invoked a forever-loop (now replaced) to redraw the screen once while looping forever.&amp;#039;&amp;#039;&amp;#039;  This direct-call approach is now working by Windows events, like mouse-movements, to invoke a screen refresh.&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;  &amp;#039;&amp;#039;&amp;#039;After refactoring the code found below, the following code creates rather a function for direct-calling of scene-rendering, which is called from various points in the project code, where previously a flag was set to invoked a forever-loop (now replaced) to redraw the screen once while looping forever.&amp;#039;&amp;#039;&amp;#039;  This direct-call approach is now working by Windows events, like mouse-movements, to invoke a screen refresh.&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;The new refactored method, RefreshScene(), is found in &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the startup-form&lt;/del&gt;, [[VB6_Dex3D.frm|Dex3D.frm]] now renamed to [[VB6_QuasiVisual3D.frm]].  &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;The new refactored method, RefreshScene(), is found in &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;original code as a Form_Activate() event&lt;/ins&gt;, [[VB6_Dex3D.frm|Dex3D.frm]] now renamed to [[VB6_QuasiVisual3D.frm]].  &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;===VB6 RefreshScene() method reworked from startup-form Dex3D.frm===&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;===VB6 RefreshScene() method reworked from startup-form Dex3D.frm===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>XenoEngineer</name></author>
	</entry>
	<entry>
		<id>http://groupkos.com/dev/index.php?title=VB6_Dex3D.frm&amp;diff=2959&amp;oldid=prev</id>
		<title>XenoEngineer at 14:12, 1 January 2024</title>
		<link rel="alternate" type="text/html" href="http://groupkos.com/dev/index.php?title=VB6_Dex3D.frm&amp;diff=2959&amp;oldid=prev"/>
		<updated>2024-01-01T14:12:40Z</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&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:12, 1 January 2024&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-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&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;  &amp;#039;&amp;#039;&amp;#039;After refactoring the code found below, the following code creates rather a function for direct-calling of scene-rendering, which is called from various points in the project code, where previously a flag was set to invoked a forever-loop (now replaced) to redraw the screen once while looping forever.&amp;#039;&amp;#039;&amp;#039;  This direct-call approach is now working by Windows events, like mouse-movements, to invoke a screen refresh.&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;  &amp;#039;&amp;#039;&amp;#039;After refactoring the code found below, the following code creates rather a function for direct-calling of scene-rendering, which is called from various points in the project code, where previously a flag was set to invoked a forever-loop (now replaced) to redraw the screen once while looping forever.&amp;#039;&amp;#039;&amp;#039;  This direct-call approach is now working by Windows events, like mouse-movements, to invoke a screen refresh.&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;The new refactored method, RefreshScene(), &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;if &lt;/del&gt;found in the startup-form, [[VB6_Dex3D.frm|Dex3D.frm]].  &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;The new refactored method, RefreshScene(), &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is &lt;/ins&gt;found in the startup-form, [[VB6_Dex3D.frm|Dex3D&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.frm]] now renamed to [[VB6_QuasiVisual3D&lt;/ins&gt;.frm]].  &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;===VB6 RefreshScene() method reworked from startup-form Dex3D.frm===&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;===VB6 RefreshScene() method reworked from startup-form Dex3D.frm===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>XenoEngineer</name></author>
	</entry>
	<entry>
		<id>http://groupkos.com/dev/index.php?title=VB6_Dex3D.frm&amp;diff=2958&amp;oldid=prev</id>
		<title>XenoEngineer at 14:11, 1 January 2024</title>
		<link rel="alternate" type="text/html" href="http://groupkos.com/dev/index.php?title=VB6_Dex3D.frm&amp;diff=2958&amp;oldid=prev"/>
		<updated>2024-01-01T14:11:31Z</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&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:11, 1 January 2024&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-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&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;  &amp;#039;&amp;#039;&amp;#039;After refactoring the code found below, the following code creates rather a function for direct-calling of scene-rendering, which is called from various points in the project code, where previously a flag was set to invoked a forever-loop (now replaced) to redraw the screen once while looping forever.&amp;#039;&amp;#039;&amp;#039;  This direct-call approach is now working by Windows events, like mouse-movements, to invoke a screen refresh.&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;  &amp;#039;&amp;#039;&amp;#039;After refactoring the code found below, the following code creates rather a function for direct-calling of scene-rendering, which is called from various points in the project code, where previously a flag was set to invoked a forever-loop (now replaced) to redraw the screen once while looping forever.&amp;#039;&amp;#039;&amp;#039;  This direct-call approach is now working by Windows events, like mouse-movements, to invoke a screen refresh.&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;The new refactored method, RefreshScene(), &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;follows next&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;The new refactored method, RefreshScene(), &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;if found in the startup-form, [[VB6_Dex3D&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;frm|Dex3D&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;frm]]&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;/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;===VB6 RefreshScene() method reworked from startup-form Dex3D.frm===&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;&amp;lt;pre style=&amp;quot;background:#333; color:lime; margin:0 auto; max-width:880px; padding:20px; &amp;quot;&amp;gt;&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;&amp;lt;pre style=&amp;quot;background:#333; color:lime; margin:0 auto; max-width:880px; padding:20px; &amp;quot;&amp;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;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;/table&gt;</summary>
		<author><name>XenoEngineer</name></author>
	</entry>
	<entry>
		<id>http://groupkos.com/dev/index.php?title=VB6_Dex3D.frm&amp;diff=2955&amp;oldid=prev</id>
		<title>XenoEngineer: Created page with &quot;{{headerQuasiVisual3D}}   &#039;&#039;&#039;After refactoring the code found below, the following code creates rather a function for direct-calling of scene-rendering, which is called from various points in the project code, where previously a flag was set to invoked a forever-loop (now replaced) to redraw the screen once while looping forever.&#039;&#039;&#039;  This direct-call approach is now working by Windows events, like mouse-movements, to invoke a screen refresh.  The new refactored method, R...&quot;</title>
		<link rel="alternate" type="text/html" href="http://groupkos.com/dev/index.php?title=VB6_Dex3D.frm&amp;diff=2955&amp;oldid=prev"/>
		<updated>2024-01-01T13:56:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{headerQuasiVisual3D}}   &amp;#039;&amp;#039;&amp;#039;After refactoring the code found below, the following code creates rather a function for direct-calling of scene-rendering, which is called from various points in the project code, where previously a flag was set to invoked a forever-loop (now replaced) to redraw the screen once while looping forever.&amp;#039;&amp;#039;&amp;#039;  This direct-call approach is now working by Windows events, like mouse-movements, to invoke a screen refresh.  The new refactored method, R...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{headerQuasiVisual3D}}&lt;br /&gt;
&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;After refactoring the code found below, the following code creates rather a function for direct-calling of scene-rendering, which is called from various points in the project code, where previously a flag was set to invoked a forever-loop (now replaced) to redraw the screen once while looping forever.&amp;#039;&amp;#039;&amp;#039;  This direct-call approach is now working by Windows events, like mouse-movements, to invoke a screen refresh.&lt;br /&gt;
&lt;br /&gt;
The new refactored method, RefreshScene(), follows next...&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#333; color:lime; margin:0 auto; max-width:880px; padding:20px; &amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Private Sub RefreshScene()&lt;br /&gt;
    &lt;br /&gt;
    If LockCamera = True Then&lt;br /&gt;
        VLight(MyLight).Origin = _&lt;br /&gt;
            VectorAdd( _&lt;br /&gt;
                VectorNull, _&lt;br /&gt;
                VectorScale( _&lt;br /&gt;
                    OrientationToVector(OrientationInput(0, OrbitLatitude, -OrbitLongitude)), _&lt;br /&gt;
                    -OrbitRadius _&lt;br /&gt;
                ) _&lt;br /&gt;
            )&lt;br /&gt;
        If CameraModel &amp;lt;&amp;gt; 0 Then&lt;br /&gt;
            VMesh(CameraModel).Origin = VLight(MyLight).Origin&lt;br /&gt;
            VMesh(CameraModel).Angles.Pitch = OrbitLatitude&lt;br /&gt;
            VMesh(CameraModel).Angles.Yaw = -OrbitLongitude&lt;br /&gt;
            VMesh(CameraModel).UpdateTransformation = True&lt;br /&gt;
        End If&lt;br /&gt;
    &lt;br /&gt;
    Else&lt;br /&gt;
        &lt;br /&gt;
        Call OrbitCamera(MyCamera, VectorNull, OrbitRadius, OrbitLongitude, OrbitLatitude)&lt;br /&gt;
        VLight(MyLight).Origin = VCamera(MyCamera).Origin&lt;br /&gt;
    &lt;br /&gt;
    End If&lt;br /&gt;
    &lt;br /&gt;
    &amp;#039;&amp;#039;  Render the new bitmap&lt;br /&gt;
    paintCanvas Picture1&lt;br /&gt;
    &lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sub paintCanvas(C As PictureBox)&lt;br /&gt;
    C.Cls&lt;br /&gt;
    RenderImage C, MyCamera&lt;br /&gt;
    &lt;br /&gt;
    LastFaceOver = 0  &amp;#039;&amp;#039;  The active mesh face(triangle) under the mouse pointer.&lt;br /&gt;
    &lt;br /&gt;
    &amp;#039;&amp;#039;  Print UI properties to the canvas  &amp;#039;&amp;#039;&lt;br /&gt;
    C.ForeColor = vbWhite&lt;br /&gt;
    C.Print &amp;quot;Longitude: &amp;quot; &amp;amp; Int(RadianToDegree(OrbitLongitude))&lt;br /&gt;
    C.Print &amp;quot;Latitude: &amp;quot; &amp;amp; Int(RadianToDegree(OrbitLatitude))&lt;br /&gt;
    C.Print &amp;quot;Radius: &amp;quot; &amp;amp; Int(OrbitRadius)&lt;br /&gt;
    C.Print&lt;br /&gt;
    C.Print &amp;quot;Name: &amp;quot; &amp;amp; VMesh(MyMesh).Tag&lt;br /&gt;
    C.Print &amp;quot;Vertices: &amp;quot; &amp;amp; VMesh(MyMesh).Vertices.Length&lt;br /&gt;
    C.Print &amp;quot;Faces: &amp;quot; &amp;amp; VMesh(MyMesh).Faces.Length&lt;br /&gt;
    &lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;Following is a nearly original Dex3D method, which created a forever-loop for flagged-repaints in the VB6 Form_Activate() event.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;background:#333; color:lime; margin:0 auto; max-width:880px; padding:20px; &amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Private Sub Form_Activate()&lt;br /&gt;
    Debug.Print &amp;quot;Beginning Form_Activate()&amp;quot;&lt;br /&gt;
    &lt;br /&gt;
    &amp;#039;Dim FrameRate As Single &amp;#039;&amp;#039;obsoleted by event-driven drawing&lt;br /&gt;
    &lt;br /&gt;
    If BeginRenderLoop = True Then&lt;br /&gt;
        &amp;#039;&amp;#039;  Run render loop once  &amp;#039;&amp;#039;&lt;br /&gt;
        BeginRenderLoop = False&lt;br /&gt;
        &lt;br /&gt;
        Do Until (RenderLoopCanceled) &amp;#039;&amp;#039; Added RenderLoopCanceled by XenoEngineer&lt;br /&gt;
            If RefreshScene = True Then&lt;br /&gt;
                RefreshScene = False&lt;br /&gt;
                &lt;br /&gt;
                LastFaceOver = 0&lt;br /&gt;
                If LockCamera = True Then&lt;br /&gt;
                    VLight(MyLight).Origin = _&lt;br /&gt;
                        VectorAdd( _&lt;br /&gt;
                            VectorNull, _&lt;br /&gt;
                            VectorScale( _&lt;br /&gt;
                                OrientationToVector(OrientationInput(0, OrbitLatitude, -OrbitLongitude)), _&lt;br /&gt;
                                -OrbitRadius _&lt;br /&gt;
                            ) _&lt;br /&gt;
                        )&lt;br /&gt;
                    If CameraModel &amp;lt;&amp;gt; 0 Then&lt;br /&gt;
                        VMesh(CameraModel).Origin = VLight(MyLight).Origin&lt;br /&gt;
                        VMesh(CameraModel).Angles.Pitch = OrbitLatitude&lt;br /&gt;
                        VMesh(CameraModel).Angles.Yaw = -OrbitLongitude&lt;br /&gt;
                        VMesh(CameraModel).UpdateTransformation = True&lt;br /&gt;
                    End If&lt;br /&gt;
                Else&lt;br /&gt;
                    Call OrbitCamera(MyCamera, VectorNull, OrbitRadius, OrbitLongitude, OrbitLatitude)&lt;br /&gt;
                    VLight(MyLight).Origin = VCamera(MyCamera).Origin&lt;br /&gt;
                End If&lt;br /&gt;
                &lt;br /&gt;
                Picture1.Cls&lt;br /&gt;
                Call RenderImage(Picture1, MyCamera)&lt;br /&gt;
                Picture1.ForeColor = vbWhite&lt;br /&gt;
                Picture1.Print &amp;quot;Longitude: &amp;quot; &amp;amp; Int(RadianToDegree(OrbitLongitude))&lt;br /&gt;
                Picture1.Print &amp;quot;Latitude: &amp;quot; &amp;amp; Int(RadianToDegree(OrbitLatitude))&lt;br /&gt;
                Picture1.Print &amp;quot;Radius: &amp;quot; &amp;amp; Int(OrbitRadius)&lt;br /&gt;
                Picture1.Print&lt;br /&gt;
                Picture1.Print &amp;quot;Name: &amp;quot; &amp;amp; VMesh(MyMesh).Tag&lt;br /&gt;
                Picture1.Print &amp;quot;Vertices: &amp;quot; &amp;amp; VMesh(MyMesh).Vertices.Length&lt;br /&gt;
                Picture1.Print &amp;quot;Faces: &amp;quot; &amp;amp; VMesh(MyMesh).Faces.Length&lt;br /&gt;
            End If&lt;br /&gt;
            &lt;br /&gt;
            DoEvents&lt;br /&gt;
        Loop&lt;br /&gt;
        &lt;br /&gt;
    End If&lt;br /&gt;
    Debug.Print &amp;quot;Ending Form_Activate()&amp;quot;&lt;br /&gt;
    &lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>XenoEngineer</name></author>
	</entry>
</feed>