-
Notifications
You must be signed in to change notification settings - Fork 340
[SofaImplicitField] add vectorized scalarfield binding #5673
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
Open
damienmarchal
wants to merge
27
commits into
sofa-framework:master
Choose a base branch
from
CRIStAL-PADR:pr-add-vectorized-scalarfield-binding
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[SofaImplicitField] add vectorized scalarfield binding #5673
damienmarchal
wants to merge
27
commits into
sofa-framework:master
from
CRIStAL-PADR:pr-add-vectorized-scalarfield-binding
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…urface-mesh # Conflicts: # applications/plugins/SofaImplicitField/examples/python/python-scalarfield.py # applications/plugins/SofaImplicitField/python/src/Binding_ScalarField.cpp
When the name is passed by key,value it is not set.
f6a9bf8 to
1ec59f7
Compare
1ec59f7 to
e966ddd
Compare
Contributor
Author
|
Small benchmark (benchmark_implicit.py): meshing spherical field function using a grid with a 200x200x200 rsolution took: |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follow up of the work on SofaImplicitField.
In PR #5559 we add python binding to ScalarField, so we can implement a scalar field in python
In PR #5565 we add a component class FieldToSurfaceMesh to mesh any Scalar Field using marching cube
In PR #5672 we add asynchronous computation to the component FieldToSurfaceMesh
In the present PR we add vectorized version of ScalarField::getValue so it can process chunk of field evaluation.
Typically the kind of workload/pattern that happens when using ScalarFields for collision, rendering with raymarching or meshing.
Using the vectorized API has big consequences in term of performances especially when the field is implemented in python or using a cuda implementation on GPU.
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