Hi Antoine,

On 12/21/06, Antoine Hue <[EMAIL PROTECTED]> wrote:
I would say build OS specific class (build directly): plug in is in case
of choice. But as soon as you have chosen an OS, there is no choice
about the low level toolkit.
Then you might say about versatile toolkits like QT, WxWindows,... but
there is no choice either:
- either the application is dedicated to one toolkit. Optionally on
multiple platforms => application makes the choice.
- or the the toolkit is only a back-end maybe also on multiple platforms
=> it means that there is no extensive GUI (menus, dialogs,...) => no
need to choose.

I pretty well agree with the above, and have integrated
GraphicsWindowX11 into the unice build of osgViewer, but can pull it
out if it turns out to that plugins is a better idea.

The only case where I can see switching between different
GraphicsWindow implementations are runtime might be in OSX apps that
wish to switch between X11 and Cocoa.  In these cases one could
probably let the app develop link there app with both Cocoa and X11
and let them switch, or let them create plugins themselves.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to