Hi Yefei, On 1/25/07, Yefei He <[EMAIL PROTECTED]> wrote:
Wow, Robert, this certainly piqued my interest! I did a little bit of my own on multiple views, but without independent master cameras. I certainly will be looking into CompositeViewer to decide if I should migrate over. This just in, my current code based on osgProducer doesn't seem to work properly with the new OSG. The objects loaded at run time don't show up. Maybe it is just an issue of setting a dirty displaylist flag or something like that. While I dig deep into my code, I may well compare it with CompositeViewer.
The OSG hasn't changed in any ways that are incompatible with osgProducer, its should still work. The work on osgViewer is effectively independent of osgProducer. Some elements of the core OSG have been modified to make osgViewer work more robustly, but these should benefit osgProducer too. Could you give a bit more info and the problem with finding files? Could you run the app with OSG_NOTIFY_LEVEL set to DEBUG and see where the files are been searched for. What platform are you working on?
By the way I noticed that the new osgviewer does not adjust aspect ratio automatically. The objects are stretched when I run it on a 1360x768 (16:9) display. Thought I should report it.
osgViewer doesn't automatically adjust aspect ration on window resizes, so perhaps its the initiial projection matrix that is the source of the problem. I'll try and recreate the problem at my end, although I don't have a monitor that can do 1360x768... hopefully a small window will do. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
