djembeplay
Well-known member
Cool, thanks guys. I like the AE DOF better as well... The render time was very close... The C4D image render took 1:52 on my system, then the C4D DOF only took another 2 seconds. The AE DOF with lens blur was probobly close to 2 seconds... so it seems to be about the same in regards to just render time... but AE seems like it will take much longer in total because of the time it will take to import, set the depth map, tweak, etc... But, I still prefer to use AE for a couple reasons - you can tweak in your DOF without re-rendering the entire image and you avoid glitches like the ones I was having with the displacement (you can see some of it along the right edge of the stelagmite on the bottom right of the cave opening).
oneinfiniteloop- lol, it's funny... Before reading your post, I was tweaking more today and I ended up using a double resolution depth map and downloaded the Frischluft Lenscare demo based on a recommend from another posting. I Doubled the depth map resolution in response to the edges looking a little messy, and that cleaned things up nicely.
The frischluft, on the other hand, I found to yeild worse results with more work than the lens blur... lol, but I didn't tweak with it too much so maybe I'm missing something. The blur looked exactly the same as the lens blur to me, only the edges actually didn't look quite as nice... But again, thats coming from a very limited experience.
Anywho, I have a few more questions... The one I'm working on right now is... how do I get the edge of the AE DOF to look as smooth at the C4D DOF? If you look close in the picture, there is a bit more of a jagged edge to the parts in focus in the AE DOF render... and that was with a double-sized depth map. I just tried it with a triple sized depth map, and it helped veerry slightly, but still didn't match the smooth edge of the C4D render... I tried blurring the actual depth map slightly as well, but that didn't work very well either...
Also, do you know how I could get DOF behind the glass? The depth map seems to render the glass as a solid object, not taking into account transparency or refraction... Also, I would want to keep the white cloud in the center in focus as it is in the middle of the glass, but have the refraction of the background out of focus... Hmmm...
Ok, last one... I found the only way to get a nice front DOF blur is to actually have a seperate matted image on top of a background image. Otherwise, the foreground is blurred, but the edge isn't. I blurred the depth map enough to give it a slight blur without being washed out, but it wasn't enough. Finally I seperated the foreground using the depth map as a matte, then rendered the same image, only without the foreground, to place underneath... Now, when I blur the foreground, the edge blurs nicely with the background... it only makes sense because there is image information under the foreground matte, where as with one image there isn't, so it cannot blur correctly with the background.
Ok, right, so my question in regards to the above is... Is there a way to render an object into it's own image and it's surroundings into a seperate image in one render in C4D? To use the picture as an example, I would want to render the sphere and the stelactite/stelagmite above and below it into a seperate image, only still have the refraction, reflection, transparency, etc. of the surrounding environment. Then I would also want the rest of the cave to be rendered into it's own file, including the part of the image that sat behind the glass sphere... I'm not sure if this is the purpose of the 'external compositing' tag, but I haven't seem to have been able to get it to fill that purpose for me... in fact I dont even know what the purpose of the 'external compositing' tag is yet...
Alright, I know this is a loaded response. I really appreciate any furthar help you can send my way.
oneinfiniteloop- lol, it's funny... Before reading your post, I was tweaking more today and I ended up using a double resolution depth map and downloaded the Frischluft Lenscare demo based on a recommend from another posting. I Doubled the depth map resolution in response to the edges looking a little messy, and that cleaned things up nicely.
The frischluft, on the other hand, I found to yeild worse results with more work than the lens blur... lol, but I didn't tweak with it too much so maybe I'm missing something. The blur looked exactly the same as the lens blur to me, only the edges actually didn't look quite as nice... But again, thats coming from a very limited experience.
Anywho, I have a few more questions... The one I'm working on right now is... how do I get the edge of the AE DOF to look as smooth at the C4D DOF? If you look close in the picture, there is a bit more of a jagged edge to the parts in focus in the AE DOF render... and that was with a double-sized depth map. I just tried it with a triple sized depth map, and it helped veerry slightly, but still didn't match the smooth edge of the C4D render... I tried blurring the actual depth map slightly as well, but that didn't work very well either...
Also, do you know how I could get DOF behind the glass? The depth map seems to render the glass as a solid object, not taking into account transparency or refraction... Also, I would want to keep the white cloud in the center in focus as it is in the middle of the glass, but have the refraction of the background out of focus... Hmmm...
Ok, last one... I found the only way to get a nice front DOF blur is to actually have a seperate matted image on top of a background image. Otherwise, the foreground is blurred, but the edge isn't. I blurred the depth map enough to give it a slight blur without being washed out, but it wasn't enough. Finally I seperated the foreground using the depth map as a matte, then rendered the same image, only without the foreground, to place underneath... Now, when I blur the foreground, the edge blurs nicely with the background... it only makes sense because there is image information under the foreground matte, where as with one image there isn't, so it cannot blur correctly with the background.
Ok, right, so my question in regards to the above is... Is there a way to render an object into it's own image and it's surroundings into a seperate image in one render in C4D? To use the picture as an example, I would want to render the sphere and the stelactite/stelagmite above and below it into a seperate image, only still have the refraction, reflection, transparency, etc. of the surrounding environment. Then I would also want the rest of the cave to be rendered into it's own file, including the part of the image that sat behind the glass sphere... I'm not sure if this is the purpose of the 'external compositing' tag, but I haven't seem to have been able to get it to fill that purpose for me... in fact I dont even know what the purpose of the 'external compositing' tag is yet...
Alright, I know this is a loaded response. I really appreciate any furthar help you can send my way.