libigl / libigl-example-project

A blank project example showing how to use libigl and cmake.
Mozilla Public License 2.0
142 stars 121 forks source link

ImGui and AntTweakBar #15

Closed Enigma-li closed 6 years ago

Enigma-li commented 6 years ago

Hi,

When I enabled the ImGui and AntTweakerBar in CMakeList.txt, there is no menu drawn in the viewer, but there is one for NanoGui in the previous versions. Is there one example shown the usage of adding the menu drawn?

Enigma-li commented 6 years ago

I solved it by 1) copy the example menu code in tutorial 106, 2) enable the ImGui on in CMakeList.txt, and 3) add "igl::opengl_glfw_imgui" to target_link_library.

Then I can get the example with menu support.