dbawel Posted May 28, 2015 Share Posted May 28, 2015 Hi, I have the basic script to drag and drop a file into the browser, but have not quite figured out how to apply this to a dynamic texture. Also, can any of you incredibly creative sorts find a way to save an updated dynamic texture on a ground object to disk? This one is baffling me. Thanks, DB Quote Link to comment Share on other sites More sharing options...
RaananW Posted May 28, 2015 Share Posted May 28, 2015 Hey db,I do something similar with the material editor - drag and drop images, apply them as a texture and then upload them to a server. This can be a nice start. I'm actually adding the images that are dropped to a canvas, so you can easily use it as dynamic texture as well. Quote Link to comment Share on other sites More sharing options...
dbawel Posted May 28, 2015 Author Share Posted May 28, 2015 Hey RaananW, Do you hve any code I can look at? Thanks for helping - I'm almost finished with the multi-user creative drawing app, and don't want to leave any existing GUI functions I built for V2. Quote Link to comment Share on other sites More sharing options...
RaananW Posted May 28, 2015 Share Posted May 28, 2015 The entire code is in the babylon extensions repository, https://github.com/BabylonJS/Extensions/tree/master/MaterialEditor/MaterialEditorIf you need anything specific, let me know :-) 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.