– “Film Gate” Part of the camera behind the shutter, which captures the light falling on it and determines the final ratio of the sides of the image. Works just like in real chambers.
– “Focal Length” (focal length) – the distance between the front lens of the camera and to the place where the camera focus is located and with which you can increase or decrease the viewing area. If you want to increase the viewing area, then reduce the values of this parameter and vice versa.
– “Zoom factor” – It is not difficult to guess that these are the settings of the zoom of the camera.
– “F-Number” – defines the width of the cell aperture, indirectly, the exposure. Small values create a more blurry background. Similarly to the number of diaphragm of real chambers.
– “Shutter Speed” – shutter speed, t.e. the time for which the shutter opens. The lower the speed of the shutter, the greater the blur and vice versa. Similarly to the speed of the shutter of real cameras.
– “Film Speed (ISO)” – Sensitivity of the camera to light. The higher the value, the more sensitive the camera, which makes images/visualization brighter and vice versa. Similarly, ISO real cameras.
How do we see the properties “VrayPhysicalcamera” largely coincide with the properties of real cameras. Now that we have examined the main settings, you can start work.
In order to test the depth of sharpness, we need to create a test scene. Let’s go to the panel “Create”, We will choose there “Geometry” and arbitrarily place several boxes, as I did.
Further in the panel “Create” Click on the button “Cameras” In the drop -down list we will choose “V-ray” And create “VrayPhysicalcamera”. After the creation, we set our camera as shown in the figure below, make sure that the camera is directed towards the objects and its target is where the focus will be located.
Now we will change the settings of our camera. Choose a camera, go to the panel “Modify”. We will set the following values here: “F-Number” equal ‘1’, “Shutter Speed” equal ‘1000’, and also turn on the parameter “Specify Focus” In order to achieve the greatest control over the coordination planes of the camera.
Change “Focus Distance” to such a value, so that Agent No Wager the blue nets find themselves in the place in which we want to focus. After that, let’s go to the section “Sampling”, Turn on there “Depth of Field” And set the value “Subdivs” Equal ’15’.
Tip: change in meaning “Subdivs” can make the depth of sharpness more smooth. The higher the value, the more smooth the result, but will take more time to visualization.
Tip 2: Try to always make scenes on real scale. This will help you avoid problems when creating and calculating the depth of sharpness.
Replace the view view from the left from the camera, for this we will go out the window “Left” And pressing the key “C” On the keyboard. Put the camera as we want.
In order to create an effect “Rack Focus” (Changing the focus point from one object to another over time) We must highlight “Focus Distance”. Turn on the option “Auto Key” To create the initial value of this parameter, move, slider to the left along the time of up to 60 frames and change “Focus Distance” to the value where you want to focus the camera at the end of the movement. Disable “Auto Key” to inadvertently to prioritize other parameters.
Create a light source “Vraylight” in the form of top “Create> Lights> Vray”, specific sizes are not important, but it should be more than our scene. Let’s go to the camera window, click on the text “VrayPhysicalcamera01” And in the menu that appears, we include the option “Show Safe Frames”.
In the projection window “Front” move the light source so that it is above the scene.
Now, based on our focal length and position of the light source, we will consider how to make the effect of side in the final visualization. To do this, we need several more small light sources in our scene. Let’s add four more very small sources “Vraylight” and place them over the other as in the figure.
Choose “VrayPhysicalcamera”, Let’s go to the panel “Modify” And choose a scroll “Bokeh Effects”. What these settings are:
– “Blades” – if this option is turned on, then the form of the aperture, and, therefore, the form of the side itself will be a polygonal shape, and the number of angles depends on the value “Blades”. If the option is disabled, then the form of the aperture will be round and side, respectively, also.
– “Rotation” – If the option “Blades” Included, this option controls the rotation of the polygonal figure.
– “Center Bias” – increases or reduces the brightness of each side outside or inside their shape. Negative values are made by a brighter center, and positive ones increase the brightness of the external rim, an example below:
Now consider the settings of anisotropy “Anisotropy”. Basically, a change in the values of anisotropy distorts the shape of the side horizontally (positive values) or vertically (negative values), an example below:
Now everything is ready for visualization! For a more effective result, you can go to the scroll Image Sampler in the visualization settings and change its type to “Adaptive DMC”. It will make DOF more beautiful.