View Single Post
  #5  
Old 10-02-2006, 10:30 AM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
Here is how the destination matrix is computed.

All varables are 4x4 transfrom matrixes.

input:
Source
PreOps
PostOps

Destination = PreOps * Source * PostOps

There is also another level of detale avalable with link operations because the source data starts as two matrixes, position and orientation. You can specify if the operations should be applied to just the sources position or orientation matrix with the "target" parameter. Here is the expanded equation.

input:
Source_Pos
Source_Ori
PreOps_Pos
PostOps_Pos
PreOps_Ori
PostOps_Ori
PreOps_Full
PostOps_Full

Destination = (PreOps_Full)*(PreOps_Pos*Source_Pos*PostOps_Pos)* (PreOps_Ori*Source_Ori*PostOps_Ori)*(PostOps_Full)
__________________
Paul Elliott
WorldViz LLC
Reply With Quote