ROSEBrowser is a free and open-source implementation of the ROSE Online 3D MMORPG for web browsers written from scratch using the latest web standards (WebGL, HTML5, Javascript, Threads, ...).
Currently this command takes around 25% of the frame time. This can probably be optimized by using the THREE.Octree class, however, this class does not currently work fully with BufferGeometry (building the tree works, but querying fails due to face replacement).
Turns out the bug with NetManager commands was causing all objects to be moving when they shouldn't be. This meant that every entity was casting rays, even if not moving. See dded0e8.
Currently this command takes around 25% of the frame time. This can probably be optimized by using the THREE.Octree class, however, this class does not currently work fully with BufferGeometry (building the tree works, but querying fails due to face replacement).