Today I had some time to play around with my first xpresso project again: Cinema 4D DOF Controller.
I change some nodes in the calculation and I guess I am getting closer. I wanted to be able to move the camera and the DOF Null around and animate them. With the first test I did a couple of weeks ago I was able to move them but the null has to be in 90 degrees to the camera.
In the updated version I am able to move the null around where ever I want, except behind the camera. But this limitation is ok for me.
Everything looks alright in the viewport. But during a test animation I saw that the distance is wrong sometimes. If you pause the animation and click in the viewport the distance indicator snaps back in the right place.
It looks like the xpresso calculation is not fast enough to calculate it in real time.
I opened a topic for that over at the mograph.net forum (
LINK)
I hope to solve the problem as soon as possible.
If you like you can download the DOF file. Just follow the link to the forum.