8000 BufferGeometry · Issue #154 · compas-dev/compas_viewer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
BufferGeometry #154
Open
Open
@tomvanmele

Description

@tomvanmele

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

...

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0