Jump to content

Rendering out nth frames and compositing them.


Recommended Posts

Hi all,


I am rendering out a fire simulation for sprite construction in Unity and I am running into an issue using the Mosaic COP for sprite sheet construction. I am rendering out every 24th frame of a simulation to end up with 10 frames that I want to make a sprite sheet from. However, bringing the frames back in to COP Context via a file sop is proving difficult.




It looks like I am missing the boat on how to get nth numbered frames back in without Houdini "filling in the holes", in this case making 11 or so copies of single frames. Do I need to hand rename these frames? I know it's something simple, it always is but if someone could give me a hand I'd appreciate it. Thank you

Link to comment
Share on other sites

  • 2 weeks later...

When you read the image sequence in you might need an expression in your file path to only grab frames you want, instead of $F4.  Maybe instead of $F4 try:




```````Make sure you use the backticks or it won't evaluate.````````


If you didn't have padding on your tif sequence you could use




But since you have padding you need the top expression.  padzero adds the padding in this case 4.


That should make each frame correspond to the actual image you want in the sequence.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...