Author Topic: Masks in reflection/refraction playgound!  (Read 19115 times)

2020-10-27, 10:58:37
Reply #30

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 838
  • George
    • View Profile
Does this technique work with non-glossy reflections?

It works equally for low-gloss surfaces but needs more time to clear the mask. Any feedback is welcome if you are planning on utilizing it.
George Karampelas | chaos-corona.com
Chaos Corona QA Specialist | contact us

2020-10-27, 11:53:43
Reply #31

Jpjapers

  • Active Users
  • **
  • Posts: 1650
    • View Profile
Does this technique work with non-glossy reflections?

It works equally for low-gloss surfaces but needs more time to clear the mask. Any feedback is welcome if you are planning on utilizing it.

Im very much planning on using it. Its the missing piece in being able to swap textures out of rendered images ;)
My only issue is that since Deadline isnt compatible with Corona 6 yet, im unable to test it on live projects.

2020-10-29, 19:14:45
Reply #32

Stig

  • Users
  • *
  • Posts: 3
    • View Profile
Hello all, we would love to hear your thoughts and receive some feedback regarding the changes in Masks/propagation for Corona version 6.

1) Should we include a Hidden option for CoronaMtl, that would hide the object in masks? (similar to version 5 "Visible/invisible to masks") It would then show the background "mask" instead. (Currently, this is not possible)

2) In a scenario where masks are propagated through an object and the background is being hit, should we show the object's mask or the background "mask"? (Currently, it shows the object A mask). This is in regard to both Corona Mtl and CoronaLight MTL. Although the current implementation can allow for separate control between masking elements (i.e. editing separate color range for reflection-refraction) it leads to issues when editing the background element. Example: https://corona-renderer.com/comparer/3ShyQ8

3) If the propagation is set to reflect/always (with both reflection/refraction level 0.0) and diffuse material is used, what should happen? (Currently, diffuse reflection is treated the same way as a specular reflection -> this leads to noise in masks, since diffuse reflection goes all over the place). Example of wire color mask for table surface between always/never: https://corona-renderer.com/comparer/73zQV7

To be honest, it's absolutely horrible. We are suddenly no longer able to render masks, which is causing a lot of problems for us. We have tried all different Propegation-settings, but the masks always comes out messy and useless. It would be relly nice if you could test these big changed internally to see if it works before releasing them in an update.

2020-10-30, 07:05:56
Reply #33

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 838
  • George
    • View Profile
Hello all, we would love to hear your thoughts and receive some feedback regarding the changes in Masks/propagation for Corona version 6.

1) Should we include a Hidden option for CoronaMtl, that would hide the object in masks? (similar to version 5 "Visible/invisible to masks") It would then show the background "mask" instead. (Currently, this is not possible)

2) In a scenario where masks are propagated through an object and the background is being hit, should we show the object's mask or the background "mask"? (Currently, it shows the object A mask). This is in regard to both Corona Mtl and CoronaLight MTL. Although the current implementation can allow for separate control between masking elements (i.e. editing separate color range for reflection-refraction) it leads to issues when editing the background element. Example: https://corona-renderer.com/comparer/3ShyQ8

3) If the propagation is set to reflect/always (with both reflection/refraction level 0.0) and diffuse material is used, what should happen? (Currently, diffuse reflection is treated the same way as a specular reflection -> this leads to noise in masks, since diffuse reflection goes all over the place). Example of wire color mask for table surface between always/never: https://corona-renderer.com/comparer/73zQV7

To be honest, it's absolutely horrible. We are suddenly no longer able to render masks, which is causing a lot of problems for us. We have tried all different Propegation-settings, but the masks always comes out messy and useless. It would be relly nice if you could test these big changed internally to see if it works before releasing them in an update.

Could you please be more specific in what way your results are messy and useless?
George Karampelas | chaos-corona.com
Chaos Corona QA Specialist | contact us

2020-12-04, 11:17:08
Reply #34

JG_monomiru

  • Active Users
  • **
  • Posts: 125
  • JG
    • View Profile
    • www.gehrcken.de
already posted this suggestion to bring back at least "visble in mask" option back in V7...

this was a good way to work around with 1.full rendering and 2nd.rendering with "mask not visble" (render only masks) ---- to get some speedy elemets for all postproduction work with glass materials.

The removal of "visible in Mask" option is quite a headache when working with multi-submaterials and some submaterials are glass to be invisble/visible in masks.


currently this "behaviour" is not possible with V6 and dailyV7 ...as you can't make "glass material" invisible to zdepth/normal etc. and keep the other visible materials on a multi-submaterial object.
Only way would be to detach glass-material and turn it invisible to camera in object property modes - which is not an option in many cases - specially when working with Railclone etc.
« Last Edit: 2020-12-04, 11:25:51 by Jens_Gehrcken »

2021-01-26, 23:53:03
Reply #35

DPS

  • Active Users
  • **
  • Posts: 118
    • View Profile
Not sure if this is a bug or user error?

See attachment.

The reflections in the masks don't align with the reflection in the beauty. Is this user error?

Specs: AMD 1950X, Aorus Gaming 7 x399, 64GB RAM, 1080ti. Win10, Max 2017, Corona 1.7.3

2021-01-27, 09:51:06
Reply #36

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 838
  • George
    • View Profile
Not sure if this is a bug or user error?

See attachment.

The reflections in the masks don't align with the reflection in the beauty. Is this user error?

Can you please make sure that your IDs are set properly, also which version of Corona renderer you are currently using?

I am afraid we might have to further investigate your scene, I was unable to reproduce this on a very simple setup: https://corona-renderer.com/comparer/axbP6q

Thanks
George Karampelas | chaos-corona.com
Chaos Corona QA Specialist | contact us

2021-01-27, 14:06:43
Reply #37

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12752
  • Marcin
    • View Profile
Is there some kind of denoising used here? It looks like the lines are there in the beauty, but barely visible. Maybe they got blurred because of denoising?
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us