OXY11

Members
  • Content Count

    25
  • Joined

  • Last visited

1 Follower

About OXY11

  • Rank
    Member

Recent Profile Visitors

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

  1. Hi, i have a scene with an arc rotate camera. at starting there's a long camera animation intro and I would stop it when user try to move the scene. What's the best way to detect user mouse drag, and stop the animation? tx
  2. Hi, how can use setLocalTranslation to move an object toward the camera? myobject.position = new BABYLON.Vector3(20, 20, 20); myobject.setLocalTranslation = ...... thanks
  3. hi, now that "onPointerDown" is deprecated, how can I replace this functionality here: http://www.babylonjs-playground.com/#2FPT1A#14 using "onPointerObservable"?
  4. Hi, How can I do to delete godrays? if I use dispose i get an error http://www.babylonjs-playground.com/#1K1PNY#0
  5. hi, how can i use EASING MODE with CreateAndStartAnimation function? this give me an error: var moveX = new BABYLON.Animation.CreateAndStartAnimation('moveX', toMove, 'position.x', 30, 30, 0, 20, BABYLON.Animation.ANIMATIONLOOPMODE_CONSTANT, BABYLON.EasingFunction.EASINGMODE_EASEIN);
  6. ok, thanks again, but what is and what sets the "time" parameter?
  7. hi, first of all thank you! if I change "time" value, i can't see difference in the fire animation? eg what value I need to see the fire go slowest?
  8. Hi, some doubts about the Fire Procedural Texture parameters "var fireTexture = new BABYLON.FireProceduralTexture("fire", 512, scene);" this seems not to work: fireTexture.autoGenerateTime = false; fireTexture.time = 0; and the array of 6 colors in which parts of the fire/flames refer exactly? fireTexture.fireColors = [ new BABYLON.Color3(0.1, 0.0, 0.5), new BABYLON.Color3(0.0, 0.0, 0.5), new BABYLON.Color3(0.1, 0.0, 0.2), new BABYLON.Color3(0.0, 0.0, 1.0), new BABYLON.Color3(0.1, 0.2, 0.3), new BABYLON.Color3(0.0, 0.2, 0.9) ];
  9. I solved. I blamed picking form the poor performance, instead was due to another wrong function. Now 60.000 particles - 45 / 60fps Thanks again for your help.
  10. unfortunately I can not do it this way because I need to update each frame with setParticles(). actually I need to "pick" only 1/10 of the total particles. (the blue ones) here: http://www.babylonjs-playground.com/#2FPT1A#80 can I make "pickable" only a part of the total? so as to avoid unnecessary "pick" computation of the other? This could be a solution to improve performance? any other solution?