<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.eech.online/index.php?action=history&amp;feed=atom&amp;title=3D_Scenes_internals</id>
	<title>3D Scenes internals - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.eech.online/index.php?action=history&amp;feed=atom&amp;title=3D_Scenes_internals"/>
	<link rel="alternate" type="text/html" href="https://wiki.eech.online/index.php?title=3D_Scenes_internals&amp;action=history"/>
	<updated>2026-12-06T18:59:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.47.0</generator>
	<entry>
		<id>https://wiki.eech.online/index.php?title=3D_Scenes_internals&amp;diff=6&amp;oldid=prev</id>
		<title>imported&gt;SimHQ import: Imported from eechcentral.simhq.net</title>
		<link rel="alternate" type="text/html" href="https://wiki.eech.online/index.php?title=3D_Scenes_internals&amp;diff=6&amp;oldid=prev"/>
		<updated>2026-11-14T00:00:00Z</updated>

		<summary type="html">&lt;p&gt;Imported from eechcentral.simhq.net&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;There are several implicit rules used in the [[3D models|Lightwave Scenes]] to reflect EE scenes internals.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;200px&amp;quot; valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;root objects&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Objects of the scene compose objects hierarchy. Only one root object (i.e. object without parent) is allowed. Usually it is the greatest object in the scene (for example, body). Special objects (described below) are treated separately and actually are out of hierarchy.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;named objects&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Every object (except the root one) can be &amp;quot;named&amp;quot;. If an item has a label assigned it can be used in the game to search for this sub object and control it manually then.&lt;br /&gt;
&lt;br /&gt;
For example, compass direction is controlled by the game manually. To show correct arrow heading it is required to find it and then set its position parameters respectively to internal state.&lt;br /&gt;
&lt;br /&gt;
The list of such names can be found in &amp;lt;code&amp;gt;OBJECT_3D_SUB_OBJECT_INDEX_NUMBERS&amp;lt;/code&amp;gt; enum (&amp;lt;code&amp;gt;OBJECT_3D_SUB_OBJECT_&amp;lt;/code&amp;gt; prefix must be skipped).&lt;br /&gt;
If you want to add another search name, you should modify that enum. No converter changes or repeat of conversion procedure are required though.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;keyframe animation limits&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Keyframe animation consists of change of 9 parameters (position, rotation and scale, 3 scalars per each). Those are set separately in key frames. Interpolation is used to calculate actual values in intermediate frames. Explicit interpolation function with parameters is used for it.&lt;br /&gt;
&lt;br /&gt;
It is obligatory to use the only interpolation function (with the same parameters) for each animation. Only Linear and TCB are supported by the engine.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;non-timed animation&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Animation may be used in non-timed manner.&lt;br /&gt;
For example, if we have a speed gauge and a needle, we may have animation translating current speed into needle&amp;#039;s position.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;rotation limits&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| It is possible to set limits for heading, pitch and bank for some subobject.&lt;br /&gt;
Either all three should be set or none of them.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;shadow objects&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| EECH supports two types of shadow objects. Either it is a specific non-null object or it&amp;#039;s just a LOD (LODs) of the root object.&lt;br /&gt;
Usage of Lightwave object marked with &amp;lt;code&amp;gt;SHADOW_OBJECT&amp;lt;/code&amp;gt; label is used as a shadow for the scene. A scene may have no such object.&lt;br /&gt;
Its position makes no effect.&lt;br /&gt;
&lt;br /&gt;
If a specific object must be used it is specified directly.&lt;br /&gt;
&lt;br /&gt;
If a LOD (LODs) must be used the NullObject is used and its name is composed as &amp;lt;code&amp;gt;NullObject (L2)&amp;lt;/code&amp;gt; where &amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt; is the starting LOD number for shadow.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;collision objects&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| The non-null object marked with &amp;lt;code&amp;gt;COLLISION_OBJECT&amp;lt;/code&amp;gt; label is used as a shadow for the scene.&lt;br /&gt;
A scene may have no such object.&lt;br /&gt;
Its position makes no effect.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;link objects&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Null objects with &amp;lt;code&amp;gt;LINK_OBJECT&amp;lt;/code&amp;gt; names (not labels!) can be used for defining links to other scenes.&lt;br /&gt;
The labels of such objects must hold correct scenes names.&lt;br /&gt;
&lt;br /&gt;
For scenes names please address to &amp;lt;code&amp;gt;OBJECT_3D_INDEXS&amp;lt;/code&amp;gt; enum (without &amp;lt;code&amp;gt;OBJECT_3D_&amp;lt;/code&amp;gt; prefix)&lt;br /&gt;
If you want to add another scene, you should modify that enum. No converter changes or repeat of convertion procedure are required though.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot; | &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;cameras&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
| Cameras names must be ones of defined in &amp;lt;code&amp;gt;OBJECT_3D_CAMERA_INDEX_NUMBERS&amp;lt;/code&amp;gt; enum (without &amp;lt;code&amp;gt;OBJECT_3D_CAMERA_&amp;lt;/code&amp;gt; prefix).&lt;br /&gt;
The parent object of the camera is always the root object.&lt;br /&gt;
Camera may have a target object.&lt;br /&gt;
&lt;br /&gt;
If you want to add another camera name, you should modify that enum. No converter changes or repeat of convertion procedure are required though.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[3D Models]]&lt;br /&gt;
* [[Development]] - For questions please address to developers mail list.&lt;br /&gt;
&lt;br /&gt;
[[category:developing]]&lt;/div&gt;</summary>
		<author><name>imported&gt;SimHQ import</name></author>
	</entry>
</feed>