<div dir="ltr"><div><span style="background-color:rgb(255,255,255)"><font color="#351c75"><span style="font-size:12.8px">Hi,</span></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#351c75"><span style="font-size:12.8px"><br></span></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#351c75"><span style="font-size:12.8px">Made some progress on KotOR animations. Commit from my latest PR enables xoreos to load position/orientation controllers from KotOR models. Compressed quaternions and 19 data column position controllers are not handled atm, though it seems to work OK with character models already. One problem I noticed is that characters fall through the ground when animated. Not sure what would be the right way to fix that (using bounding box maybe?).</span></font></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#351c75"><span style="font-size:12.8px"><br></span></font></span></div><span style="background-color:rgb(255,255,255)"><font color="#351c75"><span style="font-size:12.8px">> The only reasonable way to implement this is by vertex shader.</span><br style="font-size:12.8px"><span style="font-size:12.8px">> (Thats how its done in jade and probably in kotor too.)</span><br style="font-size:12.8px"><span style="font-size:12.8px">> This means we need to wait for mirv to finish his shader rework.</span></font></span><div><font color="#351c75"><span style="font-size:12.8px"><br></span></font></div><div><font color="#351c75"><span style="font-size:12.8px">As for the skeletal animation, I was thinking about making a separate vertex buffer per each animation time key for the time being (at model loading, no interpolation). Should I do that or better not bother?<br></span></font><div><font color="#351c75"><span style="font-size:12.8px"><br></span></font></div><div><font color="#351c75"><span style="font-size:12.8px">Regards,</span></font></div><div><font color="#351c75"><span style="font-size:12.8px">Vsevolod<br></span></font><div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-26 0:36 GMT+07:00 Sven Hesse <span dir="ltr"><<a href="mailto:drmccoy@drmccoy.de" target="_blank">drmccoy@drmccoy.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 2017-08-25 19:22:47 +0200, Farmboy0 wrote:<br>
> Actually most of the values for the Kotor model files are known.<br>
<br>
</span>Ah, okay, then I am just misremembering things. My bad. :)<br>
<br>______________________________<wbr>_________________<br>
xoreos-devel mailing list<br>
<a href="mailto:xoreos-devel@xoreos.org">xoreos-devel@xoreos.org</a><br>
<a href="https://xoreos.org/mailman/listinfo/xoreos-devel" rel="noreferrer" target="_blank">https://xoreos.org/mailman/<wbr>listinfo/xoreos-devel</a><br>
<br></blockquote></div><br></div></div></div></div></div>