Hello.

I'm having unexpected trouble using LOD's.

osg::LOD *LOD = new osg::LOD;
LOD->addChild(modelA);
LOD->addChild(modelB);
LOD->setRange(0, 0.0, 100.0);
LOD->setRange(100.0, 100000000.0);
scene->setSceneData(LOD);

This works nicely. I modified osgviewer to do it.

Now, change that to using the all-in-one, and I get a blank screen.

osg::LOD *LOD = new osg::LOD;
LOD->addChild(modelA, 0.0, 100.0);
LOD->addChild(modelB, 100.0, 10000000.0);

scene->setSceneData(LOD);

This shows a nice blank screen.

Is it broke, or did I misuse the overload, or screwup in another way
entirely? 

Chris
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to