Hi, Robert, > 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.
I'm quite sure the files are loaded. The debug printouts confirmed it. It's just they don't show up, as if they are not in the scene data. I load all my objects during run time, meaning for each sceneview I create, I call setSceneData(root) where root is a group node with no children at the moment, and only later are objects added to the root. I do have another sceneview for transparent overlay which is assigned an overlay root node that has all overlay objects under it from the beginning, and everything in the overlay do show up. That's why I suspect something like dirty display list or similar commands that tell the sceneview to recheck what's in its scene data may be needed. Although, the older version of OSG works just fine. > What platform are you working on? I'm using Windows XP. Sorry:-) > 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. Right, I wasn't very clear. I should have said "osgViewer does not initialize properly to adapt to different aspect ratios". Thanks, Yefei _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
