Hi all... I have a chunk of code used to display FPS statistics:
sf->addElement( OSG::RenderAction::statDrawTime, "FPS: %r" );
It works fine under linux, but under window it gets crazy when big FPS
values occurs. If I navigate to some part of the scene with no object, the
FPS time gets too high under due to frustum culling. Under linux the high
FPS value is shown normaly, but under windows it seems to overflow and a
strange value is shown, something like
10000000000000000000000000000000000000000000000000000000000000000000 (a lot
of 0s).
I've found out that the %r format is an OpenSG custom format to show time
values, so it should work with statDrawTime.
Any clue?
Thanks in advance.
Pablo
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users