Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
261 additions
and
213 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 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,42 @@ | ||
# Version 2.0.1 Released {#version-2-0-1-released-2022-08-26} | ||
|
||
_Aug 26, 2022_ | ||
|
||
We just released version 2.0.1 of the Polygon Mesh Processing Library! This is a minor bug fix release fixing the following issues: | ||
|
||
- Fix shared library version | ||
- Fix compilation with `PMP_SCALAR_TYPE=64` | ||
- Use correct C++ standard (C++14) in public target compile options | ||
- Fix crash in smoothing demo app | ||
|
||
See the [changelog](https://github.com/pmp-library/pmp-library/blob/master/CHANGELOG.md) for a full summary of changes. | ||
|
||
## Obtaining the pmp-library | ||
|
||
Get your own copy by cloning: | ||
|
||
```sh | ||
git clone --recursive https://github.com/pmp-library/pmp-library.git | ||
``` | ||
|
||
Checkout the 2.0.1 release tag: | ||
|
||
```sh | ||
cd pmp-library && git checkout 2.0.1 | ||
``` | ||
|
||
Configure and build: | ||
|
||
```sh | ||
mkdir build && cd build && cmake .. && make | ||
``` | ||
|
||
Run the mesh processing app | ||
|
||
```sh | ||
./mpview ../external/pmp-data/off/bunny.off | ||
``` | ||
|
||
## Reporting Bugs or Problems | ||
|
||
If you encounter any glitches or problems please [report the issue](https://github.com/pmp-library/pmp-library/issues) on GitHub. |
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 |
---|---|---|
@@ -1,24 +1,147 @@ | ||
if(WITH_EXAMPLES) | ||
add_executable(basics basics.cpp) | ||
target_link_libraries(basics pmp) | ||
|
||
add_executable(SurfaceMeshBasics SurfaceMeshBasics.cpp) | ||
target_link_libraries(SurfaceMeshBasics pmp) | ||
add_executable(io io.cpp) | ||
target_link_libraries(io pmp) | ||
|
||
add_executable(SurfaceMeshIO SurfaceMeshIO.cpp) | ||
target_link_libraries(SurfaceMeshIO pmp) | ||
add_executable(iterators iterators.cpp) | ||
target_link_libraries(iterators pmp) | ||
|
||
add_executable(SurfaceMeshIterators SurfaceMeshIterators.cpp) | ||
target_link_libraries(SurfaceMeshIterators pmp) | ||
add_executable(barycenter barycenter.cpp) | ||
target_link_libraries(barycenter pmp) | ||
|
||
add_executable(SurfaceMeshBarycenter SurfaceMeshBarycenter.cpp) | ||
target_link_libraries(SurfaceMeshBarycenter pmp) | ||
add_custom_target( | ||
examples | ||
COMMAND | ||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" | ||
COMMENT "") | ||
|
||
add_custom_target( | ||
examples | ||
COMMAND | ||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" | ||
COMMENT "") | ||
add_dependencies(examples basics io iterators barycenter) | ||
|
||
add_dependencies(examples SurfaceMeshBasics SurfaceMeshIO | ||
SurfaceMeshIterators SurfaceMeshBarycenter) | ||
# example apps | ||
if(EMSCRIPTEN AND PMP_BUILD_VIS) | ||
|
||
endif(WITH_EXAMPLES) | ||
add_executable(mview mview.cpp data/shell.html) | ||
target_link_libraries(mview pmp_vis) | ||
set_target_properties( | ||
mview PROPERTIES LINK_FLAGS | ||
"--shell-file ${CMAKE_CURRENT_SOURCE_DIR}/data/shell.html") | ||
|
||
add_executable(curvature curvature.cpp data/shell.html) | ||
target_link_libraries(curvature pmp_vis) | ||
set_target_properties( | ||
curvature | ||
PROPERTIES | ||
LINK_FLAGS | ||
"--shell-file ${CMAKE_CURRENT_SOURCE_DIR}/data/shell.html --preload-file ${PROJECT_SOURCE_DIR}/external/pmp-data/off/bunny.off@input.off" | ||
) | ||
|
||
add_executable(smoothing smoothing.cpp data/shell.html) | ||
target_link_libraries(smoothing pmp_vis) | ||
set_target_properties( | ||
smoothing | ||
PROPERTIES | ||
LINK_FLAGS | ||
"--shell-file ${CMAKE_CURRENT_SOURCE_DIR}/data/shell.html --preload-file ${PROJECT_SOURCE_DIR}/external/pmp-data/off/fandisk.off@input.off" | ||
) | ||
|
||
add_executable(fairing fairing.cpp data/shell.html) | ||
target_link_libraries(fairing pmp_vis) | ||
set_target_properties( | ||
fairing | ||
PROPERTIES | ||
LINK_FLAGS | ||
"--shell-file ${CMAKE_CURRENT_SOURCE_DIR}/data/shell.html --preload-file ${PROJECT_SOURCE_DIR}/external/pmp-data/off/hemisphere.off@input.off" | ||
) | ||
|
||
add_executable(mpview mpview.cpp MeshProcessingViewer.cpp | ||
MeshProcessingViewer.h data/shell.html) | ||
target_link_libraries(mpview pmp_vis) | ||
set_target_properties( | ||
mpview | ||
PROPERTIES | ||
LINK_FLAGS | ||
"--shell-file ${CMAKE_CURRENT_SOURCE_DIR}/data/shell.html --preload-file ${PROJECT_SOURCE_DIR}/external/pmp-data/off/bunny.off@input.off" | ||
) | ||
|
||
add_executable(subdivision subdivision.cpp data/shell.html) | ||
target_link_libraries(subdivision pmp_vis) | ||
set_target_properties( | ||
subdivision | ||
PROPERTIES | ||
LINK_FLAGS | ||
"--shell-file ${CMAKE_CURRENT_SOURCE_DIR}/data/shell.html --preload-file ${PROJECT_SOURCE_DIR}/external/pmp-data/obj/suzanne.obj@input.obj" | ||
) | ||
|
||
add_executable(remeshing remeshing.cpp data/shell.html) | ||
target_link_libraries(remeshing pmp_vis) | ||
set_target_properties( | ||
remeshing | ||
PROPERTIES | ||
LINK_FLAGS | ||
"--shell-file ${CMAKE_CURRENT_SOURCE_DIR}/data/shell.html --preload-file ${PROJECT_SOURCE_DIR}/external/pmp-data/off/bunny.off@input.off" | ||
) | ||
|
||
add_executable(decimation decimation.cpp data/shell.html) | ||
target_link_libraries(decimation pmp_vis) | ||
set_target_properties( | ||
decimation | ||
PROPERTIES | ||
LINK_FLAGS | ||
"--shell-file ${CMAKE_CURRENT_SOURCE_DIR}/data/shell.html --preload-file ${PROJECT_SOURCE_DIR}/external/pmp-data/off/fandisk.off@input.off" | ||
) | ||
|
||
add_executable(parameterization parameterization.cpp data/shell.html) | ||
target_link_libraries(parameterization pmp_vis) | ||
set_target_properties( | ||
parameterization | ||
PROPERTIES | ||
LINK_FLAGS | ||
"--shell-file ${CMAKE_CURRENT_SOURCE_DIR}/data/shell.html --preload-file ${PROJECT_SOURCE_DIR}/external/pmp-data/off/hemisphere.off@input.off" | ||
) | ||
|
||
else() | ||
|
||
find_package(OpenGL) | ||
|
||
# build mconvert only on unix / OS-X | ||
if(NOT WIN32) | ||
add_executable(mconvert mconvert.cpp) | ||
target_link_libraries(mconvert pmp) | ||
endif() | ||
|
||
if(OpenGL_FOUND AND PMP_BUILD_VIS) | ||
add_executable(mview mview.cpp) | ||
target_link_libraries(mview pmp_vis) | ||
|
||
add_executable(curvature curvature.cpp) | ||
target_link_libraries(curvature pmp_vis) | ||
|
||
add_executable(subdivision subdivision.cpp) | ||
target_link_libraries(subdivision pmp_vis) | ||
|
||
add_executable(smoothing smoothing.cpp) | ||
target_link_libraries(smoothing pmp_vis) | ||
|
||
add_executable(fairing fairing.cpp) | ||
target_link_libraries(fairing pmp_vis) | ||
|
||
add_executable(parameterization parameterization.cpp) | ||
target_link_libraries(parameterization pmp_vis) | ||
|
||
add_executable(decimation decimation.cpp) | ||
target_link_libraries(decimation pmp_vis) | ||
|
||
add_executable(remeshing remeshing.cpp) | ||
target_link_libraries(remeshing pmp_vis) | ||
|
||
add_executable(mpview mpview.cpp MeshProcessingViewer.cpp | ||
MeshProcessingViewer.h) | ||
target_link_libraries(mpview pmp_vis) | ||
|
||
add_executable(deformation_transfer deformation_transfer.cpp) | ||
target_link_libraries(deformation_transfer pmp_vis) | ||
|
||
endif() | ||
|
||
endif() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.