[Papervision3D] Object Matrices
tim.knip at gmail.com
Thu May 1 09:10:06 PDT 2008
You can simply manipulate the DO3D by its #transform.
do3d.transform.n14++; // increment X
do3d.transform = Matrix3D.rotationMatrix(0, 1, 0, Math.PI/2); // set
do3d's Y rotation to 90 degrees
2008/5/1 Joseph Curtin <daJo3y at gmail.com>:
> Indeed it does help! However, I was looking to manipulate the DO3D object
> from the matrix. I assume that would still be possible with the transform
> matrix, or will i have to get the adjustment values and use the pitch/scale
> as my method of manipulation?
> On Thu, May 1, 2008 at 11:27 AM, Seb <sebstar55 at gmail.com> wrote:
> > Hi there!
> > DO3D.transform is the transformation matrix for the object. If you're
> > manipulating the object using rotationX, pitch and yaw etc, the
> > transformation matrix won't get updated until after the render cycle.
> > Hope this helps!
> > Seb
> > Seb Lee-Delisle
> > Technical Director
> > Plug-in Media
> > pluginmedia.net
> > On Thu, May 1, 2008 at 4:11 PM, Joseph Curtin <daJo3y at gmail.com> wrote:
> > > Hey all,
> > >
> > > I am reading though mad amounts of books to learn 3d programming.
> > > I am looking to figure out how to determine(or obtain) the Matrix of a
> > > If i have just fumbled the terminology, inform me and I will attempt to
> > > remedy my blunder.
> > >
> > > --
> > > -Joe
> > > _______________________________________________
> > > Papervision3D mailing list
> > > Papervision3D at osflash.org
> > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > >
> > >
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> Papervision3D mailing list
> Papervision3D at osflash.org
More information about the Papervision3D