Commit Graph
100 Commits
Author SHA1 Message Date
Alec Jacobson 7db992a7be fix constraint weirdness 2020-06-05 12:37:26 -04:00
Alec Jacobson 5c5eddcd55 exploded view of tetrahedral meshes 2020-05-08 09:08:54 -04:00
Alec Jacobson e14a3bd0a1 Merge pull request #1509 from libigl/is-edge-manifold-refactor
Remove duplicate implementation of is_edge_manifold
2020-05-08 08:52:08 -04:00
Alec Jacobson 72f0b5844b templates 2020-05-08 00:48:46 -04:00
Alec Jacobson 7e70dfbbff add changes back 2020-05-07 22:18:53 -04:00
Alec Jacobson 5b11835be1 Revert "refactor to remove duplicate (slower) implementation"
This reverts commit 829eaa54b6.
2020-05-07 22:07:29 -04:00
Alec Jacobson 829eaa54b6 refactor to remove duplicate (slower) implementation 2020-05-07 21:57:35 -04:00
Alec Jacobson d402d94959 missing namespace 2020-05-05 17:36:51 -04:00
Alec JacobsonandJérémie Dumas 29b75796b2 Matcaps (material captures aka environment maps) in Viewer (#1482)
* matcap from texture, default normal image matcap

* update grid_texture() to generate checkerboard texture, but without UVs

Co-authored-by: Jérémie Dumas <jeremie.dumas@ens-lyon.org>
2020-05-02 13:04:38 -07:00
Alec Jacobson 7ae4fb1fc1 Merge pull request #1487 from libigl/connected_components
Connected components
2020-04-19 15:36:07 -04:00
Alec Jacobson 78a212d4ca int type 2020-04-19 13:46:31 -04:00
Alec Jacobson 215994dc07 missing implementation 2020-04-19 13:31:03 -04:00
Alec Jacobson e88249f68d rm debug assert 2020-04-19 13:30:41 -04:00
Alec Jacobson 1f4a27e73c Merge pull request #1488 from libigl/wire_mesh
per-edge thicknesses, coplanar test and templates
2020-04-19 13:26:52 -04:00
Alec Jacobson f2cc26f284 Merge pull request #1476 from libigl/bezier
Bézier curve evaluation and fit cubic Bézier spline to stream of points
2020-04-19 12:39:02 -04:00
Alec Jacobson 8e35d87991 per-edge thicknesses, coplanar test and templates 2020-04-18 22:15:58 -04:00
Alec Jacobson 4516d19268 template 2020-04-18 21:16:54 -04:00
Alec Jacobson 80e763d372 Merge pull request #1484 from libigl/templates
templates
2020-04-18 20:28:58 -04:00
Alec Jacobson 7798748774 connected components and better facet_components 2020-04-18 20:25:24 -04:00
Alec Jacobson 1aa35de249 passing facet_components unit test 2020-04-18 20:25:24 -04:00
Alec Jacobson 5a6e3125f3 templates 2020-04-17 11:51:44 -04:00
Alec Jacobson 18c5a9ddf0 Merge branch 'master' of https://github.com/libigl/libigl into bezier 2020-04-17 11:45:07 -04:00
Alec Jacobson 8f33348c29 bug fix (set true for all cores) 2020-04-17 11:44:51 -04:00
Alec Jacobson 6f5fadd154 static + capture by reference = bad idea 2020-04-13 22:41:35 -04:00
Alec Jacobson a6ca070009 Merge pull request #1479 from libigl/jdumas/issues
Update issue templates
2020-04-13 10:12:03 -04:00
Alec Jacobson e8b2170dd3 Merge pull request #1480 from libigl/double-sided-lighting
Toggle double sided lighting
2020-04-12 20:23:10 -04:00
Alec Jacobson 9fa54a0398 double sided lighting 2020-04-12 16:01:29 -04:00
Alec Jacobson 4ca4f8b341 support closed loops 2020-04-11 20:21:19 -04:00
Alec Jacobson 4ab389d462 bezier eval and fit cubic bezier splin 2020-04-11 19:54:29 -04:00
Alec Jacobson c16bc37fcb missing include 2020-04-11 19:50:51 -04:00
Alec Jacobson 1ad57f019c Templates (#1475)
* templates, comments and templatefixes

* linux doesn't like __sFile

* more templates
2020-04-11 16:00:41 -07:00
Alec JacobsonandJérémie Dumas faaae91419 Fix bug in signed_distance for 2D (#1400)
* Fix bug in signed_distance for 2D

* another bug fix

* missing templates

* overzealous no-op templating

* another bug... and a test.

* uncomment lines in test; templates

* Update per_edge_normals.cpp

* Update signed_distance.cpp

Co-authored-by: Jérémie Dumas <jdumas@users.noreply.github.com>
2020-04-11 12:14:12 -07:00
Alec Jacobson 10dc1fd9f8 Merge pull request #1422 from vfonov/tinyply_reader_writer
Replace .ply reader/writer with tinyply library
2020-04-11 13:43:54 -04:00
Alec Jacobson 3cb4894eaf Merge pull request #1468 from libigl/dev
Build / Linux (Release, OFF) (push) Waiting to run
Build / Linux (Release, ON) (push) Waiting to run
Build / macOS (Release, OFF) (push) Waiting to run
Build / macOS (Release, ON) (push) Waiting to run
Build / Windows (Release, OFF) (push) Waiting to run
Build / Windows (Release, ON) (push) Waiting to run
Release 2.2
2020-04-08 17:57:08 -04:00
Alec Jacobson 62b3350271 Merge pull request #1389 from jdumas/jdumas/github-actions
Enable GitHub Actions for continuous integration
2020-04-08 17:48:13 -04:00
Alec Jacobson 92b25d30a8 Templates (mostly single-precision float types) (#1396)
* templates

* fix file template

* windows template

* more windows templates
2020-02-16 16:33:13 -05:00
Alec Jacobson 79e7a05b16 Fix bug in https://github.com/libigl/libigl/issues/1204 2020-02-14 11:59:07 -05:00
Alec Jacobson 87b54fc4dc Update voxel_grid.h 2020-01-01 19:53:08 -05:00
Alec Jacobson 05812f73a6 Merge pull request #1371 from libigl/alecjacobson-dev
Phong color mapping for scalar field data, refactor tutorials
2019-12-01 12:14:13 -05:00
Alec Jacobson 1f796d4d27 typo 2019-12-01 01:55:14 -05:00
Alec Jacobson b95646d268 missing isolines_map 2019-12-01 01:52:07 -05:00
Alec Jacobson d46d9c8ef5 use set_data instead of set_color 2019-12-01 01:51:23 -05:00
Alec Jacobson 37b087a275 set data rather than custom shader 2019-11-30 20:27:31 -05:00
Alec Jacobson 0f73830f92 Merge pull request #1364 from libigl/sharp-edges
Sharp edge extraction
2019-11-30 20:15:38 -05:00
Alec Jacobson 10ad76e11e merge 2019-11-30 20:14:19 -05:00
Alec Jacobson 3d05330b68 Merge pull request #1369 from libigl/quad-grid
Quad grid
2019-11-30 20:11:21 -05:00
Alec Jacobson 3a1eb5446a tempaltes 2019-11-30 15:18:23 -05:00
Alec Jacobson 9e25fbbb0f templates 2019-11-30 15:17:55 -05:00
Alec Jacobson 8f17104fdc Merge branch 'quad-grid' of https://github.com/libigl/libigl into alecjacobson-dev 2019-11-30 13:05:32 -05:00
Alec Jacobson b38c6d7341 template wrong 2019-11-30 13:05:09 -05:00
Alec Jacobson e84d628a1e template 2019-11-30 13:04:13 -05:00
Alec Jacobson 1698dfb51a merge 2019-11-30 12:44:22 -05:00
Alec Jacobson d47eeaa5ba delete sharp edges; they're on another pr 2019-11-30 12:03:17 -05:00
Alec Jacobson 105b57dd48 missing include 2019-11-30 11:59:33 -05:00
Alec Jacobson 9207ee1502 Merge branch 'dev' of https://github.com/libigl/libigl into quad-grid 2019-11-30 11:58:23 -05:00
Alec Jacobson 5847741f3e Merge pull request #1366 from libigl/templates
Templates and other minor changes
2019-11-30 11:53:26 -05:00
Alec Jacobson 6c50f857a9 Merge pull request #1365 from libigl/alecjacobson-patch-test_common
Update test_common.h
2019-11-30 11:53:02 -05:00
Alec Jacobson 880cfa9885 Merge branch 'dev' of https://github.com/libigl/libigl into sharp-edges 2019-11-29 19:26:52 -05:00
Alec Jacobson 3637cf3ca9 missed a colon 2019-11-29 19:24:28 -05:00
Alec Jacobson 8b96d8ca96 rm performance pitfall templates 2019-11-29 19:22:01 -05:00
Alec Jacobson 317379941f cr 2019-11-29 19:11:30 -05:00
Alec Jacobson 12f6b60147 Merge pull request #1368 from libigl/cursor-projections
Cursor (un-)projections
2019-11-29 19:05:40 -05:00
Alec Jacobson 46a8dd2fd4 rm load_matrix 2019-11-29 19:03:10 -05:00
Alec Jacobson 6a7428694f rm load_mesh 2019-11-29 18:58:45 -05:00
Alec Jacobson 472ee3e576 no load_obj... 2019-11-29 18:50:02 -05:00
Alec Jacobson fabb4ae4ec grid 2019-11-29 11:03:01 -05:00
Alec Jacobson 9c18186640 doc outputs 2019-11-29 10:24:15 -05:00
Alec Jacobson bcbcabf9d3 remove obsolete templates 2019-11-29 10:22:00 -05:00
Alec Jacobson 9b4ffcc591 Update ViewerCore.cpp 2019-11-29 10:17:50 -05:00
Alec Jacobson b29964ccbc cursor un-project with constraint 2019-11-29 09:43:01 -05:00
Alec Jacobson 00e749bf8c merge 2019-11-29 09:09:39 -05:00
Alec Jacobson 8507b929cd Update test_common.h 2019-11-29 09:08:13 -05:00
Alec Jacobson 2c3c2b86f4 templates and other minor changes 2019-11-29 09:05:44 -05:00
Alec Jacobson abe94567a8 Update grid.h 2019-11-29 08:54:26 -05:00
Alec Jacobson a7e2fdd3ed sharp edges 2019-11-29 08:42:19 -05:00
Alec Jacobson 017be56c49 Merge pull request #1352 from libigl/alecjacobson-patch-1
Update heat_geodesics.cpp
2019-11-29 08:37:01 -05:00
Alec Jacobson f323a8ecb1 Update heat_geodesics.cpp 2019-11-13 08:57:00 -05:00
Alec Jacobson 2ecb5fc85f Merge pull request #1347 from libigl/icp
iterative closest point algorithm, tutoiral, test
2019-11-11 09:26:13 -05:00
Alec Jacobson 6121d86961 Merge branch 'dev' into icp 2019-11-10 17:33:50 -05:00
Alec Jacobson 88e3dd1e3e iterative closest point alg, tutoiral, test 2019-11-10 17:20:59 -05:00
Alec Jacobson 024785513b Merge pull request #1345 from libigl/alecjacobson-patch-2
fix https://github.com/libigl/libigl/issues/1343
2019-11-10 15:13:07 -05:00
Alec Jacobson 4b3a874276 Update random_points_on_mesh.h 2019-11-10 14:35:23 -05:00
Alec Jacobson 4bc8ad5206 fix https://github.com/libigl/libigl/issues/1343
floating point error could lead final value in cumsum to be <1. It should be ==1 so that the random values [0,1] do not exceed range spanned by cumsum.

(I couldn't manage to trigger a bad random value, but I confirmed that the old code had values of 0.99999999999993516 instead of 1.0. So I now believe it _could_ have happened.)

https://github.com/libigl/libigl/issues/1343
2019-11-10 12:21:31 -05:00
Alec Jacobson 7ab7dc7394 Merge pull request #1344 from libigl/alecjacobson-patch-1
Fix underflow issue when computing normalization
2019-11-08 14:30:02 -05:00
Alec Jacobson 9145faf782 Fix underflow issue when computing normalization 2019-11-08 10:33:06 -05:00
Alec Jacobson 1af9b9707f Merge pull request #1274 from skoch9/python
Python Bindings Template Fixes 2.0
2019-11-04 17:21:55 -05:00
Alec Jacobson 1ac07a19a4 Merge pull request #1218 from libigl/fast-winding-number-soups
Fast winding number soups
2019-11-04 17:20:06 -05:00
Alec Jacobson 27aee6490b minor 2019-11-04 09:49:42 -05:00
Alec Jacobson f2d7b0ccb0 significantly (10x) speed up cloud eval 2019-11-04 09:49:28 -05:00
Alec Jacobson a8f978a42b test for fwn 2019-11-04 09:49:11 -05:00
Alec Jacobson 6d48149a10 templates 2019-11-04 09:48:59 -05:00
Alec Jacobson bdcb2c34c1 merge with dev 2019-11-03 11:19:48 -05:00
Alec Jacobson 8ddec02a01 Merge branch 'master' of http://github.com/libigl/libigl into fast-winding-number-soups 2019-11-03 11:17:38 -05:00
Alec Jacobson b856e042e2 Merge pull request #1337 from libigl/alecjacobson-patch-1
Bug fix in marching_tets
2019-11-03 10:46:04 -05:00
Alec Jacobson e470b2ea9e Bug fix in marching_tets
J was not always being filled in and then it was erroneously resized to the wrong length. This most immediately _**broke**_ the WindingNumber tutorial.
2019-11-02 13:42:51 -04:00
Alec Jacobson 9c049ec9be Revert "Set default value for ViewerCore::rotation_type" (#1319)
* Revert "Set default value for ViewerCore::rotation_type"

* More initialization to constructor.

* Update ViewerCore.cpp
2019-10-19 13:22:50 +00:00
Alec Jacobson 47da86a30d Merge pull request #1309 from mtao/master
made list_to_matrix support empty inputs on matrices with static sizes
2019-10-10 12:16:57 -04:00
Alec Jacobson c645aac0c5 Update adjacency_matrix.h 2019-09-19 16:49:52 -04:00
Alec Jacobson f6b4064274 Merge pull request #1206 from libigl/dev
Version 2.1.0
2019-06-10 08:57:39 -04:00
Alec Jacobson c8e57b600a fix pi 2019-06-10 08:48:46 -04:00