Premultiplied alpha bug

Forums: Premultiplied alpha bug
Sub forum for bug reports
Forum rules
Before posting a bug report, please check the following:
1. That the issue has not already been disclosed
2. That the issue is specific to this plugin, and not Octane in general (Try reproducing it in Standalone)
Bugs related to the Octane Engine itself should be posted into the Standalone Support sub-forum.


All bug reports should include the information below, along with a detailed description of the issue and steps to reproduce it.
A. Operating System, including version (i.e. Win 7, OSX 10.11.2, Ubuntu 14.04, etc.)
B. Graphics Card(s) model (i.e. GTX 580 - 3GB, TITAN, etc.)
C. RAM Capacity (i.e. 6 GB)
D. Nvidia driver version (i.e. 7.50, 7.5.22)
E. OctaneRender Standalone version, if installed (i.e. 2.24.2, 2.23, etc.)
F. OctaneRender plugin version (i.e. v2.25 - 2.21)
G. Host application version, including build number if available (i.e. 3ds Max 2016 Build 18.0)

Premultiplied alpha bug

Postby J.C » Fri Nov 15, 2019 11:00 pm

J.C Fri Nov 15, 2019 11:00 pm
There is serious bug in Blender plugin causing white edge on an image with transparency. Standalone render fine. In both cases "Premultiplied alpha" is disabled.
alpha bug.png


I attach both versions for comparison.

Edit:
I've found the reason of such behaviour. The Blender's Color management gamma was set to .04545 and Display device was set to sRGB.
Setting back Display device to None and gamma 1 brought back the correct alpha on renders.
Attachments
alpha bug.blend
(13.07 MiB) Downloaded 142 times
alpha_bug.orbx
(13.29 MiB) Downloaded 142 times
Last edited by J.C on Mon Nov 18, 2019 9:00 pm, edited 2 times in total.
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1722
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: Premultiplied alpha bug

Postby aufwind » Sat Nov 16, 2019 9:53 am

aufwind Sat Nov 16, 2019 9:53 am
Hi JC,

it should work if you enable "premultiplied alpha" and keep the "disabled partial alpha" unchecked.
Win7 | Gigabyte G1.Sniper 3 | I7 3770K | 2x Titan (Kepler) | 1x Titan X (Pascal)
aufwind
Licensed Customer
Licensed Customer
 
Posts: 122
Joined: Sun Mar 31, 2013 4:47 pm

Re: Premultiplied alpha bug

Postby J.C » Sun Nov 17, 2019 5:06 pm

J.C Sun Nov 17, 2019 5:06 pm
aufwind wrote:Hi JC,

it should work if you enable "premultiplied alpha" and keep the "disabled partial alpha" unchecked.


I've tried all scenarios. Same result. The file was opened in Photoshop where it displayed like this. What's strange that file opened in in After Effect behaved properly.
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1722
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: Premultiplied alpha bug

Postby J.C » Mon Nov 18, 2019 11:09 am

J.C Mon Nov 18, 2019 11:09 am
This is how files look like when opened in Photoshop:
alpha_bug.png
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1722
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: Premultiplied alpha bug

Postby J.C » Mon Nov 18, 2019 11:24 am

J.C Mon Nov 18, 2019 11:24 am
This is how After Effects interprets the Blender renders:
alpha_bug ae.png
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1722
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: Premultiplied alpha bug

Postby J.C » Mon Nov 18, 2019 11:32 am

J.C Mon Nov 18, 2019 11:32 am
And this is how it looks like in After effects with Standalone renders:
alpha_standalone ae.png
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1722
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: Premultiplied alpha bug

Postby aufwind » Mon Nov 18, 2019 3:49 pm

aufwind Mon Nov 18, 2019 3:49 pm
I don't know why you get these strange results. I've even tried you're Blend File.
Here my results rendered in Blender Plug-In with the Settings mentioned in my post.
Suzanne with and without DOF. Background inserted in Photoshop.

Suzanne.jpg
Suzanne DOF.jpg
Win7 | Gigabyte G1.Sniper 3 | I7 3770K | 2x Titan (Kepler) | 1x Titan X (Pascal)
aufwind
Licensed Customer
Licensed Customer
 
Posts: 122
Joined: Sun Mar 31, 2013 4:47 pm

Re: Premultiplied alpha bug

Postby J.C » Mon Nov 18, 2019 6:03 pm

J.C Mon Nov 18, 2019 6:03 pm
aufwind wrote:I don't know why you get these strange results. I've even tried you're Blend File.
Here my results rendered in Blender Plug-In with the Settings mentioned in my post.
Suzanne with and without DOF. Background inserted in Photoshop.


Have you tried different background like mine on the example? On some backgrounds it is more visible than on others.
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1722
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: Premultiplied alpha bug

Postby J.C » Mon Nov 18, 2019 6:38 pm

J.C Mon Nov 18, 2019 6:38 pm
aufwind wrote:I don't know why you get these strange results. I've even tried you're Blend File.
Here my results rendered in Blender Plug-In with the Settings mentioned in my post.
Suzanne with and without DOF. Background inserted in Photoshop.
[/attachment]



Another example:
standalone vs plugin pm.png
CPU – i9 13900KF, 128GB RAM, GPU – RTX 4090
System – Windows 11
My Behance portfolio, Blender plugin FB support group
J.C
Licensed Customer
Licensed Customer
 
Posts: 1722
Joined: Thu May 13, 2010 6:35 pm
Location: Wrocław

Re: Premultiplied alpha bug

Postby aufwind » Mon Nov 18, 2019 6:58 pm

aufwind Mon Nov 18, 2019 6:58 pm
For you to try out just the Render Layer with alpha channel Export and a Version with a different background.
I'm still on Octane Blender Version 3.07. So maybe it is a Problem with newer Versions or just some setting problems in Photoshop...

Suzanne DOF.png

Suzanne DOF.jpg
Win7 | Gigabyte G1.Sniper 3 | I7 3770K | 2x Titan (Kepler) | 1x Titan X (Pascal)
aufwind
Licensed Customer
Licensed Customer
 
Posts: 122
Joined: Sun Mar 31, 2013 4:47 pm
Next

Return to Bug Reports


Who is online

Users browsing this forum: No registered users and 3 guests

Tue Apr 23, 2024 2:19 pm [ UTC ]