Hi Aydin,

I haven't had a chance to generalise StatsHandler to CompositeViewer,
the flexibility of CompositeViewer may require a separate
StatesHandler.  I won't really know until I get my teeth into it.

In the mean time you could write your own custom FrameRateHandler that
like StatsHandler creates a local osg::Camera to do the HUD, and then
update this per frame to get the framerate.

Robert

On 3/22/07, Aydin OKUTANOGLU <[EMAIL PROTECTED]> wrote:


Hi,

I am trying new osgView::CompositeViewer currently and i realize that
osgViewer::StatsHandler does not works with CompositeViewer because in
handle() of statshandler guiactionadapter is required to be a
osgViewer::Viewer. I try to change it to osgViewer::View but i could not do
it. Is there any other way to see the framerate within the CompositeViewer?

Thanks.

Aydin




......................................................................................................................................................................

DIKKAT !

Bu e - postanin içerdigi bilgiler (ekleri dahil olmak üzere) gizlidir.
Gonderenin onayi olmaksizin üçüncü kisilere açiklanamaz. Bu mesajin
gönderilmek istendigi kisi degilseniz, lütfen mesaji sisteminizden derhal
siliniz... Gonderen bu mesajin içerdigi bilgilerin dogrulugu veya eksiksiz
oldugu konusunda bir garanti vermemektedir. Bu nedenle bilgilerin ne sekilde
olursa olsun içeriginden, iletilmesinden, alinmasindan, saklanmasindan
sorumlu degildir.



CAUTION !

The information contained in this e-mail (including any attachments) is
confidential. It must not be disclosed to any person without sender's
authority. If you are not the intended recipient, please delete it from your
system immediately... Sender makes no warranty as to the accuracy or
completeness of any information contained in this message and hereby
excludes any liability of any kind for the information contained therein or
for the information transmission, reception, storage or use of such in any
way whatsoever.

......................................................................................................................................................................

This message has been scanned for viruses and dangerous content.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to