Archive 17/01/2023.

ZoomFit ( no pre-calculated scene bbox)

sergeyv

Simple question - to implement usual ZoomFit function need to get bounding box for entire scene.
Is it correct that the only method to do this is

  • quary octree::GetDrawables() with maximum bbox
  • parse through all node and calculate result bbox

Thanks !

Modanung

I think you may be looking for Octree::GetWorldBoundingBox().