HI Gian,

On 10/16/06, Gian Lorenzetto <[EMAIL PROTECTED]> wrote:

Yeah, it's a bit complex for a "simple" example J The main reason is that I've used DialogBlocks to put the example together, which auto-generates a LOT of code – but it made getting the example up much quicker.


Ahh this makes more sesne now, thanks for the explanation.
 

For the osgsimpleviewerWx example I've stripping out all the comments etc and putting the whole thing into a single file, much like your Qt example. Actually, I started out using the osgsimpleviewerGLUT code, but that's not the best fit for wx, which is why it's taking me a little longer than expected  …

Should have time tomorrow night to put something together. I'll try and keep it as close to the Qt example as possible so you should be able to slip it in with the others with minimal effort.


Thanks for doing this.  My hope is that we can get to a point where we have a list of GraphicsWindow implementations for each of QT, FLTK, WxWindows, Producer etc, then the simple viewers can just derive from which ever the end once to use for their native windowing toolkit.   Later more sophisticated viewers should also be able to reuse the GraphicsWindow implementations.

I'm also hoping that we might be able to get away with implementing these GraphicsWindow implementation as pure header files.  The first step in this direction is getting a series of osgsimpleviewer's together so we can start looking at the patterns on implementation and so see how best to make a final cut of the series of GraphicsWindow base class and its implementation.

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

Reply via email to