Thursday, 30 April 2015

Animating Video into UDK

The process of adding a video into UDK isn't anywhere near as complicated as I figured it would be. The video I want to important needs to be a .bink video format, it's the native video format for UDK. Out tutor provided us with a free (and safe) video convertor which can convert most video types into a .bink format.  Import it into the modpack, without any grouping or any specific settings, straight into the modpack. It's regarded as a texture, then I create a material, drag the texture into the material (same as normal) and plug it into the emmisive with a couple of mathematical functions with a brightness and contrast.

I can then apply this material to any static mesh. My first attempt at this was applying an existing video material to an existing static mesh (the cube in the centre of a new map). The background of the video is transparent and it loops. No sound. I plan to experiment with this technique given more time.



We were instructed to apply it to a cube,  but to go that extra mile, I wanted to apply it to my silo building. I opened up some of the blocks my silo modpack in Maya and created a new curved plane I intended to apply the texture to. I used the existing block as reference to get the shape correct. After perfecting it, I exported it and imported it into the existing modpack. I then applied the video material of the UDK logo to the new mesh and positioned it on to the front of my silo to give it even more of a futuristic look. I had to be careful when I mapped the new mesh so that the video texture will display properly.


This served as a perfect test for the video material. It worked perfectly. The next and final step was to find an appropriate video, download it and convert it into the right format and apply it to the silo. I figured I would use a music video from Youtube, specifically, Grendel - Timewave Zero because the theme of the music video matched the theme of my map completely and complimented it quite well. 

In retrospect, I probably shouldn't haven't used a five minute music video as a video texture as it greatly increased the size of my package file making it impossible to submit the assignment, so I have once again replaced the static mesh with the original video of the UDK logo. I have trimmed the music video and given the chance, will convert it to a .BIK format and have the final video on the side of the silo.


No comments:

Post a Comment