Hi Ernest, 2009/11/10 Ernesto de la Cruz Guevara Ramírez <[email protected]>: > Hi all there, > People I´m new to OSG I´m trying to use it wit QT framework and ARToolKit to > develop my first Augmented Reality application. First I have integrated OSG > ARToolKit and QT quite good, I saw the live video stream from my webcam, but > when I tried to add marker detection the application close without any > message. Then I need to know how to redirect osg::Notify messages to a log > archive to know what is happening with my application.
You have a couple of different options, in svn/trunk there is now support for writing your own NotifyHandler, but with OSG-2.8.x and prior you'll need to take the notify() stream and attach your own custom streambuffer to reidirect the output. Or... just run your app in the console and redirect the output to a file - this is what I do for debug work. i.e. osgviewer cow.osg &> output.txt Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

