Jump to content

texture path


Recommended Posts

Hi there ,


I try to load model from blender but .babylon file is in the folder together with pictures (materials) , unfortunatly scene not load : with error as he can not find file jpg as he suspect have it in main folder not subfolder with babylon file :((


is any way to set path of materials for babylone file ?


Thank you

Link to comment
Share on other sites



All textures linked to a babylon scene should be in the same folder that the .babylon file, as written here : http://blogs.msdn.com/b/eternalcoding/archive/2013/06/28/babylon-js-how-to-load-a-babylon-file-produced-with-blender.aspx

Please note that the textures and the .babylon file must be side by side

All textures in a subfolder will not be taken into account.

Link to comment
Share on other sites

is nothing really to share


it is standard


BABYLON.SceneLoader.Load("", "temp/test.babylon", engine, function (scene) {
                        scene.executeWhenReady(function () {



all is working if model do not have any texture

just this texture can not be find in temp folder wiht error Status Code: HTTP/1.1 404 Not Found ! but is there simple jpg

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...