Re: [osg-users] OSG error log

2010-03-21 Thread Oleg Shistik
Hi Jean-Sebastien,

Do you know in which OSG this feature is included?
I am working with 2.8.2 and did not find the osg::NotifyHandler in any header 
file.

Thank you!

Cheers,
Oleg

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=25927#25927





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG error log

2010-03-21 Thread Jean-Sébastien Guay

Hi Oleg,


Do you know in which OSG this feature is included?
I am working with 2.8.2 and did not find the osg::NotifyHandler in any header 
file.


For now there is no stable release that includes it, you would have to 
use the SVN trunk version. And I don't think the upcoming 2.8.3 will 
include it either. You'll have to wait for 2.10 (unknown release date) 
for it, or use SVN trunk as I said.


Of course, you could just redirect cout and cerr yourself, but that 
would redirect all messages not just what OSG outputs. If that's fine 
for you, search the web about cout/cerr redirection, it involves opening 
a file then using the file's streambuf on the cout/cerr streams.


J-S
--
__
Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] OSG error log

2010-03-19 Thread Oleg Shistik
Hi,

I am using OSG embedded in the ActiveX control.
Is there any option to get the OSG trace/error log into the file?


Thank you!

Cheers,
Oleg

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=25898#25898





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSG error log

2010-03-19 Thread Jean-Sébastien Guay

Hi Oleg,


I am using OSG embedded in the ActiveX control.
Is there any option to get the OSG trace/error log into the file?


Recently functionality was added to OSG to be able to redirect 
osg::notify messages in whatever way you want. See osg::NotifyHandler (I 
think).


Hope this helps,

J-S
--
__
Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org