Hi,
for the lod below, for which, related to the range loading two different models....
osg::ref_ptr<osg::LOD> cargoShipLOD = new osg::LOD;
cargoShipLOD->addChild(cargoModelNoDetailed.get(), 600.0, FLT_MAX);
cargoShipLOD->addChild(cargoModelDetailed.get(), 0.0f, 600.0);
cargoShipLOD->setCullingActive(true);
cargoShipLOD->setRangeMode(osg::LOD::RangeMode::DISTANCE_FROM_EYE_POINT);
is it possible to understand which is the distance between lod and camera?
In the second way, if I add an update callback to a lod node, is there a solution to understand the lod state?
Thanks