When you use vertical shift on the VRayPhysicalCamera, either via the offset values or the shift values, the camera zooms out by a seemingly arbitrary amount. The further you shift, the more the camera zooms out. I can’t figure out how much it zooms out by, either, so I can correct it -- and annoyingly, the field of view as displayed in the camera properties *doesn’t* change, despite the fact that the change of FoV is blatantly obvious.
This is really confusing me, especially since this is not how real shift lenses work and it’s not how they work in other software.
I have attached two screenshots from the Max viewport: one with shift and one without.
Changing the target distance also changes the field of view, though this does actually change the *value* for the field of view, so if you set it to a specific FoV it will change the focal length instead. This doesn’t make much sense to me either. While it is true that most lenses tend to shift the actual FoV based on where you put focus, the amount varies from lens to lens and it’s nowhere near as extreme as the VRayPhysCam makes it out to be.
I’ve had this problem too. In particular, the vp fails to match the render when using shift. I found that halfing the amoung of shift gives roughly a match for the viewport, but it’s not ideal. It would be very nice if this was fixed so the VP matched the render exactly.
My main concern is matching the camera to other softwares. I’m not particularly comfortable working in 3ds Max yet, but I have to because of work. I’ve done a bunch of cameras in modo, and while they transfer across to max fine via fbx or Collada, the settings just don’t match -- the vertical shift and the target distance simply throws everything off. This is incredibly annoying, because I have no idea how to solve it. I guess I could use non-VRay cameras. The standard Max cameras work fine in VRay, right? You just lose the in-camera exposure settings and such. And I suppose if I do that, I won’t get any vertical shift whatsoever…
Ah, almost forgot: for the shift with the physical camera, the viewports are currently not displayed correctly, so there is no point to measure the zoom based on what you see there. It will be fixed though.
Here are some tests renders of two boxes, one with the standard Max camera, one with a default VRayPhysicalCamera, one with the same as the previous but with vertical offset of -0.3 and finally one with the camera pitch changed and the vertical shift amount guessed from the vertical rotation to straighten out the image. As the red line indicates, the first three line up vertically down to the last pixel. The one with Shift rather than Offset does not line up, but that’s not much of a problem: I’d generally recommend using Offset instead of Shift anyway.
The viewport display is way off in both the Offset one and the Shift one.
I just spent most the day playing with this and I’ve driven myself crazy but think I’ve found a rationale behind it. Basically don’t trust your viewport if you’re using Shift or Offset, load VRayRT instead, I’ve sent Vlado an email explaining what I think the problem is and possibly how they can figure out how to fix it.
Well, I know how to fix it (the guys at Scanline VFX found out the correct formula and were kind enough to send it), just haven’t gotten round to it yet.
However for rendering overscans, there is a much simpler solution using the VFB region override options, as explained here: