Honestly Depth of Field should always be added via the camera, if at all possible. Once the tool is activated you need only to left click and drag in the viewport.IRay has a lot of features including the ability to add Depth of Field with the camera. To use the Spot Render Tool simply click on the Spot Render Tool icon in the toolbar. You can use the Spot Render Tool to quickly check what your materials look when rendered. DAZ Studio provides a Spot Render Tool that allows you to render only part of a scene.
Use Daz 3D How To Add The
Next in the Daz3d HDRI tutorial is about how to add the HDRI to the scene yourself.For the purpose of the tutorial I will use a very simple scene with the DAZ Material Ball, as it allows for the fastest renders and a good example.I’ve seen a few tutorials out there that use a solo render of the main subject as a mask. For this occasion, I have downloaded this model that is available for free.Adding a HDRI to the Scene in Daz Studio. Back to the tutorial, importing a static mesh into Daz Studios is quite simple, for real. In this case using camera DOF would be the best course of action.Nonetheless, Daz Studio does provide a way to export to FBX format, more details in the following link for exporting, as an example, from Daz to Blender. It did not work very well with the hair and bamboo leaves.
Select Equalize Histogram from the method list. The EXR file will be completely white, again that is normal.Go to Image -> Adjustments -> HDR Toning. Simply open your render and the EXR file. PhotoshopIt is pretty simple to get the EXR working correctly and use it in Photoshop. In particular the EXR file. Now save this image wherever you’d like, it does not matter what file type you choose as we don’t want the render you are saving, instead we want the ‘canvases’ folder that Daz will create in the same directory as the render you are saving.
Beware, Blender is very complicated if you are going into it without previous knowledge.If you are new to Blender you’ll want to swap to Composite workspace by clicking the button next to ‘Default’ at the top of the program.Now you can add nodes to the top left area by hovering your mouse over the grid area and pressing Shift+A.There are probably a few ways to do this, but this is what I came up with for my image.You basically want to use two image nodes and load your finished render and the EXR file. BlenderBlender is best used if you are desperately looking for something free or already know how to use the Blender Compositor. Change other settings as you like. Click in the image where you’d like the focus point to be and use the ‘Radius’ to change how shallow the DOF is. The channel you just created should be auto selected as the depth mask. Simply copy the EXR image (Ctrl +A / Ctrl + C) then in your original render go to the Channels panel, add a new channel and paste into it.Re-select the RGB channels and then go to Filter -> Blur -> Lens Blur.
It seems that Blender will defocus anything with a value of 1 and leave anything with a value of 255 and above depending upon the f-stop set.In the node setup I described above that means with the correct f-stop the girl is left in focus but the water is defocused, but I want the background to be defocused too which won’t happen because the value contained in the EXR for the background is a very large number.To solve this I have passed the depth pass through a map range node. This is why most image viewers show the image as completely white.My knowledge of this is only based on my experience, if you know exactly how this works please do let me know in the comments. This EXR file doesn’t contain standard color information, instead it contains values that show how far away the objects were from the camera. Then pass it out to a Composite node.That is the simplest method and I could stop there, but it is important to understand what is happening.
You can press the camera icon if it isn’t visible. Here is the result from Blender.If you’d like to render and save your image in Blender switch the bottom left window to ‘Render Result’, disable ‘preview’ on the Defocus node and hit the render button on the far right panel. This is great for my purposes.The other node used (Z Combine) combines the z pass information into 1 so it can be applied to the image.
I hope this has been helpful in some way.