leanderr

Members
  • Content count

    12
  • Joined

  • Last visited

  1. Angular2 + BabylonJS Debug Layer

    Thanks for trying to help. They are generated by NG2, its like 10 forms the user can customize their game experience on.
  2. Angular2 + BabylonJS Debug Layer

    Well, I want to have quite a lot of user Interface Pages that load once the User enters the page. I don't want any content to be downloaded after Page init except for a little bit of REST.
  3. Hey there, I finally got BabylonJS to work within Angular2 but I cannot manage the DebugLayer to work with the solution offered here. this._scene.debugLayer.show(); will always result in babylon.inspector.bundle.js:408 Uncaught ReferenceError: BABYLON is not defined at INSPECTOR (babylon.inspector.bundle.js:408) at Object.<anonymous> (babylon.inspector.bundle.js:408) at __webpack_require__ (babylon.inspector.bundle.js:21) at Object.<anonymous> (babylon.inspector.bundle.js:49) at __webpack_require__ (babylon.inspector.bundle.js:21) at babylon.inspector.bundle.js:41 at babylon.inspector.bundle.js:44 core.es5.js:1084 ERROR TypeError: Cannot read property 'Inspector' of undefined at t._createInspector (babylon.js:36) at HTMLScriptElement.n.onload (babylon.js:3) at HTMLScriptElement.wrapFn [as __zone_symbol___onload] (zone.js:1199) at ZoneDelegate.invokeTask (zone.js:398) at Object.onInvokeTask (core.es5.js:4116) at ZoneDelegate.invokeTask (zone.js:397) at Zone.runTask (zone.js:165) at HTMLScriptElement.ZoneTask.invoke (zone.js:460) Any Angular2 nerds around? Side-Question: The fancy DebugLayer we got in the Playground is only available in the newest Version but not in 2.5, is it? Best Regards
  4. Precompiling Shaders

    So far I worked around using multiple Materials and Shaders and Z-Stacking them.
  5. Thanks @mattstyles, I will have Research about REST. I got 40-90kb sized JSON files that are recordings of the player input for playback. Vector3 x 10 Objects x 60fps x 60 seconds x 3minutes a game ==> ~40kb JSON file. Where would you store those? Which Database for storing and accessing them? Would a Database even be the right tool for the storage of those?
  6. Hey, im new to Webdevelopment with JS. Im almost done coding a little game with the 3D-Engine Babylon.js. Now I want to add Functionionality to for User Accounts and Scoreboards. Replays should also be stored in JSON files and uploaded somewhere. Which Serverside and Database Framework would you suggest? Is nodeJS good to go for, I tend to use it because its so popular and demanded today. Depending on the Framework you suggest, how would local/clientside JS communicate with the Serverside? Best Greetings, Leander
  7. Quaternion Rotation

    This Article got some nice Examples and Playgrounds for you http://babylonjsguide.github.io/advanced/Euler_Angles.html
  8. "I want to attach a standard material and a reflective texture on the same surface." (Original Question) And Second I want to blend the Grid Material and a Standard Material with a certain Ratio / Alpha / Alphamap (from Grid). Here are my Attempts so far. http://babylonjs-playground.com/#5S6MD#11
  9. http://babylonjs-playground.com/#5S6MD#11 Still couldn't make it work. Can you provide an Example? Maybe fix the Playground? Can anyone mix the Grid with a Standard Material Diffuse?
  10. It didn't work for me, I made a playground and tried both ways, even with Alphablending it wont work. Is Z-Indexing the way to go? http://babylonjs-playground.com/#5S6MD#10
  11. doc.babylonjs.com down?

    The Page is back up and running, please excuse my impatience.
  12. doc.babylonjs.com down?

    Hey guys, new Babylon Dev here, I saw the documentation and the whole page is in a struggle. Is there any offline Version of the Documentation available that doesnt require local node.js? best Regards, keep up the great work!