• Content Count

  • Joined

  • Last visited

  • Days Won


jonforum last won the day on November 12 2019

jonforum had the most liked content!

1 Follower

About jonforum

  • Rank
    Advanced Member
  • Birthday 02/01/1987

Profile Information

  • Gender
  • Location

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. hum, Some more demo here (including debugger). These all I have in stock ! and it maybe not the most nice way. Am not understand the question here, my english may not be good enough, maybe rephrase the question. The code is also unreadable for me. My eyes are bleeding.🩸 😉
  2. is this can help you ?
  3. for gsap i think it gsap.ticker.remove(gsap.updateRoot); // remove autoticks gsap.updateRoot(time);// manually and feed in the time you want look easy but the name updateRoot was weird !
  4. yes, the system has these limitations unfortunately, and I have no idea how to fix this. I help myself with jsdoc, it allow Intellisense to suggest me that the existing names and keep references in whole project, provided that I have not forgotten. It takes discipline and time, but I don't know how to do it any other way. 🙁 I am open to any idea to this subject, because it a static technique. And if you not sure in the workflow if the ref existe or are destroyed. You can do a if condition or use optional chaining this.child.SpriteName?.method(param); the ?. are useful in dynamic cases More info Bench perfo are overhere
  5. This is what you're looking for ? It existe probably many other way. On my side i use this one. see demo and code line 46 Also you can take a look on this script, it another version The idea it add a property named child to DisplayObjets And use it to add references of all childs sprites with name only Then it allow do thing like this this.child.spriteName.position.x = 0 also allow array this.child.spritesNames[8].position.x = 0
  6. 320 line of code ! hum.. This approach would more clear for your user case. 12 line only const list = [ ['name','url'], ['name','url'], ['name','url'], ['name','url'], ['name','url'], ['name','url'], ] const loader = new PIXI.loaders.Loader(); list.forEach(arr => loader.add(arr[0], arr[1]) ) // or .add(...arr) loader.load(); loader.onError.add((loader, res)=>{ //stuff }) loader.onProgress.add((loader, res) => { //stuff }) loader.onComplete.add((loader, res) => { //stuff }) And as ivan say to you , for the best practice in (pre) loading a big selection of images You will need a texture packer software. You also have this one free Work fine in pixijs, or if you use multipack or normals (premium feature) you will need to code your own manager in the pixi loader.
  7. i think it can be good also in boilerplate, it a good starter and the only one without typescript!
  8. Intellisense is not perfect, sometime you need help him, especially for events. Am not using maybe the best solution but it work for me.
  9. also here a nice video for PS and AE. This one helped me a lot to do VR picture. The depthmap are rendering on AE engine for the result, but its same logic, you replace AE by pixijs and filters.
  10. also i can see some strange artefact, am not sure why but try with png high quality image. Jpg are compressed and lossy. If artefact not fixed with png, create a issue on github for the pixi team. It can maybe a displacementFilter bug !
  11. A lot of issue with your demo, so i just make a playground for you. You will also need refactoring your image depth map. You will need practice and also this is not a very good image for this kind of 3d. But your are on the good way! make more experimentation. ex: more black on eyes. ps: for the online demo you can use ps: i don't use your demo because you code are inside html and my IDE don't like this. Logicly you should separate css,js from html.
  12. i can take a look, but plz make a zip projet with all stuff. I am lazy
  13. than you can save the depthMap and use dispestion in transform filter for test your result. I don't know for the english version sorry. but it should very similar.
  14. on photoshop 2020 you have a commande named generate bumpMap depthMap. its the same way if you want make stereo 3d picture for VR. you can use the depth Map with displacement filter and mouse to make a live 3d feeling