Hi Gian On 3/2/07, Gian Lorenzetto <[EMAIL PROTECTED]> wrote:
Hi Thibault, I've refactored the sample to use the GraphicsWindow base class. I've followed the design of the FLTK and Qt simpleviewer examples, so OsgGLCanvas has become GraphicsWindowWX and there is now SimpleViewerWX. This has all been commited to SVN, so check it out and tell me how you go. The code is a little messy, as it's now 2 in the morning and the screen is very, very blurry :) Also, Ewart has been testing / debugging the last zip posted to the mailing list. He has also gone further, adding menus. This might be a good time to outline some general goals. As I stated earlier, I'm keen to see both a simple example / implementation of osgsimpleviewerWx as well as a more fully featured app with menus etc. It looks like Ewart is doing a good job on the app side, so I'm happy to keep working on the GraphicsWindowWX class. With a little more work I think we can get GraphicsWindowWX into the OSG SVN repository, which will make coordinating everything much easier. Cheers, Gian
Hi Gian I'll compare your class to a test version I have and see if there are bug fixes/minor improvements that I can add before we submit the whole sample to Robert. I'm in the US currently so I won't be able to check it out until I come back on Monday. I'm also on the dual example side. I think we should have one basic viewer, which you are currently designing, and one application example -- which might not be in the SVN but only on the wiki, it will be Robert's decision for that part. The only caveheat we should avoid is having two different viewer classes in both applications. It would be a nice proof of concept for our simple example viewer class if Ewart could reuse it (i.e. subclass it) to implement a much more complex application. Ewart, if you wish you can use the temporary SVN repo Gian and I are using for this project. If you are interested, just write to me off list I'll give you a password and you can commit your stuff. I can't wait until monday to test all of this! Cheers -- Thibault
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
