Q: Mapping individual frames to frame numbers?

   1042   1   1
User Avatar
Member
7025 posts
Joined: July 2005
Offline
Hi,

Somewhat related to this (I tried the attached example file on that thread) but have failed to get this to work.

Basically, I have a FilePattern TOP (point it at any dir with non-frame-numbered images, such as $HFS/houdini/pic/hdri/*.rat) and I want to Mosaic the output.

Mosaic COP takes an image sequence, so somehow I have to get the @pdg_input to return a sequence to feed into the Mosaic COP.

In the linked thread, an Interleave is used, but that won't scale of course since that has a hardcoded number of inputs. Plus even in that case I couldn't get it to load two different frames I was thinking @pdg_input.0 and @pdg_input.1 fed into the Interleave but alas, I just get a single output in the Mosaic.

Any pointers most welcome.

18.0.460 Win 10

Cheers,

Peter B
Edited by pbowmar - May 27, 2020 13:33:23
User Avatar
Member
7025 posts
Joined: July 2005
Offline
`pdginput(0, “file/image”, 1)`

if I put that in the File COP and make 1 file cop for each image, then feed into a Sequence COP, it works. Alas, this is clearly not very procedural or scalable

Cheers,

Peter B
  • Quick Links