-
Notifications
You must be signed in to change notification settings - Fork 148
Add GEOM_CUSTOM node type for user-defined shapes #822
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
rjoomen
wants to merge
25
commits into
coal-library:devel
Choose a base branch
from
rjoomen:copilot/review-custom-cast-shape-support
base: devel
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
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
359fb80
feat: Make support functions extensible for custom shapes
claude 622c741
Add GEOM_CUSTOM node type for external custom shape support
Copilot 1c29d1b
Fix getShapeSupport(ShapeBase*): normalize dir before virtual dispatch
Copilot d2186ce
Add complete GEOM_CUSTOM support for BVH mesh, heightfield, and all B…
rjoomen 3398c6d
Add GEOM_CUSTOM tests for contact patches and heightfield distance
rjoomen aa1fc6b
Restore default handling of unsupported shapes (should not be handled…
rjoomen 9aec811
Update cast sphere calculations in custom shape test
rjoomen 6625fd7
Add DeformedCylinder test as a demonstration of GEOM_CUSTOM usage
rjoomen 8342871
Restore default behavior of ShapeBase (should not default to custom)
rjoomen 0eda0eb
Expose getNormalizeSupportDirection and fix Nesterov heuristic in cus…
rjoomen 890a379
Complete shape matrices for GEOM_CUSTOM
rjoomen 5d21765
Refactor CastSphere to delegate to underlying Sphere via Coal APIs
rjoomen 31418be
Update CHANGELOG
rjoomen 011f75a
clang-format, cmake format
rjoomen 0c0e045
Use aabb_local formula in computeBV<AABB, ShapeBase>
rjoomen caff39a
Add getSupport overload accepting ShapeSupportData for buffer reuse
rjoomen 475a172
Move getShapeSupportSet to the correct section of the header
rjoomen d625694
doc/python: strip template args from free-function disambiguator
rjoomen 3050877
Use portable Boost pi constant
rjoomen 9608885
Add missing COAL_DLLAPI to fit
rjoomen 9ccd2a4
Pass the raw support direction to computeShapeSupport
rjoomen 7ca177d
Delegate the default computeShapeSupport to built-in supports
rjoomen 8e909af
Document Nesterov heuristic delegation for wrapper shapes
rjoomen 37df7ab
Expand the GEOM_CUSTOM changelog entry
rjoomen 57e75f2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am really not a fan of having the
computeShapeSupportmethod inShapeBase. And the fact that the default behavior is throwing, regardless of the shape.All the shapes in coal have an implementation of the support function. This function lets the reader think that this is not the case. It should at least call
getShapeSupportfor shapes which are notGEOM_CUSTOM.