altreality Posted January 27, 2015 Share Posted January 27, 2015 Hi, I have got the attached loco.babylon file(remove .txt, it wasnt allowing to upload .babylon files) which I want to load. The scene is this: http://synth2014.github.io/Age-of-Steam/babylon/indexLocoScene.html I cant seem to be able to load this file in the web or in the babylon sandbox (http://www.babylonjs.com/sandbox/). However it loads fine in my localhost(apache tomcat server) No errors are given. After loading locally, I do get this error : BJS - [22:37:22]: Babylon.js engine (v2.0.0) launchedhttp://localhost:8080/Age-of-Steam/babylon/scenes/loco.babylon.manifest?1422378442353 Failed to load resource: the server responded with a status of 404 (Not Found)babylon.2.0-beta.debug.js:3450 BJS - [22:37:22]: Valid manifest file not found. Scene & textures will be loaded directly from the web server.babylon.depthRenderer.js.map:1 GET http://localhost:8080/Age-of-Steam/babylon/js/babylon.depthRenderer.js.map 404 (Not Found) The scene loads fine though.loco.babylon.txt Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 27, 2015 Share Posted January 27, 2015 I can see a bug in this line:newScene.activeCamera.attachControl(canvas); Sounds like there is no camera in your scene so you have to create one manually Quote Link to comment Share on other sites More sharing options...
joshcamas Posted January 29, 2015 Share Posted January 29, 2015 @Deltakosh: I thought this was fixed? So when it detected a missing camera it automatically adds it? @altreality: In case you didn't know, that error is to be expected. If you don't set up your mesh to be saved locally (Basically some fancy-smanshy stuff), then it will make that error... but that error isn't a bad thing. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 29, 2015 Share Posted January 29, 2015 @joshcamas: this is fixed by 3ds max exporter. blender exporter generates a warning Quote Link to comment Share on other sites More sharing options...
joshcamas Posted January 30, 2015 Share Posted January 30, 2015 OHH did you add the auto camera to the plugins? I meant adding it to the scene in the sandbox only! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted January 30, 2015 Share Posted January 30, 2015 For the sandbox this is on our backlog Quote Link to comment Share on other sites More sharing options...
altreality Posted January 30, 2015 Author Share Posted January 30, 2015 Ok, I finally made a camera after scene load and used it : http://synth2014.github.io/Age-of-Steam/babylon/indexLocoScene.html It solved the lighting issue too. Not sure why choosing the camera as an Arc Rotate Camera type in Blender specifically causes no camera to be activated in Babylon. Free camera type seems to work fine. 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.