Commit Graph
29 Commits
Author SHA1 Message Date
Alec Jacobson f3f7879364 Split up larger tutorials (#2237) [ci skip]
* split up 406; cmake

* split up 716

* rm old file

* 716 changes to main

* 709 split up

* missing include

* special syntax for windows ❄️

* stupid windows struct/class

* split up 805

* split up 610)'
2023-08-19 19:19:44 -04:00
Alec Jacobson 4498aa8dfc Bump CGAL → Boolean + remesh_*intersections performance boost (#1895)
* bump cgal; parallel remesh; templates; outer*

* more parallel; fewer copies; uE2E→uEC,uEE

* rm spurious warnings leftover from debuggin'

* fix __1; add back many templates

* missing templates

* use CGAL::Epeck::FT in templates directly

* inline to fix header only

* cgal bump requires bumping cmake and boost

* template hell on windows

* fix windows templates to compile on mac os

* fix templates to work on linux

* more template hell; simplify some, use pttr_t, split legacy

* rename legacy fix includes

* fix orientation bug

* missing templates

* abstract templates

* assign overload + templates

* missing templates + missing overload

* merge with main

* special template for windows ❄️
2022-03-31 22:16:05 -04:00
Alec Jacobson 9de1784fcf Clean up mesh_boolean templating (#1990)
* better types in ismember; tempaltes

* split ismember -> ismember_rows

* reduce and clean up templates
2022-02-28 10:47:34 -05:00
b0fd49d598 CMake refactor (#1805)
* Start CMake refactoring.

* WIP on instlal().

* Handle install + hunter setup.

* Handle module options + igl_include helper.

* Build all tutorials again.

* Update CMake for unit tests.

* Update triangle lib.

* Update Hunter integration.

* Fix for header-only mode.

* Fix Windows compilation + add GMP/MPFR find_package + set VS folders.

* Fix CGAL build.

* Add copy dll for Windows + improve find gmp/mpfr.

* Update Github Actions.

* Update README.

* Fixes for CMake 3.18

* Fix include option.

* Rename libigl_imgui_front to avoid conflicts.

* Fix when disabling unit tests.

* Build imguizmo with C++11.

* Update CMake option comments.

* Rename nonfree -> restricted.

* Update triangle and tetgen versions.

* Fix compilation issue.

* Update continuous.yml

* remove cork

* finding matlab with default

* mosek module compiles; default detected; osx dylib hack

* Reduce build parallelism.

* Fix find GMP/MPFR on Windows + cleanup CGAL changes.

* Update readme.

Co-authored-by: Alec Jacobson <alecjacobson@adobe.com>
Co-authored-by: Alec Jacobson <alecjacobson@gmail.com>
2022-02-09 18:58:40 -08:00
Alec Jacobson 4a22178717 rm _bin from names and use bin dir instead 2020-08-22 16:15:12 -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 901f15dc25 Fix DLL copy for CGAL + add build instruction for Windows.
Former-commit-id: 73aafb4255
2018-02-16 21:45:46 -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
Alec Jacobson dab8fad5dd separate boolean code to cgal and cork, fix cmake for lib and tutorial
Former-commit-id: b44cb68b3d
2016-03-17 18:23:42 -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
Alec Jacobson 3650e7bcd6 bad cmake
Former-commit-id: 3c7314371f
2015-12-30 15:34:05 -06:00
Alec Jacobson e09ef13d30 windows long int != MatrixXi::Index
Former-commit-id: f204a71a85
2015-12-28 09:59:08 -06:00
Alec Jacobson c9ac5cbe2a usage
Former-commit-id: 031f2338e0
2015-12-04 16:23:08 -05:00
Alec Jacobson 731792aeda mv cgal and boolean to copyleft
Former-commit-id: e69b4bb07f
2015-11-12 14:30:42 -05: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
Alec Jacobson 3702f3d4ef un-template CSGTree, fix tutorial paths
Former-commit-id: ee4ca9cc47
2015-09-22 17:31:41 -04:00
Alec Jacobson 5989ffa2ef csg tree names
Former-commit-id: d51c6c1278
2015-09-22 10:28:45 -04:00
Alec Jacobson 13212cb389 csg tree tutorial entry
Former-commit-id: 6dc9985456
2015-09-22 10:16:58 -04:00