Arktius Posted March 17, 2016 Author Share Posted March 17, 2016 Import ship.stl in Blender, Export in ASCII ( lower left corner ) Thanks RaananW ! =) What about the Camera(Babylon/STL) / Wireframe(OBJ) ? Opera and IE don't work with a local STL-file. Firefox works. All 3 Browsers don't work with a local OBJ-file. ship2.stl Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 17, 2016 Share Posted March 17, 2016 So, glad the stl worked out. Regarding your obj file - it is missing the textures and material file (maybe you simply didn't include it) but should load ok. What error do you get? What server are you using? Quote Link to comment Share on other sites More sharing options...
Arktius Posted March 19, 2016 Author Share Posted March 19, 2016 I am using XAMPP v3.2.2. Quote Link to comment Share on other sites More sharing options...
RaananW Posted March 19, 2016 Share Posted March 19, 2016 There is something wrong in the way you load the files. There shouldn't be a CORS problem. Sometimes it is file://, sometimes localhost, and this is the main problem. I think you are either not serving the index.html correctly, or using two servers to host the files. Which is rather odd Place all files in the same directory, and open everything in localhost. Make sure that the "load" or "append" functions also use localhost. But, I must say - this is not a Babylon theme, this is a general JS/Server/Web development problem. Quote Link to comment Share on other sites More sharing options...
Arktius Posted March 24, 2016 Author Share Posted March 24, 2016 Now the Website is in the same folder like the obj/stl files (in htdocs from Xampp) and I need to use my IP to load the website but it works =) Thanks for your help guys ! GameMonetize 1 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.