Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Efficiently rendering time-varying trimeshes #699

Open
philippjfr opened this issue Feb 5, 2019 · 3 comments
Open

Efficiently rendering time-varying trimeshes #699

philippjfr opened this issue Feb 5, 2019 · 3 comments
Milestone

Comments

@philippjfr
Copy link
Member

A frequent use case for trimesh rendering is to plot a time-varying mesh where the mesh coordinates are static but the node or triangle values vary over time. Using the current approach the canvas.trimesh has to recompute the intermediate datastructure each time which is very inefficient when you are trying to plot hundreds or even thousands of different timesteps of the same mesh. We either need to rethink the intermediate datastructure or we should find a way to efficiently update the mesh datastructure with the time-varying values.

@jonmmease
Copy link
Collaborator

Is there a premise here that we can't put all of the feature columns (one per timestep) in the initial tris dataframe that is then converted into the mesh dataframe?

@philippjfr
Copy link
Member Author

philippjfr commented Feb 5, 2019

Is there a premise here that we can't put all of the feature columns (one per timestep) in the initial tris dataframe that is then converted into the mesh dataframe?

That could be a solution but isn't necessarily possible since there can be hundreds or even thousands of time steps.

@jbednar
Copy link
Member

jbednar commented Feb 5, 2019

Also, the incoming data can come in batches -- the initial mesh is defined, visualized and adjusted, then given to a simulator that generates arbitrarily many Z values over time for each mesh location. E.g. it could produce a new file every 1000 time steps, which we could stream in continuously using the same mesh object.

@ppwadhwa ppwadhwa added this to the wishlist milestone Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants