As far as use cases go, I'm mostly thinking about missions/scenarios, as I can't really recall any game that extensively uses videos in skirmish mode (RA3 sometimes has AI videos appear in skirmish once you explore them/defeat them).
I've found this: http://stackoverflow.com/questions/6495 ... gl-texture, which doesn't seem all that complex to do.
I'd mostly like to know, from a dev perspective, is there any known issue that may make this much harder?
I could potentially try to do this myself, although probably won't be able to prioritize on it for this/next month, but I'd like to see if anyone would care for this.
I assume adding some unsynced lua read&control wouldn't be too hard, either. f.e
Code: Select all
Spring.LoadVideo(path, x, y, width, height) -> videoId
Spring.StartVideo(videoId)
Spring.StopVideo(videoId)
Spring.GetCurrentVideoPosition(videoId)
...
etc.