JeffreyEffendy Posted January 2, 2016 Share Posted January 2, 2016 hi, So I have object file stored as data url in the form of "data:;base64...", and I need to pass the value to BABYLON.SceneLoader.ImportMesh. I have been trying on usingmodelurl = "data url to .obj file";BABYLON.SceneLoader.ImportMesh("", modelurl, "", scene, function (meshes){});but I receive error Invalid URL. Any ideas on how to do this? Thanks Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 4, 2016 Share Posted January 4, 2016 Hello, check the sceneFilename property: http://doc.babylonjs.com/classes/2.2/SceneLoader#static-importmesh-meshesnames-rooturl-scenefilename-scene-onsuccess-progresscallback-onerror-rarr-void 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.