Try running your app in a console and catch all the messages, redirectling to a file. I'm not sure how to do this under Windows, but I wouldn't have thought there would be a way of doing it. This is what I do under unices.
osgviewer cow.osg &> output.txt
This catches all error messages. If you had cygwin installed the above would work as well.
The OSG has its own message system, they you can control the verbosity of using the OSG_NOTIFY_LEVEL env var, set this to ALWAYS and it'll always eat all messages, set it to NOTICE and it'll only print out important messagages, set to INFO and it'll lots of info about what its doing, and finally DEBUG to print out debug information as well.
You can also set the notification level using osg::setNotifyLevel(osg::INFO);
As the cause of the particular problem I have no clue, as I'm not even sure what problem you are reporting.
Robert.
Hi All,
I am working with OSG 1.1 and MS VS 2005. In the IDE I can switch between debug and release builds. I am working with the OSGMFC example program.
When I compile and run with a debug build and I exit the program (using the File -> Exit menu option) I get a mass of messages printed out in the Immediate Window. The messages scroll by so fast it is difficult to read them, but they look like they might be debug information from inside OSG as they mention 'normal data' and 'color data'.
I have searched through the OSG src code but can not find any obvious candidates.
Anyone know what these messages might be? How can I stop them coming out (as they are a real pain when trying to find other bugs)?
Regards,
Andy.
________________________________________________________________________
This e-mail has been scanned for all viruses by Star.The service is powered by MessageLabs.
________________________________________________________________________
_______________________________________________
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/
