phaselock

Members
  • Content Count

    53
  • Joined

  • Last visited

About phaselock

  • Rank
    Advanced Member

Contact Methods

  • Website URL
    judebi.sg
  1. phaselock

    GUI controls not disposing?

    ok, I got it: https://www.babylonjs-playground.com/#XCPP9Y#586 Many thanks !
  2. phaselock

    GUI controls limits

    @Deltakosh yeah agreed, i was really hoping not to have to update per frame. My use case is for visualizing/debugging an elevation map (eg: http://maps-portland.com/img/0/elevation-map-of-portland-oregon.jpg ). Instead of showing 1 label on mouse-over, I wanted to show more data with box selection. Maybe I'll try smthg else, thanks. @brianzinn that's nice, thanks for the effort ! Works ok on my browser but I really wanted to get similar perf to typical html5 on slower systems.
  3. Erm, again not sure what this is, I tried to create some gui elements and then immediately after use executeOnAllControls to dispose: https://www.babylonjs-playground.com/#XCPP9Y#583 You can see in the console that the textblocks created and those disposed are different. Is this due to registerBeforeRender ? Should I be using some other command ?
  4. phaselock

    GUI controls limits

    Hi again ! So with the recent fix on executeOnAllControls, I wanted to push the boundaries but hit a wall almost immediately. Not entirely sure which is the culprit here but I repro'ed in PG: https://www.babylonjs-playground.com/#XCPP9Y#581 On my screen, the perf is still fairly smooth with 100 textblocks. If I set it to 1000 in the for loop, the pg slows down incredibly. Is this the case for html5 ? I'm just curious where the bottleneck might be and how can I still obtain smooth redraw past 1000 gui elements ?
  5. phaselock

    GUI access to rectangle control

    Thanks @Deltakosh ! It seems to be fixed now: https://www.babylonjs-playground.com/#XCPP9Y#580
  6. phaselock

    GUI access to rectangle control

    Thanks, @brianzinn. I'm aware of using children[0] directly but my stackpanels are instances generated during runtime. I've given the stackpanels names but they are not directly referenceable in code like panel.children[0] does. If I can access the stackpanels in place of 'this._rootContainer', I can reach my rects. It's late over here, perhaps I can explain my use test in more depth tom. Thanks for the efforts and much appreciated, cheers !
  7. Hi ! I read in the babylon gui documentation that its possible to access gui containers as controls. So I tried it in the PG: https://www.babylonjs-playground.com/#HETZDX#6 But it seems to fail. May I know what is the correct syntax to use as the container in the callback for executeOnAllControls() ?
  8. phaselock

    PCOL: billiards game made with babylonjs

    ffox quantum 60.0.2 (64 bit) + win 10 (64 bit). iirc, I switch over to another tab while waiting for the AI to finish its turn, when I tabbed back, it hung. Hope it helps, cheers ! :)
  9. phaselock

    PCOL: billiards game made with babylonjs

    so I just played a game where the AI hanged on the last ball. -.-" No idea what happened, replay on the pink shot worked fine, pause worked, crouched worked, cannot aim since its not my turn. Shrugs, bug report ? :P
  10. phaselock

    PCOL: billiards game made with babylonjs

    Nice game ! The preview of the shot (where the red ball would go) isn't quite visible from the shooting position. So its kinda wasted code. And for long shots, the keyboard controls don't give the resolution I need for precision shooting. It's still awesome tho, good work and keep it up !
  11. phaselock

    DirectX Raytracing in babylon

    Do web apps need 100% raytracing capability akin to cgi, HD, 60fps movie quality requirements ? Even if the tech matures in the future, I still don't see overwhelming need for high level of photorealism on mobile devices. Even for online desktops applications in say 2030, a 50-60% performance should be plenty for web developers, no ?
  12. phaselock

    DirectX Raytracing in babylon

    Aye, I think it will come to the web standard eventually. Would be great if babylon could take the lead to show a demo of it. That said, DXR demonstrated in star wars:
  13. So, I just got this from the grapevine. And it doesn't seem like (at least from my initial read of the theory) it can't be made for browsers or that babylon can't have DXR support. https://blogs.msdn.microsoft.com/directx/2018/03/19/announcing-microsoft-directx-raytracing/ Any thoughts ? @Deltakosh @davrous or anyone else ? PS: Not sure which forum this should go, but I thought since we have microsoft devs working on the babylon engine here...it wouldn't hurt to ask, right ?
  14. phaselock

    error with dispose, latest build

    Thank you !
  15. phaselock

    error with dispose, latest build

    erm, ok...I haven't been following the latest announcements so pls bear with me if someone has spotted this alr. Working on a long ass project which was working fine until today, got an error in my console ' setting getter-only property "skeleton" '. Traced my codes down to the error popping up in disposing of instanced meshes and managed to get the repro in PG: http://www.babylonjs-playground.com/index.html#0URP8I Is this a bug or just me ?