Skip to content

Commit 8454e9f

Browse files
committed
- updated PositionBasedDynamics
- updated GenericParameters
1 parent 48725a9 commit 8454e9f

File tree

5 files changed

+22
-33
lines changed

5 files changed

+22
-33
lines changed

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ keywords:
2020
- fluids
2121
- simulation
2222
license: MIT
23-
version: 2.12.0
23+

CMake/SetUpExternalProjects.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ExternalProject_Add(
3333
Ext_GenericParameters
3434
PREFIX "${CMAKE_BINARY_DIR}/extern/GenericParameters"
3535
GIT_REPOSITORY https://github.com/InteractiveComputerGraphics/GenericParameters.git
36-
GIT_TAG "42d52ad551fafba600ee99e59fb0f9c7b557e2ed"
36+
GIT_TAG "a4e2744eea526270cfe38b826440d09f66473316"
3737
INSTALL_DIR ${ExternalInstallDir}/GenericParameters
3838
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${EXT_CMAKE_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX:PATH=${ExternalInstallDir}/GenericParameters -DGENERICPARAMETERS_NO_TESTS:BOOL=1 -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}
3939
)
@@ -47,7 +47,7 @@ ExternalProject_Add(
4747
Ext_PBD
4848
PREFIX "${CMAKE_BINARY_DIR}/extern/PositionBasedDynamics"
4949
GIT_REPOSITORY https://github.com/InteractiveComputerGraphics/PositionBasedDynamics.git
50-
GIT_TAG "06e18ba4c1fab9401a494f5479e026641467f22e"
50+
GIT_TAG "00db2e091a88a628099787cf6fada941e851dbfa"
5151
INSTALL_DIR ${ExternalInstallDir}/PositionBasedDynamics
5252
DEPENDS Ext_GenericParameters Ext_Discregrid
5353
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${EXT_CMAKE_BUILD_TYPE}

Changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
- updated PositionBasedDynamics
2+
- updated GenericParameters
3+
14
2.12.4
25
- added citation file
36
- fixed rigid body colors in visualization

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ SPlisHSPlasH can export the particle data in the partio and vtk format. If you w
2121
- [Blender Sequence Loader](https://github.com/InteractiveComputerGraphics/blender-sequence-loader)
2222
- [MayaPartioTools](https://github.com/InteractiveComputerGraphics/MayaPartioTools)
2323

24-
**Author**: [Jan Bender](http://www.interactive-graphics.de)
24+
**Author**: [Jan Bender](https://animation.rwth-aachen.de/person/1/)
2525

2626
## License
2727

@@ -55,7 +55,7 @@ For Windows and Linux targets there exists prebuilt python wheel files which can
5555
```
5656
pip install pysplishsplash
5757
```
58-
These are available for Python Versions. See also here: [pySPlisHSPlasH](https://pypi.org/project/pySPlisHSPlasH/).
58+
These are available for Python versions 3.6-3.10. See also here: [pySPlisHSPlasH](https://pypi.org/project/pySPlisHSPlasH/).
5959
If you do not meet these conditions please refer to the build instructions and to the python binding
6060
[Getting started guide](https://github.com/InteractiveComputerGraphics/SPlisHSPlasH/blob/master/doc/py_getting_started.md).
6161

@@ -193,9 +193,21 @@ The following videos were generated using the SPlisHSPlasH library:
193193
[![Video](https://img.youtube.com/vi/D_nEhix1G-w/0.jpg)](https://www.youtube.com/watch?v=D_nEhix1G-w) | [![Video](https://img.youtube.com/vi/elZieJNBYqk/0.jpg)](https://www.youtube.com/watch?v=elZieJNBYqk)
194194
*Volume Maps: An Implicit Boundary Representation for SPH* | *Implicit Frictional Boundary Handling for SPH*
195195
[![Video](https://img.youtube.com/vi/AV_pl1bMIb8/0.jpg)](https://www.youtube.com/watch?v=AV_pl1bMIb8) | [![Video](https://img.youtube.com/vi/1u5N0eedzic/0.jpg)](https://www.youtube.com/watch?v=1u5N0eedzic)
196-
*Fast Corotated Elastic SPH Solids with Implicit Zero-Energy Mode Control* |
197-
[![Video](https://img.youtube.com/vi/8NkyiftmDN0/0.jpg)](https://www.youtube.com/watch?v=8NkyiftmDN0) |
196+
*Fast Corotated Elastic SPH Solids with Implicit Zero-Energy Mode Control* | *A comparison of linear consistent correction methods for first-order SPH derivatives*
197+
[![Video](https://img.youtube.com/vi/8NkyiftmDN0/0.jpg)](https://www.youtube.com/watch?v=8NkyiftmDN0) | [![Video](https://img.youtube.com/vi/k0kKR8mXmK4/0.jpg)](https://www.youtube.com/watch?v=k0kKR8mXmK4)
198198

199+
## Citation
200+
201+
To cite SPlisHSPlasH you can use this BibTeX entry:
202+
203+
```bibtex
204+
@software{SPlisHSPlasH_Library,
205+
author = {Bender, Jan and others},
206+
license = {MIT},
207+
title = {{SPlisHSPlasH Library}},
208+
url = {https://github.com/InteractiveComputerGraphics/SPlisHSPlasH},
209+
}
210+
```
199211

200212
## References
201213

Simulator/PositionBasedDynamicsWrapper/PBDWrapper.cpp

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -165,32 +165,6 @@ void PBDWrapper::readScene(const std::string &sceneFileName, const std::vector<
165165

166166
PBD::Simulation *sim = PBD::Simulation::getCurrent();
167167
sim->setVecValue<Real>(PBD::Simulation::GRAVITATION, &data.m_gravity[0]);
168-
m_timeStep->setValue(PBD::TimeStepController::VELOCITY_UPDATE_METHOD, data.m_velocityUpdateMethod);
169-
if (data.m_triangleModelSimulationMethod != -1)
170-
m_clothSimulationMethod = data.m_triangleModelSimulationMethod;
171-
if (data.m_tetModelSimulationMethod != -1)
172-
m_solidSimulationMethod = data.m_tetModelSimulationMethod;
173-
if (data.m_triangleModelBendingMethod != -1)
174-
m_bendingMethod = data.m_triangleModelBendingMethod;
175-
m_cd.setTolerance(data.m_contactTolerance);
176-
m_model.setContactStiffnessRigidBody(data.m_contactStiffnessRigidBody);
177-
m_model.setContactStiffnessParticleRigidBody(data.m_contactStiffnessParticleRigidBody);
178-
179-
m_distanceStiffness = data.m_cloth_stiffness;
180-
m_bendingStiffness = data.m_cloth_bendingStiffness;
181-
m_xxStiffness = data.m_cloth_xxStiffness;
182-
m_yyStiffness = data.m_cloth_yyStiffness;
183-
m_xyStiffness = data.m_cloth_xyStiffness;
184-
m_xyPoissonRatio = data.m_cloth_xyPoissonRatio;
185-
m_yxPoissonRatio = data.m_cloth_yxPoissonRatio;
186-
m_normalizeStretch = data.m_cloth_normalizeStretch;
187-
m_normalizeShear = data.m_cloth_normalizeShear;
188-
189-
m_solidStiffness = data.m_solid_stiffness;
190-
m_solidPoissonRatio = data.m_solid_poissonRatio;
191-
m_solidNormalizeStretch = data.m_solid_normalizeStretch;
192-
m_solidNormalizeShear = data.m_solid_normalizeShear;
193-
m_volumeStiffness = data.m_volume_stiffness;
194168

195169
//////////////////////////////////////////////////////////////////////////
196170
// rigid bodies

0 commit comments

Comments
 (0)