Videotexture Module

After Monster posted his videotexure module, I wondered how hard it would be to make a simpler version. Below you will find my solution. It was a fun learning experience, and I hope someone will find it useful.

My solution is OOP, so all you need to do is add a texture to your object, and then always(true pulse) --> videotexture.main
the Properties are:

  • texName (the name of your file)
  • texPause (a bool, use it to pause/play the video)
  • texStop (stops the video, toggling texPause will restart it)
  • texCamera (the name of a camera for camera output, overrides everything else if present)

example zip:
https://dl.dropboxusercontent.com/u/37388414/videotexturemodule.zip
and here is the script:
http://pastebin.com/EhB45gp7

Enjoy!

I didn’t say it is the only solution :yes:.

I recommend to post your solution in an own thread. This way you can keep it up-to-date.

I never said that it was either :slight_smile:
I probably won’t bother making a new thread for this, it was just a quick experiment, I don’t plan on maintaining it. If I do ever decide to improve it, I’ll definitely make a thread then.

It took a few hours to make, and I got to learn a lot about how video textures work!