-
9 Archivos adjunto(s)
Yafaray 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:
https://foro3d.com/attachment.php?at...1&d=1255589261
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.
https://foro3d.com/attachment.php?at...1&d=1255589269
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:
https://foro3d.com/attachment.php?at...1&d=1255589273
This is the result of the above settings. Its grainy, but i think for previewing of the scene its ok.
https://foro3d.com/attachment.php?at...1&d=1255589277
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:
https://foro3d.com/attachment.php?at...1&d=1255589298
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:
https://foro3d.com/attachment.php?at...1&d=1255589293
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:
https://foro3d.com/attachment.php?at...1&d=1255589298
2, hexágono-shape:
https://foro3d.com/attachment.php?at...1&d=1255589302
3, pentagon-shape:
https://foro3d.com/attachment.php?at...1&d=1255589307
4, ring-shape:
https://foro3d.com/attachment.php?at...1&d=1255589312
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
.
-- IMÁGENES ADJUNTAS --
https://foro3d.com/attachment.php?attachmentid=115018
https://foro3d.com/attachment.php?attachmentid=115019
https://foro3d.com/attachment.php?attachmentid=115020
https://foro3d.com/attachment.php?attachmentid=115021
https://foro3d.com/attachment.php?attachmentid=115022
https://foro3d.com/attachment.php?attachmentid=115023
https://foro3d.com/attachment.php?attachmentid=115024
https://foro3d.com/attachment.php?attachmentid=115025
https://foro3d.com/attachment.php?attachmentid=115026