3 ms·
> Place a video feed as a 3D object inside Sponza, why not? This is amazing.
by mkl95 4y ago
> Place a video feed as a 3D object inside Sponza, why not?
This is amazing.
- flohofwoe 4y agoTBF, integrating video playback with 3D rendering isn't such a great deal if you can get decoded video frames somehow for uploading into a texture (trivial but expensive with open source video codecs running on the CPU for instance). For integrated platforms like the browser, access to decoded video for 3D rendering has been working for a long time with WebGL (you can simply hook up a HTML video element to a WebGL texture, e.g.: https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Tutorial/Animating_textures_in_WebGL https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/T... ...or in WebGPU: https://austin-eng.com/webgpu-samples/samples/videoUploading https://austin-eng.com/webgpu-samples/samples/videoUploading I guess the point of the Vulkan video extension is that it connects the Vulkan API to proprietary closed-source video decoders running on the GPU though.