bzor Posted June 16, 2017 Share Posted June 16, 2017 hi! I was wondering if anyone had any advice here.. I have a large master video that contains a grid of smaller videos. I need to split this up into pieces and move them around individually. My thought was to set up an off screen canvas element for each sub-video, then each frame drawImage the pixels into each canvas element. Then set up textures that read from the canvas elements, and add those to sprites. I'm wondering if this is a bad idea, as I need to push the updated nPot canvas/textures to the GPU every frame.. Any other ideas for how to set this up? thanks! Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted June 17, 2017 Share Posted June 17, 2017 Same algorithm as with simple textures applies: create multuple PIXI.Texture with the same basetexture, which is your video. Please look at the docs, I'm feeling lazy to point out that again, its all over the forum Jammy 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.