I thought that would be taken care of when I do: auto pos = osg::Vec3(relPos[0], relPos[2], relPos[1]);
That should swap the Z accordingly? Or am I missing the boat on this one. On Wed, Jun 24, 2015 at 3:25 PM, Jan Ciger <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 25/06/15 00:13, sam wrote: > > Ah, I see. Throwing the parent matrix at the end of the > > multiplication puts the debug data in the correct place! Thanks, > > Jan. Only other issue is the model is coming in on its side > > compared to the basic viewer camera. > > > > OSG uses z-up convention, likely your model is exported y-up. You may > want to rotate it by 90 degrees around the x axis. > > Regards, > > J. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 > > iD8DBQFViy5nn11XseNj94gRApweAKDIAGNUw4sUIb/OxJg5yB9fK3GB3gCfeUxN > B75nRtPoU+Eibxo0W+tvnwY= > =HlPi > -----END PGP SIGNATURE----- > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

