- 2020-08-05 at 7:50 pm #31187
I’m having a hard time to change videos on the fly. I got several videos which I need to switch on a single object with the same material. I also need the ability to stop them.
I tried everything with the loadVideo puzzle. Overiding the same variable, creating variables for every single video. Altering the source, stopping, etc. But after the first video is being played, I got glitches.
Any help would be appreciated.2020-08-06 at 9:09 am #31202Yuri KovelenovDeveloper2020-08-06 at 9:51 am #31205
My current workaround is to have one material for each video I want to display. I then assign a variable for each video. Use the replaceTexture puzzle to apply video to each of the materials and then just switch between them.
But it would be great if someone could share a maybe working example of switching between multiple videos with one material, and one video variable.2020-08-07 at 8:42 am #31248Ivan LyubovnikovDeveloper
There’s currently a bug with the “replace texture” puzzle, which prevents it from replacing a video texture with anything else. Thanks for the report! We’ll fix it in the next verge3d update.
Co-founder and lead developer at Soft8Soft.2020-08-07 at 10:16 am #31255
Great news2020-08-18 at 3:14 pm #31696
can you tell me when this fixed version will be released? Would be really handy for my current project if I could replace video textures on runtime, without duplicating materials.
Will this be a fix in the v3d.js or is it purely puzzle based issue?2020-08-18 at 3:42 pm #31698Ivan LyubovnikovDeveloper
The release is planned for this week, probably, in a couple of days or so.
Will this be a fix in the v3d.js or is it purely puzzle based issue?
It’s purely puzzle-based, you’ll only need to open your projects within the puzzle editor and resave the puzzles.
Co-founder and lead developer at Soft8Soft.2020-08-18 at 4:18 pm #31699
Could you maybe post the fixed puzzle code here?
Then I could implement the fix prior to the new release. Would really appreciate it.2020-08-19 at 6:49 am #31712
- You must be logged in to reply to this topic.