John Rohlf (jrohlf++at++tubes)
Thu, 28 Oct 93 09:23:21 -0700
Probably the best method is to fork a processs which runs the
dynamics simulation and communicates the results to Performer's APP
process through shared memory. Remember that this dynamics process
should not modify any Performer data structures. You can
use the video clock through pfVClockSync to synchronize this process.
pfVClockSync() uses the video retrace clock for synchronization
so it won't work for rates > the video rate which is usually 60Hz.
Therefore, running at 120Hz is problematic and requires a different
synchronization mechanism. You could spin on pfGetTime() if you had
a CPU to burn.
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:04 PDT