PDA

View Full Version : DoFcam for download


Benek
12-14-2010, 11:43 AM
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 C4D 11.5 (http://www.benek.co.uk/tutorials/DoFcam_C4D115.c4d.zip)

DoFcam for C4D 12 (http://www.benek.co.uk/tutorials/DoFcam_C4D12.c4d.zip)

DoFcam Demonstration video (http://www.benek.co.uk/tutorials/DoFcam.mov)

Depth map tester vid (http://www.benek.co.uk/tutorials/DoFcam_NEW_C4D_enDoFinBlurH264.mov)

Xcut0r
12-14-2010, 11:53 AM
Thanks for this little "xmas gift" :) looks very usefull.. goin to test it ! :)


cumps
Tiago Saraiva

Ryonosuke11
12-14-2010, 07:16 PM
Brilliant!:applause: I've wanted something like this in Cinema for a long time...many thanks! :thumbsup:

-/\-Scott-M-C4D-/\-
12-15-2010, 05:13 PM
Cheers Benek, this should be very useful for animation as well as still photography kinda projects. :) Nice of you to provide an instructional vid on how it works. Lovely ball bearing demo. :)

Thanks :thumbsup:

scattering-like-light
12-21-2010, 05:26 AM
Oh nice one :) Very very helpful. Thanks for sharing...

cubeman
12-22-2010, 03:14 PM
Thanks a lot,

for this useful little helper.

cube

Rodut1112
01-05-2011, 08:56 PM
does it work with Vray?

Benek
01-05-2011, 09:56 PM
I don't own Vray, so I can't confirm that. But I don't see why it wouldn't. It's just a regular Cinema 4D camera with an Xpresso node. If you can use a normal C4D camera with Vray, it should work.

CGTalk Moderation
01-05-2011, 09:56 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.