Commit Graph
29 Commits
Author SHA1 Message Date
Jérémie Dumas 5065640657 Turn mesh visualization option into viewport bitmasks. 2019-02-19 08:53:14 -05:00
Jérémie Dumas 209b81e56c Update ImGui bindings.
Warnings: potentially breaking changes on the ImGui, may require user to
adapt their UI code.

Former-commit-id: ce723d8c00
2018-08-03 20:56:10 -04:00
Zhongshi Jiang f5bf4fc9dc Change all CMakeLists.txt so don't need to specify project name
Former-commit-id: 6d775fbc1f
2018-03-14 22:29:45 -04:00
Jérémie Dumas 039ca104c2 Update ImGui menu + update tutorial.
Former-commit-id: b52e8fe180
2018-03-10 10:16:27 -05:00
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
Jérémie Dumas 563124d587 Compile chapters up to 5.
Former-commit-id: c703711941
2017-08-16 12:47:16 -04:00
Jérémie Dumas d07b7ef470 Working on a modernized CMake build.
Former-commit-id: 6240d09272
2017-08-15 21:22:56 -04:00
Alec Jacobson 0b5ba6ee21 rm shader, tutorial uses new viewer refactor
Former-commit-id: fdd42ecfb2
2017-04-16 17:08:54 -04:00
Alec Jacobson 863073619a libiglfoo.a --> libigl_foo.a, acknowledge that viewer needs opengl and glfw in cmake
Former-commit-id: dfd107368b
2017-01-10 02:08:47 -05:00
Alec Jacobson c5da8fdb17 refactored tutorial CMakeLists with strict dependencies
Former-commit-id: 9ae60fa5f0
2016-06-13 18:44:24 -04:00
Romain Prévost 999332505b embree static fixed
Former-commit-id: 33c92219e9
2016-03-08 17:49:02 +01:00
Romain Prévost 5548464b67 updated cmake version
Former-commit-id: 2cd2d17780
2016-03-06 23:23:32 +01:00
Romain Prévost 2018a7c7f7 replacing include_directories() with target_ for the tutorials
Former-commit-id: 9bc21f8806
2016-03-06 11:54:56 +01:00
Daniele Panozzo c04e0ef1c3 Merge commit 'af6f17aa78d022b7c3ecd12e6dd30da3ba03bf1b [formerly 26bfb6db5b]'
# Conflicts:
#	README.md
#	include/igl/adjacency_matrix.cpp
#	include/igl/ambient_occlusion.cpp
#	include/igl/angle_bound_frame_fields.cpp
#	include/igl/colon.cpp
#	include/igl/comb_cross_field.cpp
#	include/igl/comb_line_field.cpp
#	include/igl/copyleft/boolean/mesh_boolean.cpp
#	include/igl/copyleft/boolean/mesh_boolean.h
#	include/igl/copyleft/cgal/RemeshSelfIntersectionsParam.h
#	include/igl/copyleft/cgal/SelfIntersectMesh.h
#	include/igl/copyleft/cgal/closest_facet.cpp
#	include/igl/copyleft/cgal/closest_facet.h
#	include/igl/copyleft/cgal/extract_cells.cpp
#	include/igl/copyleft/cgal/order_facets_around_edge.cpp
#	include/igl/copyleft/cgal/order_facets_around_edge.h
#	include/igl/copyleft/cgal/outer_hull.cpp
#	include/igl/copyleft/cgal/outer_hull.h
#	include/igl/copyleft/cgal/piecewise_constant_winding_number.cpp
#	include/igl/copyleft/cgal/propagate_winding_numbers.cpp
#	include/igl/copyleft/cgal/propagate_winding_numbers.h
#	include/igl/copyleft/cgal/remesh_intersections.cpp
#	include/igl/copyleft/cgal/remesh_intersections.h
#	include/igl/copyleft/marching_cubes.cpp
#	include/igl/copyleft/marching_cubes.h
#	include/igl/copyleft/quadprog.cpp
#	include/igl/copyleft/tetgen/cdt.cpp
#	include/igl/cross_field_missmatch.cpp
#	include/igl/cut_mesh.cpp
#	include/igl/cut_mesh_from_singularities.cpp
#	include/igl/embree/unproject_onto_mesh.cpp
#	include/igl/extract_manifold_patches.h
#	include/igl/find_cross_field_singularities.cpp
#	include/igl/line_field_missmatch.cpp
#	include/igl/list_to_matrix.cpp
#	include/igl/n_polyvector.cpp
#	include/igl/n_polyvector_general.cpp
#	include/igl/piecewise_constant_winding_number.cpp
#	include/igl/polyvector_field_matchings.cpp
#	include/igl/project_to_line.cpp
#	include/igl/ray_mesh_intersect.cpp
#	include/igl/ray_mesh_intersect.h
#	include/igl/sort.cpp
#	include/igl/unproject_in_mesh.cpp
#	include/igl/unproject_in_mesh.h
#	tutorial/609_Boolean/CMakeLists.txt
#	tutorial/610_CSGTree/CMakeLists.txt
#	tutorial/CMakeLists.shared
#	tutorial/CMakeLists.txt


Former-commit-id: 7fbfe317f9
2016-03-02 17:46:15 -05: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
Romain Prévost 2ef67dab06 new cmake files
Former-commit-id: 0f9cae95af
2015-10-21 23:31:40 +02: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