From: Christopher D. Johnson (cubicwts++at++excite.com)
Date: 02/09/2006 11:56:00
That is close to what I need, but I actually need the results of the calculations that perform that transformation on the slaved channel.
Is there a general algorithm I can implement that I can use to calculate myself what the relationship is?
Christopher D. Johnson
AV-8B Harrier II Simulators
ISEO Support Team
Cherry Point, NC
252-466-4542
252-466-4538
--- On Mon 02/06, Allan Schaffer < allan++at++sgi.com > wrote:
From: Allan Schaffer [mailto: allan++at++sgi.com]
To: cubicwts++at++excite.com
Cc: info-performer++at++sgi.com
Date: Mon, 06 Feb 2006 16:36:03 -0800
Subject: Re: [info-performer] Euler Angles and Vertice Relationships
Christopher D. Johnson wrote:> Greetings all. I have a Performer based application in which I have 2> video channels that use the same (x,y,z) coordinate as their origin> but vector off ("look") in different directions. Each camera has the> capability to change it's yaw, pitch, and roll. I am now trying to> "tie" the cameras together in such a way that when camera A has a> change in yaw, pitch, and/or roll, camera B keeps it's angular> relationship with A. Yep, Performer has built-in functionality for this so it should be straightforward. - Slave one channel to the other with pfAttachChan() - Control which channel attributes are shared with pfChanShare(); - set an "offset" for the slave with pfChanViewOffsets(); (obviously, DON'T share the offset)There's an example in the pfChannel manpage. (Also be sure to read the part about local lighting)Good luck,Allan-- Allan Schaffer allan++at++sgi.comEngr. Dept. Manager, Visual Systems
Group 1-650-933-2160Silicon Graphics http://www.sgi.com
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
This archive was generated by hypermail 2b29 : Thu Feb 09 2006 - 11:56:26 PST