I need to put video playback in my game, and the video must be in texture so that it plays inside the game world.
I am using Java (Java3D, JOGL). Any idea on how I can do this?
Decode the video using any codec you need (in Java, this may require JNI). Copy the output, which is usually a pixel data buffer, into the texture. Repeat the desired frame rate.
Source: https://habr.com/ru/post/1698034/More articles:LINQ to SQL Table Dependency - linqПроблема сериализации - c#What will be faster than Flash or Javascript? - javascriptUppercase first two characters in db table column - language-agnosticJoomla Tutorial - joomlaHow long does it take to accelerate with ASP.NET? - asp.netHibernate: comparing current and previous record - diffDrop shadow text: CSS or graphics? - cssHow to handle large inserts in SQL SERVER? - sqlPlease wait for a dialog and upload files to asp.net - asp.netAll Articles