Commit Graph
16 Commits
Author SHA1 Message Date
Jérémie Dumas 00961ce5f3 Made ImGuiMenu plugin more flexible for customization.
Now viewer menu can be overriden with lambda function (for simple
override), or virtual methods (for more complex situations).


Former-commit-id: 37d585ef87
2018-02-11 11:20:58 -05:00
Jérémie Dumas c49b9a8001 Add InputText that supports std::string.
Former-commit-id: 97297ca737
2018-02-10 20:36:09 -05:00
Jérémie Dumas 48f9aea3a9 Render a couple of extra frames before idling, to accomodate ImGui's immediate mode rendering.
Former-commit-id: fa8d913b4b
2018-02-10 20:20:10 -05:00
Jérémie Dumas 8155326141 Update ViewerMenu tutorial with ImGui.
Former-commit-id: 519297bd28
2018-02-10 18:30:21 -05:00
Daniele Panozzo 9080378e27 - viewerdata and meshgl are merged
- meshgl objects are automatically initialized (but manually freed)
- moved the data->meshgl conversion inside viewerdata to keep meshgl generic


Former-commit-id: dc226a5810
2018-02-04 17:48:07 -05:00
Daniele Panozzo 7af7f2cd2e selected_data -> data to make the transition of old code easier. Old code can be simply converted by adding () after data
Former-commit-id: 02c8268a61
2018-02-03 20:30:17 -05:00
Alec Jacobson 3b3d439db5 merge
Former-commit-id: 9bc8064132
2017-10-13 10:22:58 -04:00
Alec Jacobson 0b5ba6ee21 rm shader, tutorial uses new viewer refactor
Former-commit-id: fdd42ecfb2
2017-04-16 17:08:54 -04:00
Daniele Panozzo 6f3f5bdabe Merge branch 'master' of https://github.com/schuellc/libigl
# Conflicts:
#	include/igl/triangle_triangle_adjacency.h


Former-commit-id: 05ce3a7200
2015-12-30 18:55:33 +01:00
Alec Jacobson 66a9d2aa63 nanogui hacked as an optional plugin via IGL_VIEWER_WITH_NANOGUI
Former-commit-id: c3bd95e93f
2015-12-16 09:55:48 -05:00
schuellc c923c4218a Fix nanogui menu tutorial
Former-commit-id: 2ab9b5bab7
2015-12-02 17:38:40 +01:00
Daniel Crispell 6eae3ca6b0 replaced static tutorial_shared_path string with #define
Former-commit-id: bd37fbf7c1
2015-10-17 23:55:35 -04:00
Daniel Crispell c861c711a0 Enable out of source tutorial build
Use CMake's "configure_file" functionality to store path to the tutorial
shared directory, enabling tutorial executables build out of source to
correctly find the data files.


Former-commit-id: a0eed05e8b
2015-10-09 22:52:39 -04:00
Daniele Panozzo d75a8a2ca6 major update of nanogui
Former-commit-id: e6680969af
2015-10-05 14:11:31 +02:00
Daniele Panozzo f57dd67e59 fixed static build for the tutorials
Former-commit-id: 93c3450eb5
2015-07-29 14:07:56 +02:00
Daniele Panozzo 9644058bce added source code for tutorial 106
Former-commit-id: 7a8459746e
2015-07-28 18:15:42 +02:00