Hi,

Yes the operator run well, but the translation in the matrix in ignored (4th
colomn)...
I have a translation matrix, I use the operator on a vec3... and the result
is a little vector (from ~100 unit lengh to 0.0001 unit, with a translation
of ~3000,-2000,1500)

I do not understand all...

2008/12/10 Thrall, Bryan <[EMAIL PROTECTED]>

> Vincent Bourdier wrote on Wednesday, December 10, 2008 10:31 AM:
>
> > Hi,
> >
> > Just a problem of math & OSG :
> >
> > I have
> >  * a vec3d point in relative coordinate
> >  * a matrix to transform in world coordinate
> >
> > I need to make something equivalent to vec = mat * vec ...
> > But the 3d vector cannot be trnasformed by a matrix (4*4) ...
>
> Matrixd provides Vec3d operator* ( const Vec3d& v ), so you should be
> just fine with vec = mat * vec.
>
> --
> Bryan Thrall
> FlightSafety International
> [EMAIL PROTECTED]
> _______________________________________________
> 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

Reply via email to