Accumulation

New Message Reply Date view Thread view Subject view Author view

Spencer, Dan (DSR++at++trasys.be)
Mon, 29 Jul 96 14:39:00 +2


Here is a bizare problem:

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


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:53:14 PDT

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