I suggest you ...

Would be great if we could pass the folder to BABYLON.SceneLoader search for textures

How can I change the folder where BABYLON.SceneLoader will search for textures when loading a babylon blender file?

For example:

BABYLON.SceneLoader.Load("", "public/js/corredor.babylon", this.engine, function (newScene) { /*...*/ }

The code above will load corredor.babylon on public/js/ folder, but I want it to load the textures on public/js/textures/ folder.

Thanks a lot!

24 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Eduardo REduardo R shared this idea  ·   ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base