by linograndiotoy » Fri Apr 12, 2024 11:45 am
linograndiotoy
Fri Apr 12, 2024 11:45 am
From the developer:
"This "f-stop" difference is a limitation.
Why the "f-stop" produces different blur effect?
Basically, in Octane, the final "dof" blur effect is determined by the "Aperture" value. So the preview and final render produce the same results when using the "Aperture".
When the "f-stop" is used, Octane calculates the "Aperture" based on the focal length and f-stop. The f-stop is exactly the same. But the focal length has to be modified between preview and final render, which results in a different "Aperture" and "dof" blur effect.
Why the focal length has to be changed?
Briefly, it's caused by the change of the FOV. In Octane, the focal length and FOV are synced. When we change the FOV, the focal length is changed too.
And the FOV is different between preview and final render as the resolution is different. The preview resolution is determined by the viewport while the final render is determined by the "Resolution" property.
So the focal length in Octane is different in Octane. All of those leads to a different "Aperture" and blur effect.
I can implement a f-stop to aperture converter in the code. No matter whether users enable "use f-stop", we will convert them to "aperture" in all cases. (it seems to be how Cycles does it).
But this way breaks backward compatibility. So I can provide a new option for users to decide whether they want to use the new mode."
We'll go for the new option.