Open
Description
When working with large amounts of data, for example FEA results, converting the data to COMPAS objects and then back to numerical results for the GPU buffers is extremely time consuming, and especially completely unnecessary.
In these scenarios, it would be better if the raw data can be placed directly into a buffer, with a specified structure. For example
viewer.scene.add(BufferGeometry.from_points(points)) # points -> Nx3
viewer.scene.add(BufferGeometry.from_lines(points, lines)) # points -> Nx3, lines -> Nx2
viewer.scene.add(BufferGeometry.from_faces(points, faces)) # points -> Nx3, faces -> Nx3
...