Control image seqnece as a texture

Houdini Integrated Plugin

Moderator: juanjgon

Post Reply
reelinspirations
Posts: 33
Joined: Thu Jan 05, 2017 8:13 pm

Hi,

I'm needing to be able to tell an image sequence in a texture when to start.

Let's say my Houdini timeline is 3700 frames long, and I need an image sequence that's 100 frames long to start at frame 2,000 and run to 2,100 and then stop.

Is there any way to do this currently with Houdini and Octane?

So far, I haven't found a way to do this.

Any ideas on if this is possible?

Thanks,

Jim
User avatar
juanjgon
Octane Plugin Developer
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Hi,

I'm fairly sure that you can build an expression to control the textures sequence with this behavior.

For example, if you use the next expression as texture filename:

$HIP/textures/texture-`padzero(4,clamp($F-2000,1,100))`.jpg

This expression should load as texture a 100 frames sequence of type "texture-0001.jpg", from the frame 2000 to the frame 2100, holding the first and last frames along the whole animation.

Hope this helps,
-Juanjo
reelinspirations
Posts: 33
Joined: Thu Jan 05, 2017 8:13 pm

That is brilliant, it worked.
I'm guessing I could use a ch("some parameter") to control the frames too so I can control when it fires at OBJ level.

I wasn't aware of those functions.
Post Reply

Return to “Houdini”