Jump to content

Problem when Compositing Transparent 3D Render using Multilayer EXR


Recommended Posts

Hi all,

I'm learning to make composition in Affinity Photo for my 3D render of transparent object from Blender. My goal is to make the object recolorable just by adjusting the color in Affinity Photo. I separate my object elements using Cryptomatte pass in Blender compositing.

I make use of the Multilayer EXR output from Blender and open it in AP with using the Associate OpenEXR alpha channel option. I manage to make the composition results to be the same as the Blender render results with one tiny bit of miss. The results has a tiny noticeable outline as the attached image. It will disappear if I put a fill on the back of everything, but I need it to be smoothly transparent. I've tried compositing using PNG but it still there. 

Is this expected results? How do I get rid of it? Thanks in advance :)

1752750360_APvsBlender.jpg.892f56717695f6c21001397617963dd0.jpg

Link to comment
Share on other sites

@Arini R Any chance you could produce a sample/partial render multilayer exr file and upload it so we can take a look ourselves?

iMac 27" Late 2019 Fully Loaded, iMac 27" Late 2013 both running Catalina 10.15.7 - Affinity Designer, Photo & Publisher, Adobe, Inkscape, Blender, C4D, Sketchup, Pepakura Designer + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

44 minutes ago, firstdefence said:

@Arini R Any chance you could produce a sample/partial render multilayer exr file and upload it so we can take a look ourselves?

Sure, here is the sample .exr straight from Blender and the screenshot of layer arrangements that I'm using. M is Multiply and A is Add.

image.png.eb02ebed17548a3ad993d068c7415f77.png

0002.exr

Link to comment
Share on other sites

This is definitely something to do with Affinity Photo, I opened the file up in Adobe Photoshop CC and it resolves the image in a slightly different way where the edges are fringed more with a lighter colouring than the dark brown seen in Affinity Photo. While it looks better without a background if you place a dark background behind it you get to see the fringing. In Affinity Photo the fringing does seem to correspond to the background colouring.

I wonder if leaving the Background out or deleting the background in Blender and exporting might give a more favourable result.

Adobe Photoshop CC 
image.png.f77c721ad4f957c0dbd65f6e91ef439b.png

iMac 27" Late 2019 Fully Loaded, iMac 27" Late 2013 both running Catalina 10.15.7 - Affinity Designer, Photo & Publisher, Adobe, Inkscape, Blender, C4D, Sketchup, Pepakura Designer + more... XP-Pen Artist-22E, - iPad Pro 12.9 B|  

Affinity Help - Affinity Desktop Tutorials - Feedback - FAQ - most asked questions

Link to comment
Share on other sites

4 hours ago, firstdefence said:

This is definitely something to do with Affinity Photo, I opened the file up in Adobe Photoshop CC and it resolves the image in a slightly different way where the edges are fringed more with a lighter colouring than the dark brown seen in Affinity Photo. While it looks better without a background if you place a dark background behind it you get to see the fringing. In Affinity Photo the fringing does seem to correspond to the background colouring.

I wonder if leaving the Background out or deleting the background in Blender and exporting might give a more favourable result.

Adobe Photoshop CC 
image.png.f77c721ad4f957c0dbd65f6e91ef439b.png

Thank you for taking the time checking the file @firstdefence:)

I don't have PS so I can't try it myself. I  tried on Krita and it has thinner line though.

The results is the same when I leaving the background out in Blender.

Some guys on Twitter point out that it has to do with premultiplied alpha and I have to try different approach for this to work on AP

I guess I have to tinker around a bit if I still want to use AP 😖

Link to comment
Share on other sites

  • 4 months later...
7 hours ago, davedev said:

Uh, did you ever solve this? I'm having the same issue. I think. Attached is picture of my issue from Daz using exr canves vs. no canvases and composite render in daz.

 

Hi, I manage to get rid of it by some help from Twitter. See the thread here

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.