Re: [osg-users] Problem loading images when migrating to new OSGViewer

2010-09-30 Thread John Stokes
Robert, I tried setting the NearFarRatio to a smaller value, and everything rendered as desired. I ended up using: Code: viewer->getCamera()->setNearFarRatio(0.2); This satisfies all my current requirements, so I will keep in mind your good advice about the osgdepthpartition exa

Re: [osg-users] Problem loading images when migrating to new OSGViewer

2010-09-29 Thread Robert Osfield
Hi John, On Tue, Sep 28, 2010 at 6:36 PM, John Stokes wrote: > When I comment out the updated "setComputeNearFarMode" line of code, my globe > and sky models show up correctly but my plane model disappears. Is there a > correct cull setting that I should be using to get everything to display? >

Re: [osg-users] Problem loading images when migrating to new OSGViewer

2010-09-28 Thread John Stokes
Robert, Thank you for your insight. I did try loading my models with the standalone osgviewer and each of them loaded correctly as did the exported .osg using osgDB::writeNodeFile. I was testing out commenting out different sections, and I noticed that I had this piece of code that I left

Re: [osg-users] Problem loading images when migrating to new OSGViewer

2010-09-28 Thread Robert Osfield
Hi John, I don't know the cause of only the airplane showing up, but can suggest a few things to try to explore what might be going wrong. First up try loading each of the models with osgviewer and see if each one loads up OK. Second write out the completed scene graph to a .osg file just before

[osg-users] Problem loading images when migrating to new OSGViewer

2010-09-28 Thread John Stokes
Hi, I've been migrating some code from OSG 0.9.9 to the latest stable release (2.8.3), and I've run into an issue when migrating from OSGProducer::viewer to OsgViewer::viewer. I have three models, an airplane.3ds model, a sky.3ds model, and a globe.osga model. All three models load correctly (t