Jean-Claude Bachmann (jean-claude.bachmann++at++artemedia.de)
Thu, 02 Jan 1997 11:17:53 +0100
You forgot to mention which path utility you are using. If you took
the pfuPath shipped with performer there is a function called
pfuFollowPath(..., float seconds,....
which takes as one of its arguments a timestamp at which to calculate
the position on the path. Now if you want to reset the path to the
beginning, you simply have to keep an internal clock which is set to
zero again. (pfuFollowPath(path,0,where,orient) should calculate the
path at the beginning). The only problem I remember is that there is
no function which tells when the path is at the end. There really should
be a return value for the pfuFollowPath routine that gives something
like PATH_FINISHED.
J.C.
--******************************************************************** * Artemedia GmbH | Tel.: +49 [0]30 25443 - 0 * * Jean-Claude Bachmann | Tel.: +49 0172 - 219 13 76 * * Budapesterstr. 40 | Fax.: +49 [0]30 25443 - 240 * * D-10787 Berlin | email: jean-claude.bachmann++at++artemedia.de * * Germany | Web Page http://www.artemedia.de * ******************************************************************** ======================================================================= 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:16 PDT