hierarchy of node vs blending and fx

fraction's icon

Hi,

Sorry, it must sound a bit basic, but this problem of knowledge is getting me mad a bit. I dont find clear process about this simple thing : i just would like to have different nodes/layers of objects with their own chain of processing (bloom, blur etc).

In this exemple, i have:
one node receiving one object that has a bloom pass.
another node receiving another object that has a bloom and a blur.

how would you organize such a hierachy? i thought i understood that you have to set depth enable 0 for the jit.gl.videoplane, and erase color 0 0 0 1 in the nodes, but i cant get it working. All this blending aspect is quite not so obvious.

Max Patch
Copy patch and select New From Clipboard in Max.


All examples i found so far is only one pass or other effect straight to the render context. I would find quite interesting to have a clear example to organize such layers, as this might sound useful for scene design. Maybe it's somewhere, and i missed it!

thx for the help! :)

Rob Ramirez's icon

as alluded to in that second thread, I have finally added the 2pass depth rebuilder and example patch to our distro, so that should be in the next update. in the meantime i've attached it here.

as should be obvious, this is a complicated technique to get right, and the nuances will depend on your specific use case. hopefully this example is general enough to be of use and the basic idea of combining depth passes is clear. happy to follow up if not.

depth2pass.zip
zip 6.00 KB

fraction's icon

Hi Rob,

thanks a lot for your patience in replying to recurrent so a bit redundant inquires :)

I had read these two threads but i was not able to really understand how to set a proper hierarchy, and now looking at your patch, i was ways from solution.

That will be indeed really helpful to include this to the help, and i m grateful you are sharing it here. Thanks a lot!