Have an interesting question for you about calculating depth of field.
Let's compare 2 scenes.
-
A camera is looking at a ball that has a 1m radius, 10m away.
-
A camera is looking at a ball that has a 10m radius, 20m away.
Is there a generic equation I can use to figure out how to focus on each ball in these scenes instead of tweaking parameters until it "looks good".
I understand that there are some creative preferences that go into deciding what a "fit" is.
I understand that focus can have different levels of drop off and intensity. But how do I use an equation to parameterize these things with more intuition?
There is a common use case im running into for this transitioning between different objects and characters in a scene. It's becoming very hard to adjust settings for each one of these camera transitions without a more dynamic solution.
It also makes the current solution very brittle to change - like say I want to move one of those objects to a different location, suddenly my parameters no longer keep the object in view.
Thinking out loud, maybe some sort of generic helper class to get a thing in focus, then high level parameters control the type of focus and creative aspects? Would be massively helpful.
Have an interesting question for you about calculating depth of field.
Let's compare 2 scenes.
A camera is looking at a ball that has a 1m radius, 10m away.
A camera is looking at a ball that has a 10m radius, 20m away.
Is there a generic equation I can use to figure out how to focus on each ball in these scenes instead of tweaking parameters until it "looks good".
I understand that there are some creative preferences that go into deciding what a "fit" is.
I understand that focus can have different levels of drop off and intensity. But how do I use an equation to parameterize these things with more intuition?
There is a common use case im running into for this transitioning between different objects and characters in a scene. It's becoming very hard to adjust settings for each one of these camera transitions without a more dynamic solution.
It also makes the current solution very brittle to change - like say I want to move one of those objects to a different location, suddenly my parameters no longer keep the object in view.
Thinking out loud, maybe some sort of generic helper class to get a thing in focus, then high level parameters control the type of focus and creative aspects? Would be massively helpful.