Author Topic: Masks - they dont mask perfectly!?  (Read 1056 times)

2025-02-27, 01:43:59

shortcirkuit

  • Active Users
  • **
  • Posts: 366
    • View Profile
Hi all

I was wondering if anyone else faces this problem.  I save out my masks in TIF (16 bit) and i find that when im doing a scene such as an interior scene, the mask isnt perfect.  FOr instance, if im doing an interior scene looking out of a balcony that has glass and glass doors/windows - it seems when i apply the coroan mask to the beauty, its a little darker and i manually have to adjust the masks levels to make it that little more transparent.  This can be an issue when applying a mask to things such as sheer curtains - does anyone else have this problem?

2025-02-27, 13:03:18
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13622
  • Marcin
    • View Profile
I couldn't understand this part:
it seems when i apply the coroan mask to the beauty, its a little darker and i manually have to adjust the masks levels to make it that little more transparent

Can you explain what exactly you mean by that?
And generally, do you mean rendering masks (for example a white mask of an object) or render elements? (for example CShading_xxx render elements which can be composed back into Beauty)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2025-02-27, 22:46:24
Reply #2

shortcirkuit

  • Active Users
  • **
  • Posts: 366
    • View Profile
Hey Maru - sorry youre right.  I mean Alpha Masks.  It never masks out the backlground properly.  Atleast it didnt - i think i discovered why.
When saving out a TIF 16 bit, it wasnt using the alpha mask correctly.  However when i exported out to EXR - it worked fine i believe.

15 years, still learning.

I couldn't understand this part:
it seems when i apply the coroan mask to the beauty, its a little darker and i manually have to adjust the masks levels to make it that little more transparent

Can you explain what exactly you mean by that?
And generally, do you mean rendering masks (for example a white mask of an object) or render elements? (for example CShading_xxx render elements which can be composed back into Beauty)

2025-02-28, 10:08:29
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13622
  • Marcin
    • View Profile
All clear now and we also have the culprit, please see this thread:
https://forum.corona-renderer.com/index.php?topic=44489.0

Apparently, everything is affected by the 3ds Max OCIO color management, including masks.
The workaround is to use the "data image" or "raw" option when saving the mask. Or as you mentioned saving in the exr format.

We will see if we can fix that, but honestly I don't think so (and not sure if we want to).

(Report ID=CMAX-1503)
« Last Edit: 2025-02-28, 10:47:07 by maru »
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2025-04-02, 23:37:22
Reply #4

shortcirkuit

  • Active Users
  • **
  • Posts: 366
    • View Profile
hey Maru - what did you mean by this:
The workaround is to use the "data image" or "raw" option when saving the mask. Or as you mentioned saving in the exr format.
WHen i save as a TIF, i see DATA image but whjen i click on it, it activates the 1.0 gamma override.  What is the raw option?

All clear now and we also have the culprit, please see this thread:
https://forum.corona-renderer.com/index.php?topic=44489.0

Apparently, everything is affected by the 3ds Max OCIO color management, including masks.
The workaround is to use the "data image" or "raw" option when saving the mask. Or as you mentioned saving in the exr format.

We will see if we can fix that, but honestly I don't think so (and not sure if we want to).

(Report ID=CMAX-1503)

2025-04-08, 16:43:54
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13622
  • Marcin
    • View Profile
I mean these settings when saving a mask. If you click on "Data Image" it should automatically apply these settings.
You are using the 3ds Max OCIO color management mode, right?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us