dbawel Posted December 31, 2017 Share Posted December 31, 2017 Hello, I've been using skybox for years now, and now I can't get one to load. I even pulled a scene off the playground, and nothing. My scene: http://qedsoft.com/DEMOS2017/bjs_loader/index_7.html Thanks, DB Here is the playground scene: https://www.babylonjs-playground.com/#ECI1NR#1 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted December 31, 2017 Share Posted December 31, 2017 It works well at home. Quote Link to comment Share on other sites More sharing options...
dbawel Posted December 31, 2017 Author Share Posted December 31, 2017 Hi @Dad72 - The scene below loads fine for you? http://qedsoft.com/DEMOS2017/bjs_loader/index_7.html I only get a white screen browser. No console errors in Chrome, but in Firefox I receive: Quote Source map error: request failed with status 404 Resource URL: http://qedsoft.com/DEMOS2017/bjs_loader/js/babylon.max.js Source Map URL: babylon.environmentHelper.js.map Perhaps I need a different version of babylon.js - even though it works for you. That's all I can think of as I cannot get scene.clearcolor() to work either. Thanks, DB I wouldn't normally ping you guys, but I've been stuck on this for 2 days - and need to have a scene finished tomorrow. @Deltakosh @davrous EDIT - @aWeirdo helped me solve this in a separate scene modifying my scene camera, so I'm fine for tomorrow. However, I would love to know why I cant get this scene I simply copied off of the playground to work. It's not how I would necessarily build my cameras, but it works on the Playground. So any thoughts are welcome. Thanks Quote Link to comment Share on other sites More sharing options...
Dad72 Posted January 1, 2018 Share Posted January 1, 2018 Your link on qedsoft.com does not work as well at home, but the PG post precedent worked well. Your mistake, I saw it right away. newScene does not exist. (Uncaught ReferenceError: newScene is not defined) Line error : newScene.activeCamera.attachControl(canvas); newScene.activeCamera.minZ = 0.001; newScene.activeCamera.maxZ = 10000; Quote Link to comment Share on other sites More sharing options...
dbawel Posted January 2, 2018 Author Share Posted January 2, 2018 @Dad72- Thanks for taking the time to look at this. Actually, when I read the code, it's amazing that I ever posted it, as it would never work for other reasons as well. It was a long day after the fires, and I don't know what I was even thinking. Sorry to even post such a messy poorly written script, and that you even took the time to look at it. It was a waste of time fro the beginning, but again, thanks for trying to help. I wrote skybox script in 2 minutes that worked. I owe you for wasting your time. It's been a hell of a few weeks, but I'm in San Diego now on a cool project that's going well. So all's not bad. I still can't figure out how to get the nice clean "solved" tag on my posts. Thanks again, DB 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.