Re: pfSync() and faster dynamics

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Fri, 29 Oct 93 19:07:39 -0700


Probably the best way to do this is to fork off a
process which uses pfVClockSync() to wake up on
every video retrace (60Hz) while running Performer
at a frame rate of 30Hz. The dynamics process can
communicate back to the application process
through shared memory.

Or if you're sure the appliation process runs
safely under 16ms, you could run your current
simulation loop but only call pfSync/pfDraw every
other time. On the other iterations you could use
pfVClockSync() to go to sleep until the next video
retrace.

rgds,

-jim helman

jimh++at++surreal.asd.sgi.com
415/390-1151


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:04 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.