Fit the camera to an object
The 8 corners of the plate are projected on the screen to see if it is placed in a 95% frame, and the distance of the camera is reduced by half (search for this person), and the plate size and screen ratio are changed, but the plate is fully matched.
- Category
- Camera
Technical terms · Fit camera to bounds (binary search) · Vector3.project (NDC) · Bounding box corners · Bisection