Skip to content

Commit 43b8a8e

Browse files
committed
Merge branch 'InteractiveComputerGraphics:master' into fix-macos
2 parents 9d51fbb + 4ad3522 commit 43b8a8e

File tree

404 files changed

+86415
-108271
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

404 files changed

+86415
-108271
lines changed

.github/workflows/build-linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v1
13+
- uses: actions/checkout@v3
1414
- name: apt-get update
1515
run: sudo apt-get update --fix-missing
1616
- name: Install packages
@@ -31,11 +31,11 @@ jobs:
3131
python-version: [cp36-cp36m, cp37-cp37m, cp38-cp38, cp39-cp39, cp310-cp310]
3232

3333
steps:
34-
- uses: actions/checkout@v1
34+
- uses: actions/checkout@v3
3535

3636
# Set up python
3737
- name: Set up Python 3.8
38-
uses: actions/setup-python@v1
38+
uses: actions/setup-python@v4
3939
with:
4040
python-version: 3.8
4141

.github/workflows/build-windows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515

1616
steps:
1717
# Checkout repo
18-
- uses: actions/checkout@v1
18+
- uses: actions/checkout@v3
1919

2020
# Set up python
2121
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v1
22+
uses: actions/setup-python@v4
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525

@@ -39,11 +39,11 @@ jobs:
3939
strategy:
4040
matrix:
4141
# python-version: [3.7]
42-
python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10']
42+
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
4343

4444
steps:
4545
# Checkout repo
46-
- uses: actions/checkout@v1
46+
- uses: actions/checkout@v3
4747

4848
# Set up python
4949
- name: Set up Python ${{ matrix.python-version }}

CMake/DataCopyTargets.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ add_dependencies(CopyPBDShaders Ext_PBD)
2424
set_target_properties(CopyPBDShaders PROPERTIES FOLDER "Data copy")
2525

2626
add_custom_target(CopyImguiFonts
27-
${CMAKE_COMMAND} -E copy
28-
${PROJECT_SOURCE_DIR}/extern/imgui/misc/fonts/Roboto-Medium.ttf
29-
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/resources/fonts/Roboto-Medium.ttf
27+
${CMAKE_COMMAND} -E copy_directory
28+
${PROJECT_SOURCE_DIR}/extern/imgui/misc/fonts
29+
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/resources/fonts
3030
COMMENT "Copying fonts"
3131
)
32-
set_target_properties(CopyImguiFonts PROPERTIES FOLDER "Data copy")
32+
set_target_properties(CopyImguiFonts PROPERTIES FOLDER "Data copy")

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 "89ae733fb8b8b9df25d0e44a0e49e51136901e8c"
36+
GIT_TAG "42d52ad551fafba600ee99e59fb0f9c7b557e2ed"
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 "77298f1eac1246d5302fcdc026db8c6addf50e86"
50+
GIT_TAG "06e18ba4c1fab9401a494f5479e026641467f22e"
5151
INSTALL_DIR ${ExternalInstallDir}/PositionBasedDynamics
5252
DEPENDS Ext_GenericParameters Ext_Discregrid
5353
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${EXT_CMAKE_BUILD_TYPE}

CMakeLists.txt

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ endif()
2121

2222
set(TOPLEVEL_INCLUDE_DIR ${PROJECT_SOURCE_DIR})
2323

24-
option(USE_IMGUI "Use imgui instead of AntTweakBar" ON)
25-
2624
################################################################################
2725
# foreign external libraries
2826
################################################################################
@@ -32,11 +30,8 @@ add_subdirectory(extern/md5)
3230
add_subdirectory(extern/tinyexpr)
3331
if (NOT SPH_LIBS_ONLY)
3432
add_subdirectory(extern/glfw)
35-
if (USE_IMGUI)
36-
add_subdirectory(extern/imgui)
37-
else()
38-
add_subdirectory(extern/AntTweakBar)
39-
endif()
33+
add_subdirectory(extern/imgui)
34+
add_subdirectory(extern/nfd)
4035
if (USE_PYTHON_BINDINGS)
4136
add_subdirectory(extern/pybind)
4237
endif ()

Changelog.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
2.12.1
2+
- all scene file parameters are now GenericParameters
3+
- updated Python examples
4+
- added ParameterParser tool which can generate a scene file json schema or an example scene file with all parameters
5+
- added json schema for scene files
6+
- fixed OBJ meshes
7+
- updated glfw
8+
- updated pybind11
9+
10+
2.12.0
11+
- added PLY exporter
12+
- improved the DFSPH implementation significantly
13+
- added documentation for DFSPH
14+
- improved GUI
15+
- updated imgui
16+
- removed AntTweakBar
17+
- bugfixes
18+
- implemented an avx version of XSPH
19+
20+
2.11.6
21+
- updated Catch2
22+
- fixes for new gcc version
23+
24+
2.11.5
25+
- updated cxxopts
26+
127
2.11.4
228
- updated Readme
329
- removed numpy restriction

0 commit comments

Comments
 (0)