Hi

> hm, the code behind it looks pretty straight forward, so this is a bit
> puzzling. Is this with 2.0 ? What version of the boost libraries are you
> using (I switched the statistics formatting to boost::format a while ago)?

Yes it is problem with OpenSG 2.0. Older version 1.8 was working fine.
In my case i am using Boost 1.37 version



----- Original Message ----- 
From: "Carsten Neumann" <[email protected]>
To: <[email protected]>
Sent: Thursday, March 19, 2009 1:43 AM
Subject: Re: [Opensg-users] Problem showing time statitistic 
(OSG::RenderAction::statDrawTime) on Windows


> Hello Pablo,
>
> Pablo Carneiro Elias wrote:
>> 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.
>
> yes, it is meant to be used with time values.
>
>> Any clue?
>
> hm, the code behind it looks pretty straight forward, so this is a bit
> puzzling. Is this with 2.0 ? What version of the boost libraries are you
> using (I switched the statistics formatting to boost::format a while ago)?
>
> Cheers,
> Carsten
>
> ------------------------------------------------------------------------------
> 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
> 


------------------------------------------------------------------------------
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

Reply via email to