dbawel Posted June 28, 2016 Share Posted June 28, 2016 Hi DK, No console errors. I can also load a videoTexture or a texture - I just cannot load a second texture after loading the first. That's my issue. Any thoughts? Thanks, DB Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 28, 2016 Share Posted June 28, 2016 Is this happen even with textures? Not just video? Quote Link to comment Share on other sites More sharing options...
dbawel Posted June 29, 2016 Share Posted June 29, 2016 Yes. I cannot load a second texture, only the first. Loading a second doesn't give and error, it simply won't load or display on the sphere. Quote Link to comment Share on other sites More sharing options...
Nabroski Posted June 29, 2016 Share Posted June 29, 2016 @dbawel try this one.http://www.babylonjs-playground.com/#VNVOU#12 dbawel 1 Quote Link to comment Share on other sites More sharing options...
dbawel Posted June 29, 2016 Share Posted June 29, 2016 @Nabroski Thank you for keeping the faith and trying to help. I truly appriciate this. I am truly baffled now, as I cannot load even the first texture onto the sphere in your last playground scene. What the heck - I have 6 different devices and all give the same result. Thanks, DB Quote Link to comment Share on other sites More sharing options...
Nabroski Posted June 29, 2016 Share Posted June 29, 2016 @dbawel i dont even be a developer, just have some time to waste. But im also interessted in using video in webgl. Im working in german film industry from time to time. We are also pioniers, exploring new technology. Im sure its a small little thing you got forgot to check, maybe you devices check video as readeable only for mediaplayers or something. Sometimes a video want load an my pc, i dont check where the bug is. Good Luck Quote Link to comment Share on other sites More sharing options...
Nabroski Posted June 29, 2016 Share Posted June 29, 2016 yes i found the bug: i dont know how babylonjs scales the images to the power of 2 videos like 640x480 or 854x470 want not play through the playground loadscript, theirfore 854x480 dbawel 1 Quote Link to comment Share on other sites More sharing options...
dbawel Posted June 29, 2016 Share Posted June 29, 2016 @Nabroski I'm able to load multiple videoTextures now using your last playground scene - so thank you very much. It's not a power of 2 issue, but a format issue for me. I need to do some more exploring, and will post once I find what the specific issue is. Thanks DB GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Nabroski Posted June 29, 2016 Share Posted June 29, 2016 (edited) The error handling in the babylon playground gui should be improved. Time to celebrate. Edited June 29, 2016 by Nabroski celebrate dbawel 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted June 29, 2016 Share Posted June 29, 2016 I will soon open source the playground NasimiAsl and dbawel 2 Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted June 29, 2016 Share Posted June 29, 2016 @dbawel i think this depend for this but i don't understand correct problem Quote Link to comment Share on other sites More sharing options...
dbawel Posted June 29, 2016 Share Posted June 29, 2016 @NasimiAsl - Thanks for replying - I already solved this with help from @Nabroski, luckily. Now I'm able to allow the user to load multiple videoTextures from disk - there's a few bugs, but I'm sorting them out. Cheers, DB 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.