PDA

View Full Version : Animated Textures Question



notanother
11-09-2009, 11:38 AM
Is it possible to make a 'movie texture' or 'animated texture' from a movie file as a source.

Example, playing a clip from an mpeg onto a surface in game such as a television or billboard.

Shambler
11-09-2009, 09:17 PM
I think so yes, there is the TextureMovie.uc class, which requires that you import a .bik movie using UnrealEd (with MovieStreamSource set to Memory, possibly..am not 100% on that) and then save that movie into a package; you should then be able to reference the movie texture ingame.

It doesn't appear to support loading movies from file at runtime (other than fullscreen movies, which it may be possible to hack-load using the 'MovieTest' command), so if you want movies on textures, you may have to do it this way.
Keep in mind, that the whole movie is loaded into memory this way, so it might be very inefficient; you'll have to experiment a bit with this to see if it even works, as I've never tried it.

notanother
11-09-2009, 09:36 PM
Yes I was just looking to implement a short clip and have it loop, it was done in the Jupiter Engine for F.E.A.R. with the implementation of .bik files. THANK YOU SO MUCH that is kind of what i wanted to hear.

NightRyder
11-10-2009, 08:16 AM
You might look at this tutorial. I ran across it and wasn't sure if I would use it, but it seems like it fits what you could use.

http://www.mattbarryonline.co.uk/tutorial_importing_videos.html