• Content count

  • Joined

  • Last visited

About Hagop

  • Rank
    Advanced Member

Recent Profile Visitors

709 profile views
  1. I confirm my reported issue is FIXED in Babylon.js engine v3.2.0-beta.1
  2. WebGL and XML errors

    After upgrading to Babylon ver 3.2 at some stage Firefox 59.0, the error was caused on imported Babylon files which or the babylon file was renamed but the "producer" information kept the old file name Quite releived to see all those red line vanish from the Console. There seems to be a problem with binary files but I can live with it...
  3. OK, I see, however is there a way where we can restrict counting to a single BABYLON.SceneLoader.ImportMesh() call and discard the rest of the calls?
  4. Dear all Maybe this is a dummy question, but I couldn't figure out a workaround solution. I have created a scene using the standard var createScene = function() {}, after which I make MULTIPLE calls to import meshes BABYLON.SceneLoader.ImportMesh(). I try to display the Preloading screen using the following code var renderFunction = function () { if (scene) { var remaining = scene.getWaitingItemsCount(); if (remaining !=0) { engine.displayLoadingUI(); engine.loadingUIBackgroundColor = "green"; engine.loadingUIText = "Please Wait, An Incredible 3D Online Shopping Experience is Streaming: " + (remaining ? (remaining + " items remaining") : ""); } else if (remaining ==0) { engine.hideLoadingUI(); } scene.render(); } }; engine.runRenderLoop(renderFunction); The problme is that scene.getWaitingItemsCount() fluctuates, it decreases than increases, then decreases until it gets to zero. Is there a way for Counting to wait for ALL meshes/textures to QUEUE before it fires?
  5. Here is a playground https://playground.babylonjs.com/#TSHYWF#2 I am referring to animations without skeletons
  6. After upgrading to Babylon 3.2.0 alphaC from 3.0 3.2.0 scene.beginAnimation dows not seem to run. Here is the babylon mesh & animation details if it is of any help from console.log reg Name: dur1, isInstance: NO, # of submeshes: 3, n vertices: 943, parent: NONE, animation[0]: Name: Dur1Animation, property: position.x, datatype: Float, nKeys: 3, nRanges: 0, animation[0]: Name: Dur1ZAnimation, property: position.z, datatype: Float, nKeys: 3, nRanges: 0 dur1 Name: Dur1Animation, property: position.x, datatype: Float, nKeys: 3, nRanges: 0, Name: Dur1ZAnimation, property: position.z, datatype: Float, nKeys: 3, nRanges: 0
  7. snupas, Do you mean that the scene will be downloaded when running through a mobile app. So an app useless in case the scene is updated periodically?
  8. I have a heavy load Babylon scene (all meshes are optimized), which runs sufficiently well on desktops and tablets. The same site is slugish, slow or does not run at all on many mobiles when accesing through the mobiles browsers. I guess this is pretty normal since mobile GPUs are not as powerful as let's say tablets' GPU. So I guess the best thing to do is to test if the site is being accessed by a mobile device and divert the user to a mirror site where the textures are of lesser quality and the mesh sizes are smaller. Is that a correct solution? Is there any other ways of boosting performance Secondly, will wrapping the site into a Mobile app such as Cordova boost performance as compared to accessing the site through the mobiles' browser? Has anybody had experience with Windows apps running Babylon.js and were there any performance gains?
  9. @RaananW this is what I am trying to acheive.Click a product and drag down the mouse down to add into shopping cart. I am trying to move/rotate the products smoothly with shopping cart. That's why I have added parenting after dropping. As a temp solution, I have removed physics after dropping, but in this case products fall INTO one another
  10. Hi Delkatosh, thank you for the prompt reply. I just need the rotation logic/code for SIMPLE mesh (no physics applied) parented to camera (i guess it;s the same commands when parenting a mesh to another mesh)
  11. Hi all After I parent a mesh with impostor to a camera, and assign position to it relative to Camera, X & Z axis locations work correctly, but not Y-axis location. The mesh jumps up and actually the jumping depends on the value of the Y component the Cannon engine is initialized. Checkout http://playground.babylonjs.com/#1VNAYW#84
  12. Delete does not seem to work, because if after deleting physics if I parent the mesh to the camera and position it (after parenting the position of the mesh is relative to the camera), mesh makes a small jump.
  13. Dear all Can somebody point out the code segment in the source code of BABYLON.js or the commands that make a mesh parented to a FreeCamera rotate smoothly with the FreeCamera. The reason why I am asking this is because if I have a Physics impostor in the mesh and I parent it to the Free Camera, cannot control meshes position after parenting, so I am thinking of NOT parenting and rotating it manually.
  14. Thanks for the answers guys. Dispose does the job. @dbawel make sure the console.log(sphere.position); is in the timeout function and the correct position will be returned.
  15. WebGL and XML errors

    I get the same errors after upgrading to Firefox 51.0.1