Scott McMillan (scott++at++ht.com)
Thu, 15 May 1997 12:55:46 -0400 (EDT)
Lemme try again (and be a little more public). This is what I have done in
the past with robotic sims where the point of rotation for a particular model
will always be in the same place with respect to that model. I believe it is
equivalent to some of the single DCS answers I have seen.
I strive for the following subgraph (for each link in the system), by
inserting an SCS:
DCS (joint axis - variable)
|
SCS (offset to point of rotation - constant)
|
Model (Geode,Geosets,etc)
....later if I want to make it more efficient, I can pfFlatten or ask the 3D
modelers to give me a new model with the origin moved to the point of
rotation.
For example if you want the point of rotation to be about 1,1,1 of the models
coordinate system. The SCS's matrix will consist of a translation of
-1,-1,-1 (I hope, I dont have that backwards).
I have to align my models so that the single axis of rotation is about the
z-axis so I generally have to have some rotation in my SCS matrix to align
this correctly. If I can do it, I will always have the modeller create the
models with the origin and orientation in the place I need it so that I do
not have to go through this process.
Hope this helps,
scott
-- Scott McMillan | HT Medical, Inc. | Developing medical VE's scott++at++ht.com | http://www.ht.com | surgical simulations Ph: 301-984-3706 |6001 Montrose Rd., #902| and surgery simulation Fax: 301-984-2104 | Rockville, MD 20852 | creation tools.======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:14 PDT