john econopouly (john++at++video1.bloomberg.com)
Fri, 21 Feb 1997 19:29:09 -0500
I've inherited a large performer app. that cannot perform smooth
animations. Smooth animations are what I want.
It was running with
pfFrameRate(60),
and pfPhase(PFPHASE_LOCK),
and appeared to miss a frame every few frames.
I thought ok, let me slow the frame rate way down, and set
pfFrameRate(3.0f),
which to my surprise didn't change anything. And now at this lower
frame rate I could tell for sure that the app was skipping every
third or 4th frame (or 5th, 6th). Weird. I tried it again - set
pfFrameRate(1.0f).
Again, no change - in fact, performance might have slightly
deteriorated, now skipping a frame every 3rd or 4th, but sometimes 2nd.
What?!? I set
pfFrameRate(0.1f),
just to be sure, again with no improvement in performance - in fact now
a frame was being skipped every 2 or 3 frames it seemed. I am very
confused. I have removed everything from between pfSync and pfFrame -
results are exactly the same. Does anyone have a clue?
The app also exhibits the following unexpected behavior, which may or
may not be related:
Setting pfPhase(PFPHASE_FLOAT) has no effect. This is easy to see in
the 1 frame/sec setting - if it skips a frame, it obviously waits
exactly a whole second. (and I know the statement is being read, since
if I set it to FREERUN it does FREERUN, i.e.much faster.)
Any help would be greatly greatly appreciated.
(email is preferred, I might miss a post)
thanks
j
=======================================================================
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:41 PDT