Spencer, Dan (DSR++at++trasys.be)
Mon, 29 Jul 96 14:39:00 +2
I use an accumulation buffer to simulate depth of field effects on an onyx.
I have set up the acsize(16) etc.
I have a gl (old gl) program which calls:
acbuf(AC_ACCUMULATE,1.0)
And takes very little time ( less than 20 milli secs), giving me frame
rates greater than 36 Hertz for a single pass.
BUT, when I use this same call from within a Performer draw callback, it
takes over
250 milli seconds, giving me frame rates of about 4 Hz (on a single pass).
(It has been set up in the same way )
Both programs function correctly in the same way (but of course one is MUCH
slower than the other), and no warnings etc are produced.
Is there's something extra to do in Performer ?
Whats going on ?
( I used gettimeofday to time the actual function call).
Thanks in advance
Dan
=======================================================================
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:53:14 PDT