benek 0 Report post Posted December 14, 2010 Hi, not sure if this is of any use to anyone… I've included a link below to an Xpresso camera I made recently which I call the DoFcam. The idea is that it will adjust the camera's front and rear blur automatically depending on your camera settings and according to a real physical depth of of field formula… Cinema will use this camera information when outputting your depth map channel – just activate the Depth channel in your Multi-Pass render to use in compositing. The reason I made the DoFcam was because I wanted to output depth maps from Cinema which at least had some kind of real physical foundation. I also wanted the camera's depth/blur settings to change automatically during animation when linked to a target object. The camera itself is very simple, I've just added some user data under the heading DoFcam which includes a Target Object link (which you don't need to use if you don't want to), an f-stop parameter and 2 optional adjustment parameters. I've also made a quick video (link below) explaining the above. I've done my best to test everything works OK, but if you come across anything wrong with it, please let me know. One problem I did encounter was with the Document Scale parameter in C4D12's Project Settings. Although it doesn't appear to break the camera, I think it's best to keep this set to millimetres so that the measurements make sense… DoFcam for C4D11.5 DoFcam for C4D12 DoFcam Demonstration video Depth Map Tester Vid Quote Share this post Link to post Share on other sites
Marc Z 9 Report post Posted December 14, 2010 Looking cool, the dofcam vid wouldn't play because it said a WAV is missing Quote Share this post Link to post Share on other sites
benek 0 Report post Posted December 14, 2010 That's strange... worked fine for me. I'll re-save it and re-upload... Quote Share this post Link to post Share on other sites
Marc Z 9 Report post Posted December 14, 2010 If it helps, it says it needs CINEMA 4D - DoFcam_C4#626CA.wav If I play it in VLC I get static. Quote Share this post Link to post Share on other sites
benek 0 Report post Posted December 14, 2010 (edited) I think I might have had this problem before when I replace the sound track in Quicktime (obviously I'm doing it wrong)... I've re-saved the whole thing again and uploaded it, so try again. Edited December 14, 2010 by benek Quote Share this post Link to post Share on other sites
Marc Z 9 Report post Posted December 14, 2010 yep fine now Quote Share this post Link to post Share on other sites
daveglanz 0 Report post Posted December 15, 2010 This is lovely. Thanks benek! Quote Share this post Link to post Share on other sites
delsotano 0 Report post Posted December 15, 2010 Hi, not sure if this is of any use to anyone… I've included a link below to an Xpresso camera I made recently which I call the DoFcam. The idea is that it will adjust the camera's front and rear blur automatically depending on your camera settings and according to a real physical depth of of field formula… Cinema will use this camera information when outputting your depth map channel – just activate the Depth channel in your Multi-Pass render to use in compositing. The reason I made the DoFcam was because I wanted to output depth maps from Cinema which at least had some kind of real physical foundation. I also wanted the camera's depth/blur settings to change automatically during animation when linked to a target object. The camera itself is very simple, I've just added some user data under the heading DoFcam which includes a Target Object link (which you don't need to use if you don't want to), an f-stop parameter and 2 optional adjustment parameters. I've also made a quick video (link below) explaining the above. I've done my best to test everything works OK, but if you come across anything wrong with it, please let me know. One problem I did encounter was with the Document Scale parameter in C4D12's Project Settings. Although it doesn't appear to break the camera, I think it's best to keep this set to millimetres so that the measurements make sense… DoFcam for C4D11.5 DoFcam for C4D12 DoFcam Demonstration video Depth Map Tester Vid thanks!! Quote Share this post Link to post Share on other sites
blatherskyte 0 Report post Posted December 15, 2010 Hi, not sure if this is of any use to anyone… I've included a link below to an Xpresso camera I made recently which I call the DoFcam. Very nice! Using it right now. Quote Share this post Link to post Share on other sites
C.Smith 0 Report post Posted December 17, 2010 Hi, not sure if this is of any use to anyone… I've included a link below to an Xpresso camera I made recently which I call the DoFcam. Fantastic work, man. Really great. THe community needed this for a long time. I had thought about doing it once but I'm glad you did because you did it extremely well. Congrats and thanks. Quote Share this post Link to post Share on other sites
benek 0 Report post Posted December 17, 2010 Thanks guys, I'm really pleased you've taken a look and I hope it works for you... If anyone does encounter any problems with it, it would be good to know in case I decide to improve it in any way in the future. Quote Share this post Link to post Share on other sites
eyedesyn 0 Report post Posted December 17, 2010 (edited) Amazing work, benek! Helps me out LOADS! Always had a hard time getting a good depth of field pass out of C4D because all the controls were so wonky. This puts it in terms I can understand. Thanks! Edited December 17, 2010 by eyedesyn Quote Share this post Link to post Share on other sites
Rostenbach 0 Report post Posted December 17, 2010 Wow... this is incredibly useful. Thank you so much. Quote Share this post Link to post Share on other sites
JoelD 0 Report post Posted December 17, 2010 Thank you! Quote Share this post Link to post Share on other sites
Jordan Cain 0 Report post Posted December 28, 2010 Finally got around to testing this out. Love it! Saves me loads of time wrestling with the camera settings manually. Thanks a ton! Quote Share this post Link to post Share on other sites