Skip to content

Conversation

@damienmarchal
Copy link
Contributor

In #5565 was introduced a component to produce a mesh from any ScalarField.
Currently the computation is synchronous. This means that at init() the whole computation is done.

As this operation can take time several problem arose:

  • not possible to performs the meshing of several object at same time
  • user has to wait at load time that the meshing is working ok.

In this PR is implemented an asynchronous computation.

The problem with asynchronous computation is that the component that are connected to the asynchronous one
must behave correctly regarding their data/internal updates... which is not often the case.


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

…counter.

This is then used to connected and track component revisions.
Currently, when the triangles set is changed, the geometry is not modified.
…angulation of a field.

The computation can be made asynchronous, so multiple rasterisation can be done in
parallel.
Depending on the connected component this may not work because the connected component
may not handle dynamic geometry.
@damienmarchal damienmarchal added pr: enhancement About a possible enhancement pr: status wip Development in the pull-request is still in progress labels Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: enhancement About a possible enhancement pr: status wip Development in the pull-request is still in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant