• Content Count

  • Joined

  • Last visited

  1. This is my project:!ApEWaFgXVeBEg-1R_mD2yJUGcNTPhA I've just thrown a new project with 3D views, because the project is large and weighs a lot. Can someone peek at what I'm doing wrong in the files: Index.cshtml, QuizReception.cshtml, recepton.js and quiz_reception.js? I just started with babylon.js and I don't know how I can add scenes in other views. The point is that as I type in the browser bar: http://localhost:5000/ - works correctly but: http://localhost:5000/Home/QuizReception - does not load scenes. In addition, I have a problem with collision and gravity.
  2. Error processing XML: no master element found Area: http: // localhost: 3262 / Home / scenes / quiz / escape.babylon Row number: 1, column 1: escape.babylon: 1: 1 Error: Error status: 404 - Unable to load scenes / quiz / escape.babylon babylon.js: 3: 5023 t.LoadFile / l / e.onreadystatechange I get this error with the web browser dev tools. I work on VisualCode on Debian 9. I have .NET Core 2.0 installed and the project was created in the console: dotnet new mvc.
  3. Hi guys. I have new problem with SceneLoader. I have in Startup.cs: app.UseStaticFiles(new StaticFileOptions { ServeUnknownFileTypes = true }); And scene is loading correctly in Index.cshtml. But how do i throw a new scene in a new view (not Index.cshtml), this new scene does not load and I get an error from the console. While I adding a new scene in Index.cshtml, it is loaded correctly. Could someone help me and advice what should I do to make a load scene properly? Thanks for help
  4. Thanks guys. Now it's work well. @RaananW I work with Visual Code and terminal show nothing. On Visual Studio got 404 error. When I added change in Startup.cs, thats it's load well. Thanks
  5. Hi, I've got a problem with loading scene with .babylon extension. I making project in .NET Core with BabylonJS addon and I got a problem with this script: // Get the canvas element from our HTML below var canvas = document.querySelector("#renderCanvas"); // Load the BABYLON 3D engine var engine = new BABYLON.Engine(canvas, true); // ------------------------------------------------------------- engine.enableOfflineSupport = false; var scene = new BABYLON.Scene(engine); BABYLON.SceneLoader.Load("./js/", "babilon_blender.babylon", engine, function(newScene){ var scene = newScene; scene.executeWhenReady(function(){ scene.activeCamera.attachControl(canvas); engine.runRenderLoop(function(){ scene.render(); }); }); }); Page is build and start loading scene, but this is over. Neverending loading with Babylon mark. Could someone help me and advice what should I do to make a load scene properly? Thanks for help