-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add scalable CCD library and remove GPU CCD and Sweep and Tiniest Queue libraries * Add CUDA_ARCHITECTURES in CMakeLists.txt * Update SweepAndTiniestQueue to new API * Add all candidate types to SweepAndTiniestQueue * Rename STQ to SAP * Update Aabb name * Refactor Python module structure
- Loading branch information
Showing
51 changed files
with
856 additions
and
619 deletions.
There are no files selected for viewing
This file contains 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 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 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 was deleted.
Oops, something went wrong.
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Abseil (https://github.com/continuous-collision-detection/scalable-ccd) | ||
# License: Apache 2.0 | ||
if(TARGET scalable_ccd::scalable_ccd) | ||
return() | ||
endif() | ||
|
||
message(STATUS "Third-party: creating target 'scalable_ccd::scalable_ccd'") | ||
|
||
set(SCALABLE_CCD_WITH_CUDA ${IPC_TOOLKIT_WITH_CUDA} CACHE BOOL "Enable CUDA CCD" FORCE) | ||
|
||
include(CPM) | ||
CPMAddPackage("gh:continuous-collision-detection/scalable-ccd#c03efa095173b44c13d8440bbc859eeaa0ec550b") |
This file was deleted.
Oops, something went wrong.
This file contains 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
set(SOURCES | ||
bindings.cpp | ||
collision_mesh.cpp | ||
ipc.cpp | ||
) | ||
|
||
source_group(TREE "${CMAKE_CURRENT_SOURCE_DIR}" PREFIX "Source Files" FILES ${SOURCES}) | ||
target_sources(ipctk PRIVATE ${SOURCES}) | ||
|
||
################################################################################ | ||
# Subfolders | ||
################################################################################ | ||
|
||
add_subdirectory(barrier) | ||
add_subdirectory(broad_phase) | ||
add_subdirectory(candidates) | ||
add_subdirectory(ccd) | ||
add_subdirectory(collisions) | ||
add_subdirectory(distance) | ||
add_subdirectory(friction) | ||
add_subdirectory(implicits) | ||
add_subdirectory(potentials) | ||
add_subdirectory(utils) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
set(SOURCES | ||
barrier.cpp | ||
adaptive_stiffness.cpp | ||
) | ||
|
||
source_group(TREE "${CMAKE_CURRENT_SOURCE_DIR}" PREFIX "Source Files" FILES ${SOURCES}) | ||
target_sources(ipctk PRIVATE ${SOURCES}) |
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
set(SOURCES | ||
aabb.cpp | ||
broad_phase.cpp | ||
brute_force.cpp | ||
bvh.cpp | ||
hash_grid.cpp | ||
spatial_hash.cpp | ||
sweep_and_prune.cpp | ||
sweep_and_tiniest_queue.cpp | ||
voxel_size_heuristic.cpp | ||
) | ||
|
||
source_group(TREE "${CMAKE_CURRENT_SOURCE_DIR}" PREFIX "Source Files" FILES ${SOURCES}) | ||
target_sources(ipctk PRIVATE ${SOURCES}) |
This file contains 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#include <common.hpp> | ||
|
||
#include <ipc/broad_phase/sweep_and_prune.hpp> | ||
|
||
namespace py = pybind11; | ||
using namespace ipc; | ||
|
||
void define_sweep_and_prune(py::module_& m) | ||
{ | ||
py::class_<SweepAndPrune, BroadPhase>(m, "SweepAndPrune"); | ||
} |
Oops, something went wrong.