Author Topic: Render "hidden" object in a Mask  (Read 1439 times)

2019-01-08, 11:01:12

petrorosengren

  • Active Users
  • **
  • Posts: 60
    • View Profile
Hello!
Is there a way to render a hidden object (or not "visible to camera") in a seperate mask.
I want the object only to appear in the mask render element

2019-01-09, 14:12:48
Reply #1

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12784
  • Marcin
    • View Profile
Interesting question... I didn't manage to get it working, so I'll think of some other ways, and will submit a feature request if I can't find any elegant solution.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2019-01-09, 16:32:08
Reply #2

petrorosengren

  • Active Users
  • **
  • Posts: 60
    • View Profile
Great thank you!

I will clarify my use for this: I want to use 3D people as height and size reference for my Cut out people  in Photoshop.
So it would be convenient if I could place all my 3D people, having them not visiable in the Beuty render but only in my Mask render element.

2019-01-09, 18:31:15
Reply #3

mferster

  • Active Users
  • **
  • Posts: 523
    • View Profile
1. give your people a material with full refraction and an IOR of 1.0, (so there is no distortion)
2. Add a CTexmap to your render elements
3. enable override background color black in the render element, add a corona color map to the texmap slot
4. click on the exclude list button, and switch it to include  rather than exclude and  then add all your people in the scene.

« Last Edit: 2019-01-09, 18:41:26 by mferster »

2019-01-14, 12:08:45
Reply #4

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12784
  • Marcin
    • View Profile
1. give your people a material with full refraction and an IOR of 1.0, (so there is no distortion)
I may be wrong, but I think refractive material with IOR 1 will still produce some visible stuff (ghost-like).
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2019-01-18, 11:16:51
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12784
  • Marcin
    • View Profile
(internal note id=309743801)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us