在示例交互射线点中,有4个不同的函数用于生成点云:
1. generatePointcloud (with buffer geometry)
2. generateIndexedPointcloud (buffer geometry with indices)
3. generateIndexedWithOffsetPointcloud (buffer geometry with added drawcall)
4. generateRegularPointcloud (with normal geometry)
有人能解释一下这4种类型的区别吗?它们之间是否存在性能优势或者某些情况下更适合使用其中的一种?
谢谢!