KeyShot Forum

Technical discussions => General discussion => Topic started by: paco67 on October 13, 2016, 02:42:38 AM

Title: Texture animation
Post by: paco67 on October 13, 2016, 02:42:38 AM
Good morning,

I would like to animate the hot and cold water flowing on tubes using animated textures red an blu.
Even if I can assign animated gif, when I render they remains static (see file attached).

Do you know how to do it?

Regards,
Francesco
Title: Re: Texture animation
Post by: Chad Holton on October 13, 2016, 05:47:48 AM
Hi Francesco,

You can animate a texture (fade, colors, etc.) but an animated texture isn't supported just yet.

Chad
Title: Re: Texture animation
Post by: paco67 on October 13, 2016, 06:16:02 AM
Many thanks Chad for your swift answer.   :D

I wonder if you know a method to animate the flow as in the following videos:

https://www.youtube.com/watch?v=tCQ3e7ija3M

Best Regards.
Title: Re: Texture animation
Post by: Chad Holton on October 13, 2016, 08:04:37 AM
No problem, Francesco. Sorry it wasn't the answer you were looking for though.  :-\

Not sure of a way to pull off that type of animation. Maybe some of our awesome forum members will have some ideas.
Title: Re: Texture animation
Post by: LayC42 on October 13, 2016, 10:20:41 AM
I have no clue how to create this script, but I'm sure that a script can handle this.
Just like a script handle multiple CAD files, it should be possible to handle iteration of textures. So tha gif or video file has to split in separate frame files. The first frame will be used as a texture. Then the scene goes into the queue. And then the script replace the frame texture with the next iteration, and so on ...
In combination with animation steps (camera or parts moves or blending things) it will be lil complex.

Who can finish this challenge?
Title: Re: Texture animation
Post by: Robb63 on October 13, 2016, 10:32:21 AM
A lot of that you could do with glowing spheres following the pipe shape.
Probably easier to do in After Effects,  if you have the Adobe Suite
Title: Re: Texture animation
Post by: paco67 on October 17, 2016, 05:17:35 AM
Quote from: Chad Holton on October 13, 2016, 05:47:48 AM
Hi Francesco,
You can animate a texture (fade, colors, etc.) but an animated texture isn't supported just yet.
Chad

I wonder if it is possible to move a texture between different frames, to simulate an animated texture.
Title: Re: Texture animation
Post by: bdesign on October 19, 2016, 01:29:41 AM
Hey Francesco-

Here's what I came up with. The flow indicator texture is a transparent PNG gradient (512x2048), which is blended over a planar mapped Color Gradient node texture via a Color Composite node. The Mapping type for the PNG is UV Coordinates. I applied a Number Fade animation node to the Shift Y parameter, moving from 0 to -.04, 5 seconds in duration. Adjust the Shift Y amount accordingly for the length of your animation. Let me know if this helps.

Eric
https://vimeo.com/187947824
Title: Re: Texture animation
Post by: Finema on October 19, 2016, 01:57:03 AM
Whoua ! it's awesome Eric ! :o ;)
Title: Re: Texture animation
Post by: bdesign on October 19, 2016, 02:04:57 AM
Quote from: Finema on October 19, 2016, 01:57:03 AM
Whoua ! it's awesome Eric ! :o ;)
Thanks very much, Finema!

Cheers,
Eric
Title: Re: Texture animation
Post by: Chad Holton on October 19, 2016, 04:59:37 AM
Nice work, Eric!  8)
Title: Re: Texture animation
Post by: NM-92 on October 19, 2016, 05:48:49 AM
Internet will explode the day you can't solve a Ks problem Eric :P
Title: Re: Texture animation
Post by: Robb63 on October 19, 2016, 05:58:32 AM
What the What?????
Very impressive workaround
Title: Re: Texture animation
Post by: guest84672 on October 19, 2016, 06:03:40 AM
Very impressive indeed.
Title: Re: Texture animation
Post by: bdesign on October 19, 2016, 06:19:35 AM
Quote from: Chad Holton on October 19, 2016, 04:59:37 AM
Nice work, Eric!  8)
Thanks, Chad!  8)
Quote from: NM-92 on October 19, 2016, 05:48:49 AM
Internet will explode the day you can't solve a Ks problem Eric :P
Ha! That's awesome, Nico :) Thanks, man!
Quote from: Robb63 on October 19, 2016, 05:58:32 AM
What the What?????
Very impressive workaround
Thanks a lot, Robb!
Quote from: thomasteger on October 19, 2016, 06:03:40 AM
Very impressive indeed.
Thank you very much, Thomas!

Cheers,
Eric
Title: Re: Texture animation
Post by: LayC42 on October 19, 2016, 12:19:47 PM
Very impressive! Or like a German phrase tells: I lift my hat!
Title: Re: Texture animation
Post by: bdesign on October 19, 2016, 09:29:17 PM
Quote from: LayC42 on October 19, 2016, 12:19:47 PM
Very impressive! Or like a German phrase tells: I lift my hat!
Danke sehr, Marco!  8)

Cheers,
Eric
Title: Re: Texture animation
Post by: fario on October 25, 2016, 02:38:42 AM
Bravo!

For this performance