How do I get bloom to render in a transparent image?

Forums: How do I get bloom to render in a transparent image?
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

How do I get bloom to render in a transparent image?

Postby amysterling » Thu May 06, 2021 6:52 pm

amysterling Thu May 06, 2021 6:52 pm
I have been having trouble getting bloom power to show up in my renders. It shows up if I include a backgound in the render, but I can't seem to get it to appear on any transparent image. Does anyone have ideas as to how to fix this? Here is an example of bloom with bg vs without (same render, no setings changed except to render alpha) I have tried every variant I can think of, including multilayer files.

image (24).png


It may be worth noting that the blur shows up in picture viewer, but when I bring the image into .ai it is gone.

Here is the project file in case anyone is willing to help. https://drive.google.com/file/d/1xU6S6P ... sp=sharing

Thank you
Amy
Attachments
image (25).png
picture viewer showing blur on file that does not actually have blur when opened in another program
amysterling
Licensed Customer
Licensed Customer
 
Posts: 14
Joined: Fri Apr 05, 2019 9:26 pm

Re: How do I get bloom to render in a transparent image?

Postby bepeg4d » Fri May 07, 2021 7:34 am

bepeg4d Fri May 07, 2021 7:34 am
Hi,
the issue is that the Alpha channel is cutting the pixels for Bloom/Glare.
The workaround is to render with Alpha Channel active, but without Post-Effect.
Then set the Kernel to Max Samples = 32, and render again the scene, saving only the Post Effect pass, with Alpha Channel disabled.
In this way, you can compose the Post Effect pass in Linear/Add mode in post.

ciao Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9951
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: How do I get bloom to render in a transparent image?

Postby amysterling » Fri May 07, 2021 3:52 pm

amysterling Fri May 07, 2021 3:52 pm
Thank you for the analysis. I have not ever rendered out multiple passes -- do you happen to have a tutorial on this?

Is there any way to make the alpha catch the bloom? That way I do not have to add another step to the render process plus keep up with 2 files for every cortex render, of which I have so many already!
amysterling
Licensed Customer
Licensed Customer
 
Posts: 14
Joined: Fri Apr 05, 2019 9:26 pm

Re: How do I get bloom to render in a transparent image?

Postby aoktar » Sat May 08, 2021 10:18 am

aoktar Sat May 08, 2021 10:18 am
It's not designed as you liked. Bloom effect is obtained by normal blend. Probably screen blending or so. Because of this it's useless to wish it in alpha. There's a Post renderpass. You should use it in post.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15957
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: How do I get bloom to render in a transparent image?

Postby adamwhatelse » Wed Aug 09, 2023 2:55 pm

adamwhatelse Wed Aug 09, 2023 2:55 pm
Yes, had the same situation right now, and what aoktar wrote works perfectly! In the Render-Settings activate Post-Processing in the Render AOV Groups!
adamwhatelse
Licensed Customer
Licensed Customer
 
Posts: 13
Joined: Tue Jun 16, 2015 12:55 am

Re: How do I get bloom to render in a transparent image?

Postby boxfx » Thu Aug 10, 2023 3:43 pm

boxfx Thu Aug 10, 2023 3:43 pm
There's another method which avoids extra files. If youre making an animation then just import the footage into after effects twice, once with interpretation set to use the alpha and once with it disabled. The glow data is in the colour channel of the render, the alpha channel is just cutting it away. You can stack the version with no alpha behind with mix mode set to add. This way you get your main crisp top render with alpha channel plus an un-cut version below acting as the glow.

The same is possible in PS but theres more steps involved.

alpha.jpg
boxfx
Licensed Customer
Licensed Customer
 
Posts: 220
Joined: Fri Apr 27, 2012 9:13 am

Re: How do I get bloom to render in a transparent image?

Postby elsksa » Fri Aug 11, 2023 1:18 pm

elsksa Fri Aug 11, 2023 1:18 pm
Here’s how: EXR. There is a gif demo in a section on this page.

Image
elsksa
Licensed Customer
Licensed Customer
 
Posts: 784
Joined: Sat Jul 24, 2021 1:06 am

Re: How do I get bloom to render in a transparent image?

Postby boxfx » Wed Aug 16, 2023 10:12 am

boxfx Wed Aug 16, 2023 10:12 am
Can you elaborate? No combination of exr settings causes the glow to render into any of my exr exports outside of rendering a post effect pass, but then that works on all file formats.
boxfx
Licensed Customer
Licensed Customer
 
Posts: 220
Joined: Fri Apr 27, 2012 9:13 am

Re: How do I get bloom to render in a transparent image?

Postby elsksa » Wed Aug 16, 2023 12:54 pm

elsksa Wed Aug 16, 2023 12:54 pm
What is demonstrated on the .gif and explained on the page is simply a quick EXR export of the beauty (no AOVs aka Passes) from Standalone. The EXR compression type isn’t relevant.

The key info is in the title of the file nodes from the compositor, shown in the gif, explicitly pointing towards the indisputable advantage and necessity of EXR.

Let me know if any further clarification are needed.
elsksa
Licensed Customer
Licensed Customer
 
Posts: 784
Joined: Sat Jul 24, 2021 1:06 am

Re: How do I get bloom to render in a transparent image?

Postby boxfx » Thu Aug 17, 2023 3:27 pm

boxfx Thu Aug 17, 2023 3:27 pm
Further clarification is needed.

The problem OP has is that when you export a beauty pass with alpha channel, the octane post glow is cut away by the alpha channel. Changing the export format between png, exr, tiff or anything else doesn't change this fact. Unless you would like to demonstrate otherwise
boxfx
Licensed Customer
Licensed Customer
 
Posts: 220
Joined: Fri Apr 27, 2012 9:13 am
Next

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: No registered users and 18 guests

Tue Apr 16, 2024 9:16 pm [ UTC ]