[info-performer] how to get pfDCS absolute coordinate

Date view Thread view Subject view Author view

From: Andrea Martini (andrea.martini++at++cetma.it)
Date: 11/08/2004 01:15:23


*This message was transferred with a trial version of CommuniGate(tm) Pro*
Hi to all,
i would like to get absolute coordinate of a node,(ie pfDCS), after some
transformations. In example, i suppose to have a pfDCS node, and starting
from P0(0.0,0.0,0.0) i move this node first in P1(X1,Y1,Z1) with HPR1
rotation, then in
P2(X2,Y2,Z2) with HPR2 rotation, ... and last, at in Pn(Xn,Yn,Zn) with HPRn
rotation. If i use pfDCS::getMat(), performer returns me only the last
transformation as translate. But, i want the absolute position (in the World
Coordinate), of this node inside the scene.
Could someone help me?
thank you

PS: I use Opengl Performer 3.1, on Windows 2000, and Visual c++ 6.0


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Nov 08 2004 - 01:16:26 PST