Jose Vicente Posted May 4, 2017 Share Posted May 4, 2017 Hello. I've exported a simple scene which uses textures from 3ds Max 2017. I try to load into sandbox, but the textures aren't loaded. Textures point to public google drive files, so I don't know why can't be loaded. Can someone help ? Thanks in advance test.babylon Quote Link to comment Share on other sites More sharing options...
Gijs Posted May 4, 2017 Share Posted May 4, 2017 If you open the console with F12, you see that it says it can't find the files, and when I go there in my browser, I get the same: https://drive.google.com/open?id=0b-oomaihlcdyekqtdnhzodhkc1e https://drive.google.com/open?id=0b-oomaihlcdyytiztvhflulumtq Quote Link to comment Share on other sites More sharing options...
Jose Vicente Posted May 4, 2017 Author Share Posted May 4, 2017 Hi Gijs, thanks for your answer. If you look inside babylon file you will see that textures are defined as follow; "diffuseTexture": { "name": "https://drive.google.com/open?id=0B-OOMaIHLcDyekQtdnhZODhkc1E", "opacityTexture": { "name": "https://drive.google.com/open?id=0B-OOMaIHLcDyYTIzTVhfLUluMTQ", The urls which are displayed in the console are converted to lowercase, and it seem that they didn't work for that reason. If you put in the browser the exact url that is on babylon file, they work. https://drive.google.com/open?id=0B-OOMaIHLcDyekQtdnhZODhkc1E https://drive.google.com/open?id=0B-OOMaIHLcDyYTIzTVhfLUluMTQ Anyway, I upload a new version of the babylon file where the textures point to another server (and I get same results) test.babylon Quote Link to comment Share on other sites More sharing options...
davrous Posted May 4, 2017 Share Posted May 4, 2017 Hello, The sandbox has been made to load local files only, by drag'n'dropping all resources directly. Usually, when you're exporting a scene from Unity, Blender or 3DS Max, the URL to the textures are not absolute. Our loader is changing its behavior when we're detecting a "file://" moniker and try to load all the textures (or sound) from the drag'n'drop operation. If you really want to keep your file with the path to textures like that, please use the PlayGround and load your scene by code. David Quote Link to comment Share on other sites More sharing options...
Jose Vicente Posted May 5, 2017 Author Share Posted May 5, 2017 Thanks @davrous Now its clear. 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.