Page 1 of 1

Movie to texture

Posted: Mon Jul 21, 2025 3:41 pm
by minimy
Will be nice to have an option to send a movie to texture.
I dont know if this is possible under PB but i see in ogre forum is working.
I think... :mrgreen:

Re: Movie to texture

Posted: Tue Jul 22, 2025 3:58 am
by idle
used to do that with windows AVI onto GL textures

Re: Movie to texture

Posted: Tue Jul 22, 2025 4:18 pm
by minimy
Hey idle, yes, long time ago was more easy, i remember darkbasic can play movies too.
But will be nice to have a native comand like MovieToTexture(movie,texture). :mrgreen:
Im using a triky for movies played over 3D WindowedScreen. Is not elegant solution but is what i got :wink:

1) In main window create a TextGadget(0..., fullscreen or any size. Can work with canvas or another one. (i think)
Later create WindowedScreen.
the movie is linked to the textgadget, some thing like: PlayMovie(0,GadgetId(0))

2) With PB6.21 this work nice.
In PB6.02 when play the movie i avoid in the main loop renderWorld and Flipbuffers, because cause flicker screen.

Is a bad solution but it work. :D
The problem is what this not work with OpenScreen for full screen mode.

Re: Movie to texture

Posted: Tue Aug 05, 2025 6:16 am
by miso
@minimy

How long videos are we talking about? With, or without audio?

Edit: Nevermind, sent you a PM ;)

Re: Movie to texture

Posted: Tue Aug 19, 2025 1:50 am
by idle