Hi, Maurus,
I think it's the order of the multiplies. It should be like vec*MatA*MatB, If
you want to apply an osg::Matrix on a osg::Vec. But I do not quiet know why
osg::Quat does not obey this: for a osg::Quat, the form quat * vec is used.___
Hello everyboy,
currently, I am trying to get some transformations working to display a
cylinder as a line of sight.
As you can see in the code below, I want to get the rotation represented by the
Quaternion q into the Matrix mat, but neither preMultRotate using the quat nor
multiplying as a
Hi,
It was the loading of the rotation Matrix, the Y-up Rotation just rotates 90
degrees on the wrong axis, but the animation was still working OK :)
Pau
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=15319#15319
Hi Pau,
On 21/7/09 10:12 PM, Pau Moreno wrote:
Thank you very much Ulrich!! It works! I don't know why the other things I've
tried
didn't work but now is working!!!
Out of curiosity, what was the issue? The loading of the existing matrix into osg::Matrix
or the order of transformation or
Hi,
Thank you very much Ulrich!! It works! I don't know why the other things I've
tried didn't work but now is working!!!
Thank you!
Cheers,
Pau
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=15195#15195
Hi Ümit,
I try to use osg::Switch to insert all the data I have in the files( each file
in a separate node with his own transform matrix ), so I can switch the nodes
in each frame, but I don't know why it seems that the second and following data
I insert accumulates the previous matrix
On 17/7/09 8:19 PM, Pau Moreno Font wrote:
I'm trying to change my OGL code to OSG but I'm having really problems
with the transformations... I have 174 data files that each contains a
cloud of points, a vector3 with the translartion, and the matrix of
rotation of each cloud. So in OGL, i just
Hi,
I'm trying to change my OGL code to OSG but I'm having really problems with
the transformations... I have 174 data files that each contains a cloud of
points, a vector3 with the translartion, and the matrix of rotation of each
cloud. So in OGL, i just do:
{
LoadFile( x++)
Hi Paul;
So in OSG first of all I try to do it with a osg::Switch but seems that
this node accumulate the transformations... is that right?
What do you mean about osg::Switch. It's not specific feaute on accumulating
trasformation for osg::Switch as I know. It actual target is switching node
9 matches
Mail list logo