This is another in the OS X FYI series. osgViewer has a few issues
that will need to be resolved before it can take over for GLUT:
OSG apparently does not support switching cursors. I get a slew of
these messages: "GraphicsWindow::setCursor(..) not implemented."
and the cursor doesn't change when right-clicking (although the mode does).
Modifiers don't work, so shift-left for example does not look left.
I get the following crash on exit:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000010
osgViewer::MenubarController::detachWindow (this=0x0, win=0x269e1ee0)
at /usr/include/c++/4.0.0/bits/stl_list.h:580
580 { return this->_M_impl._M_node._M_next; }
(gdb) bt
#0 osgViewer::MenubarController::detachWindow (this=0x0,
win=0x269e1ee0) at /usr/include/c++/4.0.0/bits/stl_list.h:580
#1 0x14232c05 in osgViewer::GraphicsWindowCarbon::closeImplementation
(this=0x269e1ee0) at
/Users/fugalh/src/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:736
#2 0x2008343a in osg::GraphicsContext::close (this=0x269e1ee0,
callCloseImplementation=true) at
/Users/fugalh/src/OpenSceneGraph/src/osg/GraphicsContext.cpp:416
#3 0x142279af in osgViewer::Viewer::~Viewer (this=0x1) at
/Users/fugalh/src/OpenSceneGraph/src/osgViewer/Viewer.cpp:732
#4 0x004c726d in osg::Referenced::unref (this=0x269dbe60) at
/usr/local/include/osg/Referenced:152
#5 0x004cbb8c in osg::ref_ptr<osgViewer::Viewer>::~ref_ptr
(this=0x85f7fc) at /usr/local/include/osg/ref_ptr:30
#6 0x00035572 in __tcf_1 () at fg_os_osgviewer.cxx:90
#7 0x00002fd1 in cxa_atexit_wrapper ()
#8 0x900103e1 in __cxa_finalize ()
#9 0x900102e8 in exit ()
#10 0x0002bc9b in fgExit (status=0) at util.cxx:115
#11 0x0000cc82 in do_exit (arg=0x4577de30) at fg_commands.cxx:226
#12 0x0046dd45 in SGBinding::fire (this=0x44bff160) at SGBinding.cxx:60
#13 0x0025d6fc in action_callback (object=0x4746c710) at dialog.cxx:265
#14 0x00482f42 in puOneShot::doHit () at visual_enviro.cxx:163
#15 0x00481ae7 in puObject::checkHit () at visual_enviro.cxx:163
#16 0x00481a7d in puObject::checkKey () at visual_enviro.cxx:163
#17 0x0047f15e in puGroup::checkKey () at visual_enviro.cxx:163
#18 0x0047f15e in puGroup::checkKey () at visual_enviro.cxx:163
#19 0x0047c38a in puKeyboard () at visual_enviro.cxx:163
#20 0x00277412 in keyHandler (key=10, keymod=0, mousex=342,
mousey=283) at input.cxx:1106
#21 0x00036347 in FGManipulator::handle (this=0x26922160,
[EMAIL PROTECTED], [EMAIL PROTECTED]) at FGManipulator.cxx:144
#22 0x1422cc27 in osgViewer::Viewer::eventTraversal (this=0x269dbe60)
at /Users/fugalh/src/OpenSceneGraph/src/osgViewer/Viewer.cpp:2131
#23 0x1422be81 in osgViewer::Viewer::frame (this=0x269dbe60,
simulationTime=1.7976931348623157e+308) at
/Users/fugalh/src/OpenSceneGraph/src/osgViewer/Viewer.cpp:1815
#24 0x1422bf68 in osgViewer::Viewer::run (this=0x269dbe60) at
/Users/fugalh/src/OpenSceneGraph/src/osgViewer/Viewer.cpp:801
#25 0x0003400a in osgViewer_GSA::fgOSMainLoop (this=0x269c9130) at
fg_os_osgviewer.cxx:252
#26 0x00005bbd in fgMainInit (argc=4, argv=0xbffff674) at main.cxx:1068
#27 0x000032dd in main (argc=4, argv=0xbffff674) at bootstrap.cxx:206
Which wouldn't be much of a bother (aside from being untidy), except
that it takes a few seconds to get around to crashing, vs. a fairly
quick exit otherwise.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel