Cytexx Posted July 10, 2018 Share Posted July 10, 2018 Hey fellow Babylonians, i ran into a problem regarding the performance of big dynamic textures (had it on 8000x8000, but already reduced that). I needed to tile the texture with this process. Is there a more performant way of tiling a dynamic texture? The reason why i even use a dynamic texture is because i want a smooth blend between 2 textures. Maybe there is even a more performant way of accomplishing this without using a dynamic texture? Greets, Cytexx Quote Link to comment Share on other sites More sharing options...
Guest Posted July 10, 2018 Share Posted July 10, 2018 Hey! We will need more data to help Can you show us a demo on the Playground? Quote Link to comment Share on other sites More sharing options...
Cytexx Posted July 11, 2018 Author Share Posted July 11, 2018 Hey, not sure how exactly i can use external image sources in the playground but here is the playground that should run once the images are loaded correctly: http://playground.babylonjs.com/#ICMA68 The out-commented parts are the parts if the size of the dynamic-textures canvas is changed. (the performance is not bad on a normal desktop computer, but our application should also run mobile) Quote Link to comment Share on other sites More sharing options...
Guest Posted July 11, 2018 Share Posted July 11, 2018 Hello you can save pictures to imgur for instance and then reference them directly Quote Link to comment Share on other sites More sharing options...
Cytexx Posted July 12, 2018 Author Share Posted July 12, 2018 I tried to load images from imgur, but its still not loading. Even tried to load images from the babylon site and they don't load. Maybe just a short answer regarding the question: What is the best approach to fade from one texture to another? Quote Link to comment Share on other sites More sharing options...
Nabroski Posted July 12, 2018 Share Posted July 12, 2018 Yes, playing with the alpha channel seem logically right! You can add some blend animation using, pretty cool babylonjs, animation https://doc.babylonjs.com/babylon101/animations http://playground.babylonjs.com/#ICMA68#1 Their are really tones of playgrounds ... https://doc.babylonjs.com/playground/ Quote Link to comment Share on other sites More sharing options...
Guest Posted July 12, 2018 Share Posted July 12, 2018 212501 precisely 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.