• Content count

  • Joined

  • Last visited

  1. klaude

    SceneOptimizer instance has empty

    It has no error. Maybe it works for now. It shows 'success'. BABYLON.SceneOptimizer.OptimizeAsync(scene, optimizerOptions(), function() { console.log('success'); }, function() { console.log('failed'); }); Thanks! @Arte
  2. Hello, I'm trying to use SceneOptimizer wity babylonjs v3.1.1. var options = new BABYLON.SceneOptimizerOptions(30, 1000); options.optimizations.push(new BABYLON.RenderTargetsOptimization(0)); options.optimizations.push(new BABYLON.ParticlesOptimization(1)); options.optimizations.push(new BABYLON.TextureOptimization(1, 1024)); // options.optimizations.push(new BABYLON.HardwareScalingOptimization(2, 4)); // Optimizer var optimizer = new BABYLON.SceneOptimizer(scene, options); optimizer.start(); but optimizer object has nothing. this is console log. e {} __proto__: Object what am i missing?
  3. Hello, RaananW. Thanks for your help. forgot to state linkOffsetX, linkOffsetY of GUI.Control. Using parenting function, It works what i want. but only when it comes to mesh. (yellow one) how to make sprite like plane2 in the next example. https://www.babylonjs-playground.com/#87HQN6#2
  4. Hello, guys. I'm newbie on 3d programming. I want to display sprite like GUI that has a function linkWithMesh. but it hasn't. In this example, sprite's position from a mesh is changing, not fixed. https://www.babylonjs-playground.com/#87HQN6 the mesh must have BILLBOARDMODE_ALL. how to make sprite to track mesh's position like GUI's linkWithMesh.