<div dir="ltr"><div>I thought that would be taken care of when I do: <br><br>auto pos = osg::Vec3(relPos[0], relPos[2], relPos[1]);<br><br></div>That should swap the Z accordingly? Or am I missing the boat on this one.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 24, 2015 at 3:25 PM, Jan Ciger <span dir="ltr"><<a href="mailto:jan.ciger@gmail.com" target="_blank">jan.ciger@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</span><span class="">On 25/06/15 00:13, sam wrote:<br>
> Ah, I see. Throwing the parent matrix at the end of the<br>
> multiplication puts the debug data in the correct place! Thanks,<br>
> Jan. Only other issue is the model is coming in on its side<br>
> compared to the basic viewer camera.<br>
><br>
<br>
</span>OSG uses z-up convention, likely your model is exported y-up. You may<br>
want to rotate it by 90 degrees around the x axis.<br>
<br>
Regards,<br>
<span class=""><br>
J.<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2<br>
<br>
</span>iD8DBQFViy5nn11XseNj94gRApweAKDIAGNUw4sUIb/OxJg5yB9fK3GB3gCfeUxN<br>
B75nRtPoU+Eibxo0W+tvnwY=<br>
=HlPi<br>
<div class="HOEnZb"><div class="h5">-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</div></div></blockquote></div><br></div>