How to render with clean alpha for compositing?

Forums: How to render with clean alpha for compositing?
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

How to render with clean alpha for compositing?

Postby MoGrafik » Thu Oct 06, 2016 5:00 pm

MoGrafik Thu Oct 06, 2016 5:00 pm
Hey everyone,
Apologies if this has come up previously.
I'm rendering a shot where I'll be rendering with alpha and replacing the sky with a different on in After Effects. I've never been able to achieve a fully clean alpha out of the render with Octane, and I've always got by with matte chokers / blurs etc. However on this project that doesn't seem to be enough (quite a detailed skyline) - no matter what I do, there always seems to be white grain and jagged edges around the alpha edge.
I was wondering what the process is for you guys? Is it possible to do this with depth of field also?
I've tried using 'disable partial alpha' in the camera tag in the most recent release, but it doesn't seem to help, sadly.

Would really appreciate any input on this. Thanks
Win 8.1 / i7 4930k / 2 x GTX Titan / Cinema 4d
MoGrafik
Licensed Customer
Licensed Customer
 
Posts: 143
Joined: Thu Aug 15, 2013 6:39 pm

Re: How to render with clean alpha for compositing?

Postby jayroth » Thu Oct 06, 2016 6:09 pm

jayroth Thu Oct 06, 2016 6:09 pm
I've had trouble with this in the past as well, but I have just cranked out a bunch of frames over the last week or so, and all of the alphas have been clean. I am using the most current build, and I am rendering with a linear response (camera tag, camera imager tab, with neutral response enabled and gamma before response enabled.) I'm using the path tracing kernel, with alpha channel enabled and keep environment disabled. That said, I have not rendered with motion blur active for these shots, so I don't know if that factors in your case or not. Regardless, the alphas have all been super clean... good luck!!
CaseLabs Mercury S8 / ASUS Z10PE-D8 WS / Crucial 64GB 2133 DDR4 / 2 XEON E5-2687W v3 3.1 GHz / EVGA 1600 P2 / 2 EVGA RTX 2080Ti FTW3 Hybrid/ Cinema 4D

Is it fast? Oh, yeah!
User avatar
jayroth
Licensed Customer
Licensed Customer
 
Posts: 393
Joined: Fri May 28, 2010 7:29 pm
Location: Orange County, CA, USA

Re: How to render with clean alpha for compositing?

Postby MoGrafik » Thu Oct 06, 2016 6:46 pm

MoGrafik Thu Oct 06, 2016 6:46 pm
Hey, thanks very much for getting back to me on this. I'll try rendering a few frames with these settings.
Having done some experiments I've got fairly clean alphas, but there's still an apparent halo / darkening on feathered parts of the alpha.
Thanks for your advice!
Win 8.1 / i7 4930k / 2 x GTX Titan / Cinema 4d
MoGrafik
Licensed Customer
Licensed Customer
 
Posts: 143
Joined: Thu Aug 15, 2013 6:39 pm

Re: How to render with clean alpha for compositing?

Postby MoGrafik » Tue Oct 11, 2016 11:30 am

MoGrafik Tue Oct 11, 2016 11:30 am
Hey, Jayroth - thanks again for your help!
Going though your steps I think I figured out how to get this working, and what I was doing wrong. It seems like changing over to path tracing made a lot of difference - I was trying to get a quick render with GI diffuse, but I think it had problems with the alpha. Also, after effects automatically interpreted the alpha as pre-multiplied. Changing it to straight made the alpha clean!
Win 8.1 / i7 4930k / 2 x GTX Titan / Cinema 4d
MoGrafik
Licensed Customer
Licensed Customer
 
Posts: 143
Joined: Thu Aug 15, 2013 6:39 pm

Re: How to render with clean alpha for compositing?

Postby jayroth » Tue Oct 11, 2016 4:44 pm

jayroth Tue Oct 11, 2016 4:44 pm
Glad to hear you have it sorted!
CaseLabs Mercury S8 / ASUS Z10PE-D8 WS / Crucial 64GB 2133 DDR4 / 2 XEON E5-2687W v3 3.1 GHz / EVGA 1600 P2 / 2 EVGA RTX 2080Ti FTW3 Hybrid/ Cinema 4D

Is it fast? Oh, yeah!
User avatar
jayroth
Licensed Customer
Licensed Customer
 
Posts: 393
Joined: Fri May 28, 2010 7:29 pm
Location: Orange County, CA, USA

Re: How to render with clean alpha for compositing?

Postby ahclausen » Wed Mar 14, 2018 9:29 pm

ahclausen Wed Mar 14, 2018 9:29 pm
I had the same issue and read through your post here searching for a fix. I did what you guys talked about as well, but without any luck. For other that might come across this, I fixed it by checking OFF "Keep environment" under the kernels tab. Should be noted that I have only an HDRI Environment object as a light source and that I'm rendering out with premultiplied alpha (as in I have NOT checked the straight alpha option in C4D save render option) - but none the less, this fixed it for me.
Win 10 64 | RTX 2080 TI master - Nvidia Geforce GTX 1080 TI x2 slaves | i7 6850K | 64GB 2400

Happy rendering!
ahclausen
Licensed Customer
Licensed Customer
 
Posts: 1
Joined: Tue Nov 21, 2017 11:34 am

Re: How to render with clean alpha for compositing?

Postby max1e » Thu Mar 15, 2018 9:08 pm

max1e Thu Mar 15, 2018 9:08 pm
Hello guys. probably i have same problem. If you have few free minutes look please at this topic. Thanks
https://render.otoy.com/forum/viewtopic.php?f=30&t=65898
max1e
Licensed Customer
Licensed Customer
 
Posts: 14
Joined: Thu Sep 22, 2016 8:47 am

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: Bing [Bot] and 19 guests

Thu Mar 28, 2024 11:54 pm [ UTC ]