Update subset of vertices of a Mesh #242
Replies: 1 comment 1 reply
-
Hi @AlgoryxJosef!
Yes, your understanding is correct. It was developed as an easier alternative to GPU-skinning, which we would like to implement in the future.
This could be achieved by adding another API call which would take only the subset of vertices (be it continguous range or a list of indices) and copy only those vertices. However, while this method would reduce the amount of data copied to the GPU, it would not change the cost of re-building OptiX acceleration structure, which may be actually bigger than the copy itself. Optimizing the OptiX AS re-build is far more difficult.
Thank you! We'd be happy to hear more details about your use-case, if possible. |
Beta Was this translation helpful? Give feedback.
-
If I have understood the API correctly, it is currently only possible to update ALL vertices of a mesh at once.
We have a situation where we have a very large mesh where a few vertices will change often.
I have a few questions:
Regarding question 2 I assume the difficult thing is that vertex data is written to the GPU, is it hard to update a subset of vertices there?
Keep up the good work,
Best regards,
Josef
Beta Was this translation helpful? Give feedback.
All reactions