Best way to get clear alpha

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Koler
Licensed Customer
Posts: 6
Joined: Fri Jul 28, 2017 12:00 pm

Hi everyone.

Let’s discuss how to create a clear alpha map. Now I am working on a project where I am rendering separate parts of the interior and after I am stacking them in Photoshop. The SilverwingVFX video explains that the best way to get a clear alpha map is to use None mode for setting Premultiplied alpha. But I have faced a bug or maybe it is a feature. If I render an image in Live Viewer and Save it with the setting Premultiplied alpha: None then I get a clear result. There is an alpha map without a grey border.
If I use Picture Viewer of Render Queue for batch rendering it works differently. With Premultiplied alpha: None I get an image with a black border. I attached some examples below. I want to find out how I can get an image with a clear alpha map from Picture Viewer or Render Queue as the image from Live Viewer.

Updade: Link to .psd file included layers.

Live Viewer save settings:
Image

Good render with a clear alpha map saved from Live Viewer:
Image

Good final image stacked from the layers saved from Live Viewer:
Image

Picture Viewer save settings:
Image

Bad render with a black border saved from Picture Viewer:
Image

Bad final image stacked from the layers saved from Picture Viewer:
Image
Last edited by Koler on Sat Dec 31, 2022 5:02 pm, edited 1 time in total.
jayroth2020
OctaneRender Team
Posts: 486
Joined: Mon May 04, 2020 7:30 pm

Save it from the Render AOV Groups tab in Octane Renderer settings, instead of the Picture Viewer.
Puget Systems / Intel Core Z790 ATX / RTX 4090 / Cinema 4D
Koler
Licensed Customer
Posts: 6
Joined: Fri Jul 28, 2017 12:00 pm

Hi Jayroth2020!

That's exactly how I do it, below are my save settings.

Image
jayroth2020
OctaneRender Team
Posts: 486
Joined: Mon May 04, 2020 7:30 pm

Disable the Save option in the left panel
Puget Systems / Intel Core Z790 ATX / RTX 4090 / Cinema 4D
Koler
Licensed Customer
Posts: 6
Joined: Fri Jul 28, 2017 12:00 pm

It didn't help:((
jayroth2020
OctaneRender Team
Posts: 486
Joined: Mon May 04, 2020 7:30 pm

Then submit a ticket to [email protected] so we can take a look at your scene. Be sure to do a File > Save Project with Assets... archive the result and send it in.
Puget Systems / Intel Core Z790 ATX / RTX 4090 / Cinema 4D
jayroth2020
OctaneRender Team
Posts: 486
Joined: Mon May 04, 2020 7:30 pm

As I reported in the support ticket, you need to enable Save Beauty in the Render AOV Group tab, and disable the C4D Save control.
Puget Systems / Intel Core Z790 ATX / RTX 4090 / Cinema 4D
henningricke
Licensed Customer
Posts: 40
Joined: Wed Feb 22, 2017 1:08 pm

I noticed, the problem can be with the way your compositing software interprets the alpha, rather than how Octane rendered it out.
For example, After Effects by default interprets EXRs with straight Alpha as having a premultiplied one, resulting in grey borders.
You always have to tell AE manually to interpret them as straight.
boxfx
Licensed Customer
Posts: 275
Joined: Fri Apr 27, 2012 9:13 am

henningricke wrote:I noticed, the problem can be with the way your compositing software interprets the alpha, rather than how Octane rendered it out.
For example, After Effects by default interprets EXRs with straight Alpha as having a premultiplied one, resulting in grey borders.
You always have to tell AE manually to interpret them as straight.
Isn't there a flag in the exr format which should be getting set so other apps know how to interpret the alpha?
User avatar
bepeg4d
Octane Guru
Posts: 10326
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

Hi,
the Premultiplied alpha option was part of the Camera Imager node in the past, now it has been moved to Render settings/OctaneRender/Main tab:
8730207B-87D0-400C-8306-AC3B5527B0A7.jpeg
ciao,
Beppe
Post Reply

Return to “Maxon Cinema 4D”