osgviewerMFC can only be run on windows and is a multi document application so that it does not take any input arguments when starting. Once started, the user would select the "File\Open" on the toolbar to start the osg process of loading a file and displaying it in a window of the application.
Mike Hartman -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Friday, June 08, 2007 3:33 AM To: osg users Subject: Re: [osg-users] minor 198 testing On 6/7/07, Mike Weiblen <[EMAIL PROTECTED]> wrote: > Quick things I seen so far (WinXP, VS8): > > 1) osgviewerMFC cow.osg : running this pops a dialog: > --------------------------- > MFC_OSG_MDI > --------------------------- > C:\mew\_trees\osgtoy.sf.net\osgbuilds\trunk\cow.osg was not found. > --------------------------- > OK > --------------------------- > > osgviewer cow.osg works as expected. Perhaps osgviewerMFC is not using > OSG_FILE_PATH? It'd be hard not to use OSG_FILE_PATH as its used by standard when searching for files. Is there a chance that env vars aren't being picked up? Overridden in some way. Upping the notification level to debug might reveal something. I need others to go sort this one out as I don't have a Windows box, let alone MFC skills. > 2) > osgviewerGLUT cow.osg : hitting escape closes the GL window, but the app > is still running in its console. Then hitting Ctl-C in the console pops > a dialog box: > --------------------------- > osgviewerGLUT.exe - Application Error > --------------------------- > The instruction at "0x1007de23" referenced memory at "0x00000004". The > memory could not be "read". > I can reproduce this under GLUT. I think its probably down to the GLUT example passing on the escape to the Viewer which switches itself off, but GLUT itself hasn't killed itself, and stay in its main loop. This should be easy to fix, will first need to learn a bit more GLUT though... Robert. _______________________________________________ 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/
