Hi Mike, On Sat, Feb 5, 2011 at 9:07 PM, Mike Hatcher <[email protected]> wrote: > What is the difference between the producer functionality provided in osg and > the OpenProducer software from http://www.andesengineering.com/
The OSG doesn't provide "producer" functionality, it provides viewer functionality. OpenProducer (typically just known as Producer in OSG circles) also provides viewer functionality. There is also the osgProducer library from the OSG-1.x era that integrates Producer and the OSG. The osgProducer::Viewer and osgViewer::Viewer are roughly equivalent and you should be able to port from osgProducer::Viewer to osgViewer::Viewer quite easily. osgViewer library provides a CompositeViewer class (made up of multiple independent Views) and Viewer class (single View on the the scene), whereas osgProducer+Producer are only capable of providing a single View. Providing composite viewer functionality with osgProducer/Producer is very awkward indeed and was always a nightmare. osgViewer uses osg::Camera for both viewer and scene graph based Camera's and you can use them interchangeably and dynamically. osgProducer/Producer has it's own Camera classes and only can handle viewer level Cameras, you can't use in scene graph osg::Cameras interchangeable with Producer Cameras. There is lots more low level differences besides, but given I know nothing about why you are asking and how much detail you need it's not really appropriate to go write an essay that isn't needed. > Is there any reason to use OpenProducer over the existing osg capabilities? Producer is less flexibility, has less features and provides poorer integration with the OpenSceneGraph than the native osgViewer libraries that are available since OpenSceneGraph-2.0. osgViewer was written to address the short comings of Producer + OSG. The reason to use Producer would be that you have an application written on top of Producer from the OSG-1.x era, and you want to port it to the latest OSG-2.x without rewritting the viewer + windowing functionality. I would suggest this should just be kept as an interim step though as you'll find it easier to work with osgViewer in the medium to long term. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

