ospray icon indicating copy to clipboard operation
ospray copied to clipboard

Feature Request: Allow the change of volume data values alone without recomputing mesh data

Open StasJ opened this issue 5 years ago • 2 comments

When committing a volume, OSPRay does some calculations which can be quite expensive. I am assuming these are related to acceleration structures pertaining to the mesh. We have a common use case of changing the data values of a mesh without changing the mesh itself. Committing the volume after making this change results in rerunning the expensive calculations. Is there any way this can be avoided?

StasJ avatar Dec 11 '20 19:12 StasJ

Note this issue may be particularly relevant for unstructured grids. As a specific use case it takes about 2 minutes for the first rendering of a ~150M tetrahedra cell mesh on a 18-core 2.3-GHz Intel Xeon 6140 (Skylake) processor. But subsequent renderings are on the order of a second. Presumably the initial cost is for computing acceleration structures that may only need to change when a new mesh is loaded?

clyne avatar Dec 14 '20 18:12 clyne

Understood, this is a very reasonable request, we like to have that as well (already on the wish list) :-). We started on the infrastructure to facilitate such more fine-granular, smarter updates. However, still some pieces missing, so will take some time.

johguenther avatar Dec 16 '20 15:12 johguenther