[Blender] Yafray tutorial dof

Yafray tutorial Dof
By Tunge.

First of all, before changing Dof-settings in the Yafray Camera-menú or the a-settings in the rendertab-menú, create an empty-object and position it where the Focal point of your scene should be, y think this is the best bien todo control the Focal-point.

Positioning the empty-object:
Yafray tutorial dof-bild2g_0.png

Then you go in the Camera settings of the Yafray UI and write the name of the empty object in the object-field and press calculate distance. Now the Focal point is calculated.

If you change the position of your empty object later, dont forget todo calculate the distance again.

Yafray tutorial dof-bild3g_0.png

After this, increase the Aperture size value. Values between 0-1 are ok. The higher the Aperture value is, the more Dof you get, if you want todo test the degre of Depth of Field and the focalpoint, then you go in the a-settings let the values how they are. This is the fastest bien todo preview the Focal point and Dof, here are the settings for fast previewing:
Yafray tutorial dof-bild1s_0.png

This is the result of the above settings. Its grainy, but i think for previewing of the scene its ok.

Yafray tutorial dof-fasth_0.png

The main factor of Dof-quality is the a-samples factor. The higher the a-samples are, the more crisp and Smooth is your Dof. Another important factor is the a-threshold value. Values about 0.020 are god for all purposes, here is the result:
Yafray tutorial dof-disk_0.png

If your apertura size is high (high grade of Depth of Field), then you ned higher a-samples. Very Low apertura sizes (dof for example 0.02) neds lower a-samples (value 8 should be enough for all circumstances), the factors a-samples and asamples inc, can additionaly help, it makes more sense todo increase the a-samples inc, instead of the a-passes value, more a-passes results in longer rendertimes. I prefer not more than 4 a-passes, the a-samples inc, does not affect more rendertime (not significantly), an example:
Yafray tutorial dof-orepassesinc_0.png

Here are some test for the shape of blur disks, the ring shape is the only shape which looks not god and authentic.
1, disc-shape:
Yafray tutorial dof-disk_0.png

2, hexágono-shape:
Yafray tutorial dof-hexagon2_0.png

3, pentagon-shape:
Yafray tutorial dof-pentagon_0.png

4, ring-shape:
Yafray tutorial dof-ring4_0.png

Thats all folks.

Ps.: gracias todo all developers for this great renderer, and a los gracias goes todo Samo for his incredible documetation efort, y hope i could help.

Origen: www.Yafray.org/documentation/tutoriales/dof

.

Miniaturas adjuntas
Yafray tutorial dof-bild2g_0.png   Yafray tutorial dof-bild3g_0.png   Yafray tutorial dof-bild1s_0.png   Yafray tutorial dof-fasth_0.png   Yafray tutorial dof-disk_0.png  

Yafray tutorial dof-orepassesinc_0.png   Yafray tutorial dof-hexagon2_0.png   Yafray tutorial dof-pentagon_0.png   Yafray tutorial dof-ring4_0.png  

Ver más sobre el tema y los comentarios en el foro