Job Opportunies in Germany

New Message Reply Date view Thread view Subject view Author view

YAMANAKA MASAHIKO (wryml++at++dimwit.dst.nk-exa.co.jp)
Mon, 21 Apr 1997 14:03:54 +0900


^^) PFMP_CULLoDRAW does not use the normal "cull into a display list and
^^) then when you're done pass that list to the draw" technique of
^^) Performer. Rather, it uses the list as a circular buffer where the draw
^^) consumes the info as the cull is writing it. As a side-effect of this,
^^) the list is "used up" (potentially overwritten) in the first drawing,
^^) so it no longer exists for reuse in multipass applications.
^^)
^^) It could be made to work differently, where we used an "as long as
^^) needed" list between cull and draw, ran the cull and draw together as
^^) they are now, but would then still have the complete list available at
^^) the end for reuse in multipass applications. This is not something
^^) that's been asked for until now, and it's likely too late to consider
^^) it for the Performer 2.2 release. I will add it to the request for
^^) enhancement (RFE) list for the future.

Thanks!

However...

I don't need reuse for display lists but I have some databases and the
databases are different unit systems so I can't merge them.

As result I tested, using multiple scenes and PFMP_APP_CULL_DRAW,

  chan1->setScene( scene1 ); //scene1 doesn't have any geometries as test case
                             //but chan1 clears color&depth-buffer
  chan2->setScene( scene2 ); //scene2 doesn't have any geometries as test case

generates following chan->drawStats(). and reaches only 30fps.

App |-- | |-- | |--
Cull |- | |- | |-
Draw | |---- | |---- |

On the oher hand, without scene2,

App |-- |-- |-- |-- |--
Cull |- |- |- |- |-
Draw |---- |---- |---- |---- |----

and reaches 60fps.

In order to solve this problem, I had thought to use CULLoDRAW but
it didn't work.

Can't this be helped ?
So far as I use multiple scenes, it can't be reached at 60fps?

Thanks,

--
M.Y.
=======================================================================
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:55:06 PDT

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