<p>Hi developers of the xoreos,</p>
<p></p>
<p>After reading the xoreos.org site I was very impressed how you reverse engineered the game formats, and quickly created some working module loader where one can fly across the level click on the creatures and placeables.</p>
<p>I am more interested in KOTOR and that is why mostly try to understand insides of this game.</p>
<p></p>
<p>When I investigate the resources of the kotor in KotorTools I find that I can export mdl models in ascii human readable format to understand it, I am understand vertices, UVs, faces, but stuck on the animations of the placebles(not creatures).</p>
<p></p>
<p>This is an example of the animation of the creature:</p>
<p>positionkey<br />  0 -0.2309760004282 -0.0177801996469498 0.010844400152564</p>
<p>orientationkey</p>
<p>  0 1.66655885251617e+036 1.81793339299717e+034 0 3.14159265358979</p>
<p>As I am understand first number it is a time mark, and then x,y,z in position and axisAngle quartet in orientation.</p>
<p></p>
<p>But in placeble (dor_lda01.mdl converted via mdlops 0.6) I see:</p>
<p>orientationkey<br />    2 0 0 -1 3.14159265358979</p>
<p>positionkey<br /> 0 -0.041916698217392 0.096728503704071 0 0 0 0 0 0 0 -0.0645015016198158 0 0 0 0 0 0 0 0 -0.0474167987704277<br /> 0.100000001490116 -0.041916698217392 0.096728503704071 -0.00970267038792372 0 0 0.0229321997612715 0 0 -0.0474167987704277 0 0 0 0 0 0 0 0 -1.90687000751495 0<br /> 0.200000002980232 -0.041916698217392 1.33635848760605 0 0 0 0 0<br /> 0.533333003520966 -0.041916698217392 0.096728503704071 0<br /> 2 -0.041916698217392 0.096728503704071 0</p>
<p></p>
<p>Orientation is the same as in creature's orientation, but it seems there is something wrong with PositionKey.</p>
<p>May be you can help me to understand how to interpret the positionkey</p>
<p></p>
<p>Best regards</p>
<p>Dmitry Savchenko</p>
<p></p>
<p></p>