Hi Eric, On 11/22/06, E. Wing <[EMAIL PROTECTED]> wrote:
I hope this is helpful.
I'm in awe!! What a great explanation of Objective C/C++. I have read through but will need to reread a few more times to get all the nuggets from it ;-) May we just copy and paste you mail into the wiki for future reference? Quick thoughts on the multiple inheritance side, C style library integration with osgViewer::GraphicsWindow will just require a osgViewer::GraphicsWindowAdapter subclass, with the later holding pointers to the C functions that implement things like makeCurrent/swapBuffers etc. Or just just create a GraphicsWindow subclass that "has a" Objective C++ object for the window, rather than using multiple inheritance. Right now I'm busy with other work but once these items have been completed I'll dive head first into osgViewer and get more of it mocked up and strike up a discussion osg-users about the different ways of tackling viewers. All in all I'm very optimistic, Cocoa integration shouldn't present too many problems at all :-) Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
