randomPointsInBufferGeometry

Hi!
Approach 1: How fill a loaded STL mesh ( NOT SIMPLE SHAPES LIKE CUBE ETC) with random particles and animate with this geometry bound in three.js - #6 by prisoner849 . Awfully slow, imperfect.
Approach 2: Three-mesh-bvh: A plugin for fast geometry raycasting and spatial queries! . Fast, perfect, awesome, easy-to-use.
Used the second one here: Sand Nefertiti (three-mesh-bvh)

4 Likes