Re: dcsnode->setCoord problem solved !?

New Message Reply Date view Thread view Subject view Author view

From: Marcin Romaszewicz (marcin++at++asmodean.engr.sgi.com)
Date: 11/14/2001 19:10:57


It looks like a bug. To save work, performer marks the DCS as "dirty" for
rotation and translation separately. It looks like pfDCS::setCoord
function marks the wrong dirty bits for translate and rotate. Does your
program work correctly if you call :

dcs->setTrans(coord.xyz[0], coord.xyz[1], coord.xyz[2]);
dcs->setTrans(coord.hpr[0], coord.hpr[1], coord.hpr[2]);

-- Marcin

On Wed, 14 Nov 2001, Ive Akkermans wrote:

> Hi performers,
>
> I have found the solution to the dcsnode->setCoord(&coord) problem.
>
> If i define a new pfMatrix, and do a matrix.makeCoord(coord), then do
> dcsnode->setMat(matrix), it works ! Is this a bug in performer ?? In
> this case, both the translation and the rotation components are
> updated... One would think that ->setCoord(&coord) would do the same ?
>
> Is this a known problem in performer ?
>
> greetings,
> ive.
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Nov 14 2001 - 19:10:59 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.