• Content Count

  • Joined

  • Last visited

About Diaco

  • Rank

Recent Profile Visitors

468 profile views
  1. I think it's possible , but my problem is I don't know what property is animating by this line : scene.beginAnimation(skeletons[0], 0, 100, true, 1.0);
  2. @MasterK hmm , actually GSAP can animate any javascript object property , I don't know really about skeletons , maybe that be better to fork that codepen with a simple version of your code
  3. Hi Guys @MasterK I know Bjs has owned its animation engine , but I think that be good to try GSAP since it's really powerful & high-performance animation engine , easily can handle all your needs about animations. you will have benefits of timelines, and easily sequence tweens, use stagger Tweens, manage timescale, repeat, delays , ...etc . pls check this out : http://codepen.io/MAW/pen/66760a5b8426c1c871776d4f202d30c7?editors=0010
  4. @adam @JohnK Thanks JohnK : Great job ! , am i right about vertexData.applyToMesh(); or something like that for other indices ; can be useful to optimise scene objects , and make better performance for big projects ?! since it reduced scene indices ! I really appreciate your help
  5. Hi @Wingnut 's idea leads me to this : http://codepen.io/MAW/pen/416c7b6f09db70d4da7b2006d3d76220?editors=0010
  6. Hi royibernthal actually, I'm a newbie to Bjs , but I think this link can lead you to the right direction : https://blog.raananweber.com/2015/09/03/scene-optimization-in-babylon-js/
  7. JohnK , Thanks for the reply I've read those topics , But seems there're some issues! since I used BABYLON.VertexBuffer.PositionKind , I suppose it should return just vertices positions, not other coordinates ! on the other hand, I think it's possible to join vertices with same coordinates since three.js already doing that for all basic meshes. is that really a bug or it's by design , is this correct from performance wise ! if so , what's the fastest solution to avoid getting duplicated coordinates ?
  8. Hi guys how can I get geometry vertices , in three.js i can get positions with box.geometry.vertices and returns coordinate for 8 points ( of a box ) ; now via Bjs i tried to use box.getVerticesData(BABYLON.VertexBuffer.PositionKind); , but seems returns 24 points ! am I wrong or Babylon js use duplicate/separate vertices for each face ! if so , how can I avoid to return duplicated coordinate ? thanks in advance .