https://github.com/nmwsharp/libigl-polyscope-project-template
An example project and build system using libIGL and Polyscope
https://github.com/nmwsharp/libigl-polyscope-project-template
Last synced: 4 months ago
JSON representation
An example project and build system using libIGL and Polyscope
- Host: GitHub
- URL: https://github.com/nmwsharp/libigl-polyscope-project-template
- Owner: nmwsharp
- License: mit
- Created: 2019-07-18T00:28:25.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-13T16:09:03.000Z (about 6 years ago)
- Last Synced: 2025-07-26T12:44:32.773Z (11 months ago)
- Language: CMake
- Size: 176 KB
- Stars: 10
- Watchers: 1
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libIGL & Polyscope Example Project
Demonstrates basic functionality and project setup for using Polyscope with libIGL.
IGL code mimicks examples from the IGL tutorials.
## To download and build
```
git clone --recurse-submodules https://github.com/nmwsharp/libigl-polyscope-project-template.git
cd libigl-polyscope-project-template
mkdir build
cd build
cmake ..
make -j4
./bin/libIGL-polyscope-example ../bunnyhead.obj
./bin/libIGL-polyscope-example ../spot.obj
```
## Usage
After running the demo appliation as above, try clicking around the command UI in the upper right corner.
Notice that as quantities are added to Polyscope, they appear in the selection window on the left.
Try clicking a vertex to see the quantities associated with that vertex. Clicking may be easier if you first show edge by dragging the "edge width" slider in the left panel.
Check out `src/main.cpp` to see how easy it is! There are only 12 lines of Polyscope code in the whole demo to generate this visualization.