JohnM

Members
  • Content Count

    28
  • Joined

  • Last visited

  1. JohnM

    deprecated spam

    never mind... updated from version 0.1.1 of the plugin to 0.1.3 and it seems to have fixed the issue! thanks a lot for all of your help anyways :)
  2. JohnM

    deprecated spam

    been digging around and cant seem to fix the issue. however it seems to happen when alight.js does a scan. I am using this library - https://github.com/retejs/rete in this plugin from the library - https://github.com/retejs/context-menu-plugin/blob/master/src/context-menu.js on line 62: ```javascript this.$cd.scan(); ``` after that is called is when it seems all my errors pop up. here is one of the examples from the rete github page - https://codepen.io/Ni55aN/pen/rpOKNb i just dont get why alight would trigger something in BJS but then i dont really understand alight that much yet (newb)
  3. JohnM

    deprecated spam

    i am not allowed unfortunately i have also tried to make a dummy project but it didn't replicate the problem 🤣 just hoped there would be a quick answer about what triggers it
  4. JohnM

    deprecated spam

    i havnt put that into my project unless its just running by default in the background? its odd because sometimes there is less than 1000 warnings and sometimes it happens 6k times
  5. Hey all, i was wondering if anyone could tell me what would be triggering these warnings to spam my console so much? usually these only appear once when i load a BJS project, but i have done something in this project which causes these warnings to spam and it slows things down by a second or two whilst it spams the log, even when the log is closed! (see pic) i have even searched for these classes to see if i have used them but I have not so i assume i am using an old BJS function that must be using them? just need help identifying why they would be spammed so much! many thanks.
  6. JohnM

    Dynamic DDS files

    thats perfect, thank you! fixed what ever my issue was. dont really understand what i was doing wrong, only thing i see different is that you didnt use onload or onloadend?
  7. JohnM

    Dynamic DDS files

    seems to be base64 to me?
  8. JohnM

    Dynamic DDS files

    thanks for the link it was interesting indeed however - I would assume seeing as the .dds file i am using is included in many of the babylon examples that its the best .dds format i could get with regards to compatability? 😛 also the .dds file does work when used "normally" but when i want to insert it dynamically, this is where my issue is. so i would then assume my problem is how I am passing the data from reader to babylon as i dont have much experience with reader
  9. JohnM

    Dynamic DDS files

    hmm this still doesnt seem to work for me, reflection texture still appears as undefined. here is a PG of what i am  trying to do on a very basic level. although there seems to be an error that I am not getting on my local project so not sure if this will actually work with PG hope that helps
  10. Hey all, I am trying to use a dds file as a cube texture. it works fine if i link to it in the usual way, but i am trying to instead load a file into my html5 page of which would then be turned into a cube texture as so - new BABYLON.CubeTexture(reader.result, scene); i have got this working with a normal texture as so - new BABYLON.Texture(reader.result, scene); so im wondering, is it the base64 encoding that is messing up the dds file? if so does anyone know a better way of doing this? the dds file im using is from the playground textures many thanks!
  11. awesome, thank you!
  12. the second option would be more beneficial i think
  13. ok so thats what i assumed / hoped was implemented (like the others) but i feel like im doing something wrong as the function doesnt seem to be called? heres my PG
  14. ok so my next question would be, i was using beginDirectAnimation because it creates a new Animatable for each animation as i need to control each animation separately. it seems beginDirectAnimation doesnt have onAnimationEnd (from what i can see) so what would be the next best thing to do to accomplish both needs? many thanks.
  15. ok that makes sense. so if i need to replay it but i dont want it to instantly loop, how do i go about that? i also preferably dont want to create a new animatable each time either. i wondered about having an onanimationend function but i guess it wouldnt end in loop mode untill i tell it to stop / pause?