Any hint or approach (focus) fitting and centering model on camera? just a hint or advice will do even without a code.
Parse the model data to get a bounding box.
Point the camera at the centre of the bounding box
Project the corners of the bounding box into screen coordinates using Viewport.Project , or create a view frustum and check the corners against that.
Move the camera back until all corners are visible
Good luck
1 Like
Aha! crunch mode based on your idea… thanks!
No problems, looks nice