Jump to: Board index » General » Fusion

Use Object ID to merge multiple Renderer 3D outputs

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline
User avatar

Ferdinand13

  • Posts: 49
  • Joined: Thu Aug 09, 2018 10:08 am
  • Real Name: Philipp Zakrzewski

Use Object ID to merge multiple Renderer 3D outputs

PostThu May 18, 2023 6:47 pm

Hey guys, I'm trying to combine the outputs of various Renderer 3D nodes, with each of them focussing on a different object in my 3D scene, so I can give every object the render settings it needs.

I've set up individual Object IDs for all the objects and activated auxiliary channels in the Renderer3D node, ticking Object ID.

For one, I can select "ObjID" from the colour channel drowdown in the viewer, but the viewer remains black. Is there no colour representation for the individual object IDs?

Either way, I realised that - although you can't see the Object ID channel - it kind of arrives downstream, in the Brightness/Contrast node I set up to test the Object ID functionality. In the B/C node it does indeed allow me to isolate the changes in brightness or contrast to only the Object ID.

However, I would like to use the Object ID pass in a downstream Merge node, to combine different Renderer 3D outputs on an object by object basis. Activating the "Use Object" setting in the "Settings" tab of the Merge node has no effect.

Am I missing something? Something tells me that I would have to convert the Object ID pass into some kind of matte (either luma or alpha), but I can't seem to be able to achieve that.

Any suggestions would be highly appreciated :D
Offline
User avatar

Ferdinand13

  • Posts: 49
  • Joined: Thu Aug 09, 2018 10:08 am
  • Real Name: Philipp Zakrzewski

Re: Use Object ID to merge multiple Renderer 3D outputs

PostThu May 18, 2023 7:19 pm

OK, a couple of really helpful people (above all "Goup") on Discord helped me find the solution.

First things first, you can use the CopyAux node to visualise the auxiliary channels as colour channels, like so:
CopyAux.png
CopyAux.png (64.8 KiB) Viewed 3409 times


But that didn't quite give me what I wanted.

Another option was then to use the Bitmap node and activate the "Object ID" option, like so:
Bitmap.png
Bitmap.png (63.97 KiB) Viewed 3409 times


This was super close, but unfortunately I ended up with an unsightly aliased line where the ground meets the transparent BG.

I then noticed that deselecting "HiQ" in the Renderer 3D node's Anti-Aliasing/Per Channel Settings/Enable Anti-Aliasing settings did manage to get rid of the jaggedy line.
Bitmap_NoAliasing.png
Bitmap_NoAliasing.png (116.22 KiB) Viewed 3409 times


So this seems to do the job for now :D
Offline
User avatar

Ferdinand13

  • Posts: 49
  • Joined: Thu Aug 09, 2018 10:08 am
  • Real Name: Philipp Zakrzewski

Re: Use Object ID to merge multiple Renderer 3D outputs

PostThu May 18, 2023 7:30 pm

However, in the end it's probably best to "divide and conquer" everything in 3D space feeding things into their respective renderers and omitting whichever objects aren't needed for specific passes. This way you get clean passes with just the right alpha channels you might need.

Something like that:
DivideAndConquer.png
DivideAndConquer.png (80.67 KiB) Viewed 3406 times
Offline

Kel Philm

  • Posts: 604
  • Joined: Sat Nov 19, 2016 6:21 am

Re: Use Object ID to merge multiple Renderer 3D outputs

PostFri May 19, 2023 11:00 pm

With object ID passes that have hard edges I often use a matte node to blur and erode so the edges to match better.
Offline
User avatar

goohoobler1

  • Posts: 26
  • Joined: Wed Jul 27, 2022 9:34 pm
  • Real Name: George Port

Re: Use Object ID to merge multiple Renderer 3D outputs

PostSat May 20, 2023 3:21 am

