From: Dorosky, Christopher G (christopher.g.dorosky++at++lmco.com)
Date: 07/17/2002 15:17:35
This is a weird problem that is probably documented somewhere.
There are 3 geosets, attached to 3 geodes (one each) in a scene.
They all share the same pfGeoState.
pfStats reports 1 geostate.
If I attach a predraw callback to the geodes, then I get different behavior,
based on the MP mode.
In single process, I still get 1 geostate.
In APP_CULL_DRAW, I get 3 geostates (one per geoset).
This also happens, with no draw callbacks, but using drawBins.
This stinks, because my real scene has hundreds of items that I was trying
to bin, and
the geostate context overhead is hurting performance.
I understand that in pre-draw callbacks, you have to be careful, because the
user might have issued a direct GL command, and hosed the state, but
there should be some way to override this and take the consequences, right??
Thanks,
Christopher Dorosky
Lead Electronic Systems Engineer - Real Time Simulation, TOPSCENE
Lockheed Martin Missiles and Fire Control - Dallas
christopher.g.dorosky++at++lmco.com
972-603-2349
This archive was generated by hypermail 2b29 : Thu Jul 18 2002 - 04:49:46 PDT