three_js_gpu_picking
three_js_gpu_picking copied to clipboard
Mesh objects only?
This is more of a question, but is there a way to use this library to pick point geometries, or is it only for meshes? Thanks!
Actually, now that I think about it, this might relate to #10, since I can see a Points
object being picked, but picking an individual point seems like it would require something like a pickingGeometry.
I don't think it'll work out of the box, but adding support would basically be the same as adding support for sprites. Here is where that is handled currently. @bennlich added support for that in this pr. I'll try and peek at it soon, but that is the general path I'd take to add points support.
Cool, thanks! In the meantime I'll see what I might be able to figure out with this.