Hi Martin? Nocolas? (please sign your posts so we know how to address you) Does the standard osgviewer application have a problem?
Or is it only when you modify osgviewer so that the main loop is called from a background thread. If the later then you are probably falling foul of crappy bit of OSX that is right pain in the butt. Basically OSX apps can only receive/poll for mouse/keyboard events from the main application thread. Bone headed this might be, but that's just the way the platform is architected. If you want events in other threads you have to catch them in the main thread then send them explicitly to the other threads. So under OSX you just have to dance this little dances occassionally, work within the constraints and most things can be got to work, just don't set your expectations by the flexibility of other platforms like X11 based ones. Robert. On Wed, Nov 26, 2008 at 4:24 PM, nicolas martin <[EMAIL PROTECTED]> wrote: > Hi ! > > I just switched to MacOSX and I encountered a problem running one of my > application. > When calling viewer.frame in a separate thread, the application freezes ... > If I modify osgviewer to create a thread in which frame is called repeteadly > (with a certain sleep however) in place of calling viewer.run in the main > procedure, the application freezes ... > Is that a known problem ? > > Thanks_______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

