barad_dur Posted April 16, 2015 Share Posted April 16, 2015 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 Quote Link to comment Share on other sites More sharing options...
rtep Posted April 30, 2015 Share Posted April 30, 2015 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: `padzero(4,($F-1)*23+1)` ```````Make sure you use the backticks or it won't evaluate.```````` If you didn't have padding on your tif sequence you could use `($F-1)*23+1` 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.