sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Depth of field with physical camera

    Scheduled Pinned Locked Moved V-Ray
    renderpluginsextensions
    15 Posts 8 Posters 5.6k Views 8 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I Offline
      iules
      last edited by

      did I post my question in the wrong section?
      if that is the problem i'm sorry...
      nobody can suggest any solution for my problem?...really?
      who do you suggest i should ask? thanks

      1 Reply Last reply Reply Quote 0
      • GaieusG Offline
        Gaieus
        last edited by

        No, if it is a V-ray question, this would be the right place. Hopefully someone more knowledgeable than me will see the post and can answer.

        Gai...

        1 Reply Last reply Reply Quote 0
        • andybotA Offline
          andybot
          last edited by

          hi giulia,

          DOF can be tricky. In exterior scenes where you are far away, DOF is deep by its nature. It will only show up if there are objects very close to you (for example 1 meter or less) Also, you can turn down the GI and background multiplier so you can have a small f-number. You can override the focal length to use a larger length (achieve shallower DOF)

          http://charlottesvillearchitecturalrendering.com/

          1 Reply Last reply Reply Quote 0
          • ATLAStudioA Offline
            ATLAStudio
            last edited by

            Trying to get the hang of these settings just now and found your post, you can unlock the DoF aperture parameter by switching off the physical camera at the 'On' button. After you change the aperture switch the camera back on, the setting is preserved. There's probably a good reason for this but I certainly don't know what it is. Test is hdr GI with exposure turned off, DoF aperture 0.5, focal distance 40.0.


            dof_test_001.jpg

            http://www.atlas-studio.co.uk

            1 Reply Last reply Reply Quote 0
            • fuzzionF Offline
              fuzzion
              last edited by

              Beautiful answer. I have actually given up on DOF with outdoor scenes 😒

              "Only the dead have seen the end of war" - Plato

              1 Reply Last reply Reply Quote 0
              • panixiaP Offline
                panixia
                last edited by

                i strongly suggest to render the z-depht channel and then put it in the alpha channel spot in photoshop so you can use it as an alpha channel for lens blur.
                simple and effective.
                moreover it seriously decrease the render time, and most important to me is that this workaround allows you to do a single render and quickly create countless variation in PS without having to render it countless time.
                in photoshop also you have a real-time preview of what are you doing in terms of strenght and radius of blurriness.

                1 Reply Last reply Reply Quote 0
                • V Offline
                  valerostudio
                  last edited by

                  +1 on ZDepth channel. Much more flexible and faster render times.

                  1 Reply Last reply Reply Quote 0
                  • andybotA Offline
                    andybot
                    last edited by

                    except for the slight problem of reflections...

                    http://charlottesvillearchitecturalrendering.com/

                    1 Reply Last reply Reply Quote 0
                    • panixiaP Offline
                      panixia
                      last edited by

                      mmm.. why? πŸ˜•

                      1 Reply Last reply Reply Quote 0
                      • andybotA Offline
                        andybot
                        last edited by

                        Take a look at the countertop in this example. The doors and trees beyond are not blurred when using the mask because the reflection is not calculated in the zdepth pass.


                        mats_test26_vrayDOF1-mask.jpg

                        http://charlottesvillearchitecturalrendering.com/

                        1 Reply Last reply Reply Quote 0
                        • V Offline
                          valerostudio
                          last edited by

                          Oh, that's a good one. This is very interesting.

                          1 Reply Last reply Reply Quote 0
                          • panixiaP Offline
                            panixia
                            last edited by

                            ah ok.. never noticed it before.. 😳
                            very intersting..

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              monkers
                              last edited by

                              Has anyone managed to work this out for large scenes?

                              I have a job in large scene and I would like to blur out the background in Vray.

                              I have tried the Z-depth work around but it blurs out details in the foreground - I know with a bit of photoshopping this could be fixed. But I would rather just batch render over night.

                              Heres some images of my scenes

                              Without DOF

                              http://imgur.com/n4tByGb

                              With DOF from zdepth see how the crane detail blurs out.

                              http://imgur.com/Abimfzg

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                monkers
                                last edited by

                                I managed to figure this out if anyone is interested here's the settings i used

                                http://i.imgur.com/MWydbaf.png

                                the result.

                                http://i.imgur.com/PKgtDaU.jpg

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post
                                Buy SketchPlus
                                Buy SUbD
                                Buy WrapR
                                Buy eBook
                                Buy Modelur
                                Buy Vertex Tools
                                Buy SketchCuisine
                                Buy FormFonts

                                Advertisement