Load 2 sources files and work inside ROP composite Output ?

   1279   1   1
User Avatar
Member
18 posts
Joined: June 2018
Offline
Hi Houdinists !
I'm a TOPs beginner playing with PDG, I'm trying to load 2 different files : Source A and B and make operations between those 2.
I can "call" one source file inside a ROP composite Output and make fun with it : no problem ! But I need to call 2 sources at the same time : source A and B.
The idea : load image A and image B, make operation, for example : merge image A channel green with image B channel Blue, and export the result.
As I said : I can do it with one source (in screenshot with AO node works well). But I have no idea how to do it with two sources
Edited by Pacman972 - Aug. 23, 2021 10:00:55

Attachments:
screenshot.jpg (106.0 KB)

User Avatar
Member
18 posts
Joined: June 2018
Offline
After several researches, here the solution.
Very special thanks to Mel Massadian for the help
-use partitionbyindex
-create your ROP composite output
-inside the ROP, set `pdginput(0,"",0)` for the first file import and `pdginput(1,"",0)` for the second one.
-Do whatever you want inside ROP
-Enjoy !

Hope it helps !

Attachments:
screenshot pdg.jpg (367.4 KB)

  • Quick Links