On 11/14/06, Robert Osfield <
[EMAIL PROTECTED]> wrote:
The examples I give use the native platform to create windows. Producer does not create the windows. However, Camera does require a RenderSurface to fulfill its role in management of the graphics contexts, swaping buffers, etc.
Well, you're wrong about this, but it is pointless to try and prove it an email debate. The proof is in the pudding, as they say.
-don
HI Don,On 11/14/06, Don Burns <[EMAIL PROTECTED]> wrote:On 11/13/06, Robert Osfield < [EMAIL PROTECTED]> wrote:Producer isn't suited for adding viewer functionality to applications with existing graphics windows set up.
Isn't that sweet?
I've just checked in examples for integrating Producer with Qt3, GLUT and two examples for differing approaches for FLTK. All use a derived Producer::RenderSurface.
While allowing Producer::RenderSurface to be implemented on other windowing toolkits is awesome, it still doesn't solve the problem I mention above, you still need Producer to create the windows, be it FLTK one or an X11 one, you can't integrate a Camera into an app without RenderSurface or one of its subclasses.
The examples I give use the native platform to create windows. Producer does not create the windows. However, Camera does require a RenderSurface to fulfill its role in management of the graphics contexts, swaping buffers, etc.
Consider the case where you already have an OpenGL application written and you want to add an OSG into the mix, this is the case where osgUtil::SceneView previously fullfilled the role of helping OSG integration. osgViewer::SimpleViewer fullfills this role, not needing any specific windowing support of any kind, but adds possibility of event handling and database paging over and above SceneView. Its this type of work that Producer isn't suited for.
Well, you're wrong about this, but it is pointless to try and prove it an email debate. The proof is in the pudding, as they say.
-don
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
