You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 days ago | |
---|---|---|
Renderer | 3 days ago | |
src | 3 days ago | |
.gitignore | 3 days ago | |
CMakeLists.txt | 3 days ago | |
ProjectDependencies.txt | 3 days ago | |
README.bak.md | 3 days ago | |
README.md | 2 days ago | |
bunny.obj | 3 days ago | |
end_to_end.cpp | 3 days ago | |
error_map_on_anisotropic_mesh.png | 3 days ago |
README.md
GeodesicGraph: DGG and SVG & VTK visualization
本项目为https://github.com/GeodesicGraph/DGG_and_SVG + 基于VTK的可视化
- 添加了CMakeLists,同时对部分源码进行了微调,使其能够在VS以外的环境和更高的C++版本下编译
- 新增了Target EndToEnd,用于将Precompute + Solve + Render三个步骤合而为一
用法:
- 本地使用CMake --install安装VTK
- DGG_and_SVG的项目路径下添加Config.cmake,设置VTK_PATH变量为VTK的安装路径。该路径下理论上仅有lib、include、bin、share四个文件夹。如
SET(VTK_PATH E:\\CLib\\VTK\\VTK-9.4.0\\install)
- 使用CMake配置和构建项目
cmake -S ${项目路径} -B ${生成路径}
cmake --build ${生成路径} --config Release
- 运行可执行文件。其中DGG_Precompute和DGG_Solution需要参数,用法见 https://github.com/GeodesicGraph/DGG_and_SVG 的说明;EndToEnd不需要参数(参数写死在了源文件中)