phaselock

Members
  • Content count

    46
  • Joined

  • Last visited

About phaselock

  • Rank
    Advanced Member

Contact Methods

  • Website URL
    judebi.sg
  1. 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 ! :)
  2. 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
  3. 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 !
  4. 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 ?
  5. 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:
  6. 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 ?
  7. phaselock

    error with dispose, latest build

    Thank you !
  8. 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 ?
  9. yh, and that's a problem... can't have clients run my app with QoS issues and I don't know what happened. It would be nice to be able to see all my backend processes logged when I run an intensive debug session, all the way to the browser, gpu, os level. *whine *whine *whine...
  10. Dunno what happened, sigh...I'm seeing my original animation playing fine today. Nothing to do with console error, thanks tho @Deltakosh I think my system is giving me grief. Closing this, thks all for the help. edit: btw, just as a footnote, I'm running ffox quantum on an old laptop/gpu and after I dunnno which, babylon update or ffox, the fps isn't what I expected. If I just open the basic pg scene in a new tab, tab to it, the scene loads at 30fps max, I F5 refresh, it still stays at 30fps, then when I move to another tab and tab back, its shoots up to 60fps again. Happens infrequently tho, weird...
  11. My scene camera used to be able to animate zoom to whichever spot i clicked on a mesh. This was working yesterday, this morning I found it didn't work. Repro in pg with latest version of babylon. Using ffox, I'm seeing the camera animating only on the 1st click on the plane mesh, but all subsequent clicks don't trigger the animation effect. Is this a bug or is it just me ? https://playground.babylonjs.com/index.html#VPFT13
  12. phaselock

    Gui elements not aligned on mesh ?

    haha, figured it out. Thanks to clues left in the other posts of this forum. For keeps: https://www.babylonjs-playground.com/#5XB8YT#8 I tested zoom and rotations, the mouse-over still works. Lesson learnt I guess...Although, design-wise, it would be really so much easier to have an option toggle for post-process not affecting GUI. This way, there is no need for a 2nd camera and extra codes for syncing views. Cheers !
  13. phaselock

    Gui elements not aligned on mesh ?

    Hi wingnut, thanks for the help. It seems like the bgCamera is responsible for the gui elements and separates the post processing. If its commented out, when you try to, say, toggle bloom, the bloom will affect the gui itself. I guess it can't be removed. I tried setting the bgcamera's position and orientation vectors similar to camera but it still seems off during mouse-over and the frame rate stutters pretty badly. You can try it here: https://www.babylonjs-playground.com/#5XB8YT#7 Mouse-over the top of the skull and try to mouse-over the jaw, it should be quite obvious that the cameras are somehow offset ? Not sure... Btw, the post processing GUI is not done by me, its from the post-processing tutorial, I just wanted to stress test the codes, hope it helps.
  14. erm, I'm not sure what to classify this problem as or what its title should be. So, I tried to combine the PG (from the GUI announcement) I made a few mths back (https://www.babylonjs-playground.com/#FBKE1P#1) with the default rendering post processing tutorial and erm...I honestly don't quite understand the problem I'm seeing on my screen. The recreated PG is https://www.babylonjs-playground.com/#5XB8YT#5 All I did was port some codes from FBKE1P to the post processing part. I was hoping to get the same mouse-over text on the skull while being able to play with the sliders. It seems like the entire skull is offset virtually ? or the GUI elements are in the wrong place ? or or... loss of words, sorry Any help, guys?
  15. phaselock

    skeleton animation for AI

    @aWeirdo @Raggar , thanks guys for all the input ! Learnt smthg new today about delta time. Doesn't entirely solve my core issue but does solve THIS thread's. I'm gonna go ahead and mark it solved. Cheers !