Ming Wah (eng30228++at++leonis.nus.sg)
Sat, 8 Mar 1997 11:33:21 +0800 (SST)
What are the reference points in perfly.c that the trackball
performs it functions on? For eg. The first mouse button moves the object
in the plane of the monitor, the middle mouse button does the rotation
about a point and the third button moves the object in and out of the
screen. I need to know what is the reference point that the trackball
operates when rotating the object. The current situation is that I have
loaded into perfly multiple objects under different DCSs. I also included
a function which allows me to switch between the models for the trackball
movements. Upon loading, I noticed that only the last object rotates on
its own centroid, while the others rotates around some other reference
point (I suspect that the reference point is the point of the DCS of the
last object loaded). What coordinates must I save during loading if the
models so that when I toggle the current DCS, I have to reload the
reference points? Hope my question is right.
Thanks!!!
ps: Are there any documentations on the code perfly.c ?
==========================================================================
Lim Ming Wah
Department of Mechanical and Production Engineering
Faculty of Engineering
National University of Singapore
==========================================================================
=======================================================================
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:54:51 PDT