DJWoodgate #1 He wants to maximise an arbitrary entity into an arbitrary 3d viewport. This will probably be some adaptation of your bounding box stuf and the resulting projection to screen space.