Re: Determining global coordinates from DCS

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++sgi.com)
Tue, 02 Jun 1998 17:01:31 -0700


Corde Lane wrote:
>
> Quick question,
>
> I have created a robotic arm and would like to view from the end of that
> arm. However the DCS matrices are in local coordinates. Is there a way
> to determine a DCS in world coordinates? Or can I attach a channel view
> to a DCS node ?
>

Multiply all pfDCS matrices in the scene path to the arm together to
produce a world matrix which is then specified as the channel viewing
matrix.

For the gl it's actually the inverse viewing which is then computed by
performer for use by the gl. One way of visualizing this is by imagining
that by the time you model transform to the end of the arm (using pfDCS
nodes)
you have an identity matrix, ie no model viewing matrix, ie that's where
the eye is.

Cheers,Angus.

-- 
"Only the mediocre are always at their best." -- Jean Giraudoux 

For advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/ ======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/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 2.0b2 on Mon Aug 10 1998 - 17:57:30 PDT

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