You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide an API for progressive tree building, which can be slow for large meshes at the moment. Some ideas:
// uses requestIdleTick or requestAnimationFrame to build the tree and// provides a promise and variable for whether or not the tree is doneconstperFrameTime=1;geometry.computeBoundsTree(Strategy.SAH,perFrameTime).then(...);console.log(geometry.boundsTree.ready);// false
// provides function for running the next tick of the buildinggeometry.computeBoundsTreeProgressively();// every frame until finishedif(!geometry.boundsTree.ready)geometry.boundsTree.build(perFrameTime);
this would be easy to do with a generator
The text was updated successfully, but these errors were encountered:
Provide an API for progressive tree building, which can be slow for large meshes at the moment. Some ideas:
this would be easy to do with a generator
The text was updated successfully, but these errors were encountered: