Dreik

Members
  • Content count

    25
  • Joined

  • Last visited

  1. Dreik

    Texture hasAlpha performance issue

    You are probably the most hard working person I have ever met @Deltakosh
  2. Dreik

    Texture hasAlpha performance issue

    @aWeirdo For some reason typeScript can't see the overwirten property. So I guess I'm off to casting to any.
  3. Dreik

    Texture hasAlpha performance issue

    Wow thank you for the help. @aWeirdo I didn't even know that's possible like this.
  4. Dreik

    Texture hasAlpha performance issue

    I know, it would be great if I could do it but I can't use _hasAlpha because the build won't pass. It's an error because it's private.
  5. Recently I enountered an issue with texture has alpha performance. Public attribute 'hasAlpha' is 100 times slower than '_hasAlpha'. Does anyone know why is that and if there is a way to easily fix it? I can't release code to production with private attribute setter. I made two playground to show the problem. http://www.babylonjs-playground.com/#9FMJCS - public hasAlpha 80411 ms http://www.babylonjs-playground.com/#R8QY81 - private _hasAlpha 787 ms
  6. @sable That was just perfect for my usage Now I only need to understand it and everything will be fine.
  7. I'm doing line-plane intersection to pick a point on a plane I need. but if I just change the target of the camera to it camera will rotate right? So it won't look smooth. What I need is to make it look like you are constantly watching from the top or the angle you set by rotating camera. I don't want extra rotation from zooming.
  8. Did anyone mabey try to make ArcRotateCamera zoom to mouse position instead of middle of the screen? If not is that doable with that camera or should I work with another one?
  9. Dreik

    Grid Material On GUI

    But I think grid should always be transparent with lines well visible. background = null doesn't work. It will still render background.
  10. Dreik

    Grid Material On GUI

    Great! I hope to see it on npm soon
  11. I need to create scalable grid like the one on image. I thought about placing it on fullscreen gui so I won't have to create gigantic mesh but I have no idea how to use GridMaterial on BABYLON.GUI in a way it would work and be displayed. Any help would be appreciated.
  12. Nevermind...I just found of that I didn't dispose my old box mesh...
  13. Hi, I'm using a lot of CSG to cut shapes from mesh and I just noticed that meshes aren't beeing disposed in my project. I have created playground where everything works fine but for some reason in my project If I try to dispose merged mesh as a last step the mesh is never cut out. http://www.babylonjs-playground.com/#FT3PIY Here everything works fine, my code is basically the same but doesn't work 😕
  14. Dreik

    Missing Grid in Babylon GUI

    thank you !
  15. Dreik

    Missing Grid in Babylon GUI

    Any idea when will 3.3 come out as npm node module?