Announcement

Collapse
No announcement yet.

Focus Distance + Zoom Factor

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Focus Distance + Zoom Factor

    There appears to be a bit of a bug when rendering with depth of field and using small focus distances.

    Down to approximately 360mm on the focus distance the zoom amount on the Vray camera stays fairly constant and basically matches the Modo viewport.
    The first image is with the focus distance set to 360mm and it matches the viewport.
    Click image for larger version

Name:	V4M_Focus_360mm.jpg
Views:	1
Size:	274.8 KB
ID:	880603

    However the next two images have the focus distance set to 70mm and 45mm respectively, and as you can see this appears to effect the zoom factor quite abit, although the Modo viewport remains constant.
    Click image for larger version

Name:	V4M_Focus_70mm.jpg
Views:	1
Size:	307.8 KB
ID:	880606Click image for larger version

Name:	V4M_Focus_45mm.jpg
Views:	1
Size:	322.8 KB
ID:	880604

    Also there appears to be quite a large disparity between exposure level when using the RT renderer and the final renderer when combined with DOF and these small focus distances. The first three screen grabs were taken of the RT renderer, the fourth image with the same 45mm focus distance as the 3rd image, but is a screengrab of the full Vray render.
    Click image for larger version

Name:	V4M_Focus_45mm_Render.jpg
Views:	1
Size:	247.6 KB
ID:	880605

  • #2
    The first problem is caused by the V-Ray physical camera modifying the focal length internally so the specified focus distance is achieved. And this in turn modifies the field of view in the rendering.
    It should be fixable, I will write back here when it is.

    The second one is probably due to the exposure not correctly updating in RT. If you restart the RT rendering you will probably see that the RT/final rendering match.
    I will fix this as well.

    Greetings,
    Vladimir Nedev
    Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

    Comment


    • #3
      This is fixed for the next beta build. The rendered frame when using the physical camera will match the rendered frame without it.
      The zoom factor of the physical camera no longer affects the field-of-view, only the depth-of-field effect.

      Greetings,
      Vladimir Nedev
      Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

      Comment


      • #4
        Hi Vladimir. I noticed that even though you disabled the FOV from a changing due to lens breathing, the exposure still changes (gets darker) on small focus distances. Did you leave this in intentionally?

        I don't think it makes sense to remove only half of the "lens breathing" effect. I would prefer the exposure darkening was removed too.

        EDIT: The lens breathing is not mentioned in the modo docs (only the 3dsmax docs include any info on it), so this could also cause some confusion.
        Last edited by 1funk; 29-09-2015, 10:19 PM.
        Win10 Pro 64 / AMD Ryzen 9 5950X / 128GB / RTX 3090 + 1080 Ti / MODO
        I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live - Jesus Christ

        Comment


        • #5
          That's just how the physical camera implementation works internally.
          You can either give it a focal distance or specify the FOV. In the second case, it will search for the correct focal distance that achieves the specified FOV taking into account all other parameters.
          We should add the missing stuff to the help though. The lens breathing is not the only thing missing.

          Greetings,
          Vladimir Nedev
          Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

          Comment

          Working...
          X