Control image seqnece as a texture

Forums: Control image seqnece as a texture
Houdini Integrated Plugin

Moderator: juanjgon

Control image seqnece as a texture

Postby reelinspirations » Tue Jun 06, 2017 1:41 am

reelinspirations Tue Jun 06, 2017 1:41 am
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
reelinspirations
 
Posts: 33
Joined: Thu Jan 05, 2017 8:13 pm

Re: Control image seqnece as a texture

Postby juanjgon » Tue Jun 06, 2017 3:04 pm

juanjgon Tue Jun 06, 2017 3:04 pm
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
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: Control image seqnece as a texture

Postby reelinspirations » Tue Jun 06, 2017 3:40 pm

reelinspirations Tue Jun 06, 2017 3:40 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.
reelinspirations
 
Posts: 33
Joined: Thu Jan 05, 2017 8:13 pm

Return to Houdini


Who is online

Users browsing this forum: No registered users and 15 guests

Sat Apr 20, 2024 12:16 am [ UTC ]