Compute bounding box of scene object.