I have a lot of camera background images for reference in an architectural project. I made an animation where, for each frame:
- The camera position is defined, corresponding to one of the images
- the same image is used as viewport background. Images have been grouped in a video, and the video is used as a camera background instead.
This way I can change my reference image and match the point of view by just changing the current frame.
However some of the images are in portrait mode, some in landscape mode, and the render size ("resolution") has to be switched accordingly, frame by frame.
This works manually, but I'd like to do this automatically.
Example: Selecting frame 30 to set the (animated) camera viewpoint to some actual picture which was shot in portrait mode and inserted in frame 30 of the background video:
The 30rd background video frame is stretched because the "resolution" is not set accordingly. Is there a bypass?