Author Topic: Rendering out an alpha channel to 'cut out' an object  (Read 750 times)

2023-06-06, 10:09:32

wardy_mk

  • Active Users
  • **
  • Posts: 60
    • View Profile
Hello. Can someone please tell me what the procedure is for rendering out a channel to 'cut out' an item in my render scene please? Usually I use an object buffer in the render tag along with multi-pass but I don't seem to have the option in Corona.

Any help much appreciated!

2023-06-06, 11:35:51
Reply #1

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3862
  • Bengamin
    • View Profile
    • Cormats
Hi there, can you please share some examples? This would be a huge help.
Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2023-06-06, 12:09:35
Reply #2

wardy_mk

  • Active Users
  • **
  • Posts: 60
    • View Profile
Here you go, have a look at the attached. This shows the procedure (last to first) of obtaining a 'masking' channel for the item I want to isolate.

Create an object. Create a render tag and drop it onto the object. Apply the Object Buffer to it. Go to render settings and enable multi pass and object buffer. Render it out and now I have an alpha channel in my document which I can use to 'cut out' the object.

Hope that makes sense!
I can give you this simple c4d file if you like?

2023-06-06, 12:28:48
Reply #3

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3862
  • Bengamin
    • View Profile
    • Cormats
I'm not seeing where Corona is involved here. Everything seems C4D related so far.
Bengamin Jerrems l chaos-corona.com
3D Support Specialist - Corona l contact us
Corona Uploader l Upload
Portfolio l Click me!

2023-06-06, 12:58:53
Reply #4

Nejc Kilar

  • Corona Team
  • Active Users
  • ****
  • Posts: 1250
    • View Profile
    • My personal website
Howdy! From my understanding you're trying to create masks for objects much like you can with C4D's standard renderers and the Object Buffer workflows?

If so in Corona it is potentially even easier.

Go under the Corona menu (top bar) and bring up the MultiPass manager. In there search for the "Mask" pass (its under the mask category). Into its selection field you can simply drag the object you'd like to have a mask of. Do also make sure you switch the "no manual selection" option to "include selection".

Alternatively you can also leverage the "Object buffer ID" for pretty much the same workflow you had as with the C4D's Object Buffer functionality. In that case you want to set the "Object buffer ID" to X and then place a "Corona compositing" tag onto the object you want to mask out. Inside the "Corona compositing" tag you'll see you can set up the object buffer IDs.

Hope that helps. If not, we'll just try again :)
Nejc Kilar | chaos-corona.com
Educational Content Creator | contact us

2023-06-06, 16:46:08
Reply #5

wardy_mk

  • Active Users
  • **
  • Posts: 60
    • View Profile
EXCELLENT! That's what I was looking for. I knew there'd be a Corona-based alternative. Thanks!