Hi,
I would like to use OSG 2.8 (with Qt 4.5rc1) on Leopard, in 64bit,
using the Cocoa framework.
That means I need osgViewer to use Cocoa instead of Carbon.
I read and tried to understand http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/MacOSX10.5
and scouted the mailing list.
It looks like nobody submitted GraphicsWindowCocoa yet.
Before I take the plunge and try to implement GraphicsWindowCocoa (I'm
a complete Objective-C newbie), I would like to check with you guys
the best approach:
1. Read 50x the osgViewerCocoa sample and GraphicsWindowCarbon code
2. Detect the common pattern between the 2 approaches
3. Implement GraphicsWindowCocoa in the osgViewer framework
4. Use GraphicsWindowCocoa when OSG is compiled in 64 bits on Apple
hardware (simple #ifdef in osgViewer/Graphicswindow)
5. Submit the code so more skilled developers pinpoint my errors and
get the ball rolling
Sounds like a plan ? Did anyone already work on coding the Cocoa
backend for osgViewer?
Cheers
Sylvain
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org