Hi
In an ideal world , Fusion would build in the Cryptomatte plugin (currently only available as an input option as part of the Reactor suite) , which would give greatly improved object/material/asset masking with softer edges and easier options to mask all objects. If it was available out of the 3D renderer (and/or , even better, the new USD renderer..) it would improve quality of life for all involved in 3D/2D integration.
Goto https://github.com/Psyop/Cryptomatte/bl ... /fusion.md for more info.
Windows 11 Pro (22H2)
Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz
64.0 GB RAM
Nvidia 1070 (8GB VRAM)
AMD Ryzen 3970X @ 3.69 GHz
128 GB RAM
Nvidia 3090 (24GB VRAM)
Resolve Studio / Fusion Studio 18.6
Offline
User avatar

Bryan Ray

  • Posts: 2478
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: Use Object ID to merge multiple Renderer 3D outputs

PostSat May 20, 2023 4:17 pm

I believe the Coverage channel contains the anti-aliasing information you need. I don't have Fusion in front of me at the moment, and I don't remember for sure about its use, but I think it's to be multiplied with a matte pulled out of the Object or Material ID. It's still not as good as a puzzle matte or Cryptomatte, but it's better than the aliasing you get from the integer ID channels.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline
User avatar

Ferdinand13

  • Posts: 49
  • Joined: Thu Aug 09, 2018 10:08 am
  • Real Name: Philipp Zakrzewski

Re: Use Object ID to merge multiple Renderer 3D outputs

PostMon Jun 05, 2023 8:55 pm

Kel Philm wrote:With object ID passes that have hard edges I often use a matte node to blur and erode so the edges to match better.


Thanks a lot. Yes, the matte node does indeed sound like a good idea!
Offline
User avatar

Ferdinand13

  • Posts: 49
  • Joined: Thu Aug 09, 2018 10:08 am
  • Real Name: Philipp Zakrzewski

Re: Use Object ID to merge multiple Renderer 3D outputs

PostMon Jun 05, 2023 8:58 pm

goohoobler1 wrote:Hi
In an ideal world , Fusion would build in the Cryptomatte plugin (currently only available as an input option as part of the Reactor suite) , which would give greatly improved object/material/asset masking with softer edges and easier options to mask all objects. If it was available out of the 3D renderer (and/or , even better, the new USD renderer..) it would improve quality of life for all involved in 3D/2D integration.
Goto https://github.com/Psyop/Cryptomatte/bl ... /fusion.md for more info.


+1 on that one. Fusion still has a long way to go in order to compete with the 'establishment', i.e. Nuke and After Effects. But I can't escape its rough charms :D If I could, I'd do almost all of my mograph and comping inside Fusion, but there's always a moment when things either don't work or don't work as expected, when I'm forced back into the world of Adobe :?
Offline
User avatar

Ferdinand13

  • Posts: 49
  • Joined: Thu Aug 09, 2018 10:08 am
  • Real Name: Philipp Zakrzewski

Re: Use Object ID to merge multiple Renderer 3D outputs

PostMon Jun 05, 2023 9:00 pm

Bryan Ray wrote:I believe the Coverage channel contains the anti-aliasing information you need. I don't have Fusion in front of me at the moment, and I don't remember for sure about its use, but I think it's to be multiplied with a matte pulled out of the Object or Material ID. It's still not as good as a puzzle matte or Cryptomatte, but it's better than the aliasing you get from the integer ID channels.


Thanks Bryan! Fusion-wizard at work as always :D I'll check out the coverage channel as soon as my schedule clears up. Sounds promising!
Offline
User avatar

daniel.koch

Blackmagic Design

  • Posts: 144
  • Joined: Wed Apr 15, 2015 5:54 am

Re: Use Object ID to merge multiple Renderer 3D outputs

PostMon Jun 05, 2023 11:53 pm

Ferdinand13 wrote:For one, I can select "ObjID" from the colour channel drowdown in the viewer, but the viewer remains black. Is there no colour representation for the individual object IDs?
There is, but the colour values of the IDs are likely too dark to see. Try turning on Normalized Color Range in the viewer dropdown, that should brighten things up.

Return to Fusion

Who is online

Users browsing this forum: Hideki Inoue and 32 guests