On 5/8/07, Serge Lages <[EMAIL PROTECTED]> wrote:
Should it be possible to add a setWindowHandle (or setWindow like in RenderSurface) to facilitate it ? It does not exist yet because anybody has done it or is there another reason ?
The osgViewer::GraphicsWindow and RenderSurface are different in design, GraphicsWindow is a base class where GraphicsWindowWin32 subclasses from this, whereas RenderSurface is built directly as a Win32 implementation under Windows. The osgViewer approach is cleaner w.r.t implementation as all the platform specific issues are kept out of the base class, and its alot more flexible w.r.t using other implementation, but... with this decoupling comes a little more complexity when setting things up when you want to do platform specific things. What we could do is provide a help function in include/osgViewer/Win32 to make the set up a little more straightforward. The community will have to help out with this though as don't have a windows dev machine. Robert.
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/