Dynamically Loading Images


Does any one know how to create an image texture then apply it to a plane with python in the BGE, so the image as been dynamically loaded and updated (or even a python scripts that can ‘overlay’ images). I’ve seen examples of doing it with simple colours, but those scripts can’t get the material to update in the GE, only applying it after the GE has closed.

I don’t have a clue where to start with this one so any help would be much appreciated.

See if this helps: http://wiki.blender.org/index.php/Dev:Source/GameEngine/2.49/VideoTexture
I know this is mainly for video textures but a very similar technique will allow you to refresh the textures only when you want to.