Arte

Members
  • Content count

    78
  • Joined

  • Last visited

About Arte

  • Rank
    Advanced Member

Profile Information

  • Gender
    Male
  • Location
    London, UK

Recent Profile Visitors

254 profile views
  1. Display subMesh BoundingBox

    Hi @devAxeon and welcome to forum, Did you tried: subMesh.showBoundingBox = true; ?
  2. Hi @ziguri and welcome to forum, You need set active camera. newScene.activeCamera=camera; All code: <script> var camera; var canvas = document.getElementById("renderCanvas"); var engine = new BABYLON.Engine(canvas, true); var createScene = function () { var scene = new BABYLON.Scene(engine); var light = new BABYLON.PointLight("Omni", new BABYLON.Vector3(20, 20, 100), scene); //Adding an Arc Rotate Camera camera = new BABYLON.ArcRotateCamera("Camera", 0, 0.8, 100, BABYLON.Vector3.Zero(), scene); camera.attachControl(canvas, false); BABYLON.SceneLoader.Load("lib/test/", "blockstla.stl", engine, function (newScene) { camera.setPosition(new BABYLON.Vector3(-25,10,-50)); newScene.activeCamera=camera; engine.runRenderLoop(function () { newScene.render(); }); }); return scene; } var scene = createScene(); // Resize window.addEventListener("resize", function () { engine.resize(); }); </script>
  3. Issue with node babylonjs

    @Hersir paldies brālim from Lithuania
  4. Hi everyone, I'm trying run require('babylonjs') on server-side, but getting following error: DebugLayer.InspectorURL = window.location.href.split('/')[0] + '//preview.babylonjs.com/inspector/babylon.inspector.bundle.js'; TypeError: Cannot read property 'href' of undefined Any suggestions are welcome
  5. Working. In my case: cameraView.layerMask=1; advancedTexture.layer.layerMask = 2; Je vous remercie. Correct me if i'm wrong.
  6. @Deltakosh Your Nightmare is Here. GUI button stop working when using linkWithMesh. Line:52 PlayGround
  7. Stupid me! @Deltakosh One day I'll buy you a drink with snacks. Thank you AGAIN.
  8. Hi All, Need help AGAIN. I have 2 Viewports, when I,m switching between cameras (scene.activeCamera=camera;) my buttons stop working. I don't know what I'm doing wrong. PlayGround
  9. CreateGround - positive values only

    Hi simpleyuji, I guess you need to play with pivot point. Dock: Pivot Point
  10. Announcing Babylon.GUI

    Hi phaselock, button.children[0].text="Cancel"; line 40; PG
  11. @Deltakosh Peferctooooo! Everything is solved.
  12. Can you add padding to InputText?
  13. @Deltakosh GUI.InputText remove focus when clicking outside not working with BABYLON.GUI.AdvancedDynamicTexture.CreateForMesh(plane); PG
  14. GUI - Input TextBlock

    Thank you for GUI.InputText. Padding is missing for inputText.