Commit Graph

5996 Commits

Author SHA1 Message Date
Paolo Cignoni 43f114d237 Heavy refactoring of the OBJ export
The recent material attribute changes had some issue when exporting
mesh newly created.
2017-05-12 16:23:12 +02:00
John Senneker d885a45bbd Formatting 2017-05-12 10:21:22 -04:00
John Senneker 446b0fde06 Don't assign MTL ambient map value to diffuse map.
This fixes a bug in which a map_Ka statement appears after a map_Kd, in
which case the former will be assigned as the diffuse map of the
imported mesh, when it should be the latter.
2017-05-09 11:52:40 -04:00
Luigi Malomo 64a40f10c6 removed unnecessary edge mesh template from remesher 2017-05-09 14:08:35 +02:00
Luigi Malomo f74a877891 removed debug option from voronoi remesher 2017-05-09 12:18:32 +02:00
nico a79feac57b added Triangulate Method 2017-05-07 22:23:01 +02:00
nico 581acc3d2e corrected some bug on CollapseBorderSmallEdgesStep function 2017-05-04 03:13:59 +02:00
nico aada1502e4 added the possibility of preserving corners of the triangle mesh during
the quadrangulation
2017-05-04 03:13:08 +02:00
nico db17401d67 minor changes 2017-05-01 01:55:25 +02:00
nico 573253bafb added InterpolateQualityVertFormFaces and ClosestPoint functions 2017-05-01 01:54:36 +02:00
Marco Callieri ffd8d320e2 corrected bug in appending models with textures
fl.ImportData(*fi)  should happen BEFORE doing the textureOffset
correction
2017-04-21 15:17:00 +02:00
Luigi Malomo 066762521a removed harmless warnings 2017-04-16 16:24:00 +02:00
Paolo Cignoni d7e9209a4f Merge pull request #6 from johnmaf/feature/specular-attributes
Add material attributes in OBJ importer
2017-04-12 10:29:46 +02:00
Paolo Cignoni 951c94fa20 Corrected comment and typo in include 2017-04-12 08:06:58 +02:00
Paolo Cignoni cc447ec73f Added a implicit parameter and corrected a bug in the management of selection in remeshing 2017-04-12 07:44:28 +02:00
Paolo Cignoni db0a01af70 Corrected missing return value in SelectIntersectingFaces 2017-04-12 07:38:19 +02:00
Paolo Cignoni ce5f87188b added sample for mesh mesh intersection with remeshing 2017-04-11 19:41:24 +02:00
Paolo Cignoni 9299552435 added sample for mesh mesh intersection with remeshing 2017-04-11 19:20:36 +02:00
Paolo Cignoni 65c847fede Added option to work only on selected faces to remeshing
added also handy shortcut to avoid creating the projection mesh copy
2017-04-11 19:11:51 +02:00
Paolo Cignoni 717a183097 Added SelectIntersectingFaces function that works for two different meshes (instead of self intersecting) 2017-04-11 19:10:53 +02:00
Paolo Cignoni 37f8ea9643 Added Option to compute average edge length only on selected faces 2017-04-11 19:10:13 +02:00
Luigi Malomo 5c2843b6a9 adapted connected components functions to polygonal meshes 2017-04-05 18:54:53 +02:00
Luigi Malomo 0b7528ee7d removed warnings 2017-04-05 18:54:53 +02:00
Luigi Malomo f2b92b6484 adapted some functions to polygonal meshes 2017-04-05 18:54:53 +02:00
Paolo Cignoni 49251952c1 Totally rewrote the plane intersection sample 2017-04-05 07:48:20 +02:00
Paolo Cignoni 4860a27a15 Added various missing RequireXXX 2017-04-05 07:47:53 +02:00
Paolo Cignoni d4293c7d78 Minimal refactoring of mesh intersection 2017-04-05 07:40:17 +02:00
Paolo Cignoni 95d88a7af9 Corrected small bug in the header of SVG 2017-04-05 07:39:39 +02:00
Paolo Cignoni 78cad847ed renamed trimesh_intersection sample 2017-04-04 23:21:52 +02:00
Paolo Cignoni e7161dfa56 Cleaning type mismatch in update quality (quality has its own type!) 2017-04-03 17:23:25 +02:00
nico cc5ed5f4c3 corrected one compilation issue about cast to scalar type 2017-04-03 12:33:49 +02:00
nico 9a20565687 templated the ClampedLerp function on ScalarType 2017-04-03 11:01:26 +02:00
nico c2cd4dfccb corrected one Bug for the usage of a threshold in VertexSaturate
function
2017-04-03 11:00:35 +02:00
nico 788292d06c templates some functions on ScalarType instead of float 2017-04-03 10:58:41 +02:00
nico bb0e2950e2 solved several Issues to make it works with double 2017-04-03 10:58:09 +02:00
Paolo Cignoni a854c64cb8 Removed trimesh edge because it requires opengl 2017-04-02 19:59:55 +02:00
Paolo Cignoni 1b074db364 added cast for compiling under vs 2017-04-02 19:58:47 +02:00
Paolo Cignoni ee9a06cb80 added visual studio files to gitignore 2017-04-02 19:58:21 +02:00
Paolo Cignoni 012c6f6d50 Small changes required for windows compilation of all the samples 2017-04-02 19:52:16 +02:00
Paolo Cignoni 9df71dd564 appveyor test final : building all the samples 2017-04-02 19:25:01 +02:00
Paolo Cignoni 3f474bbb4e appveyor test 10 2017-04-02 19:14:26 +02:00
Paolo Cignoni f0d725e760 appveyor test 9 2017-04-02 19:12:14 +02:00
Paolo Cignoni 6eb9d00521 appveyor test 8 2017-04-02 19:01:11 +02:00
Paolo Cignoni 8fd90a142f appveyor test 7 2017-04-02 18:58:29 +02:00
Paolo Cignoni 4e2413f0ae appveyor test 6 2017-04-02 18:19:36 +02:00
Paolo Cignoni 7d6f099583 appveyor test 5 2017-04-02 18:10:16 +02:00
Paolo Cignoni 44d97d8341 appveyor test 4 2017-04-02 18:05:38 +02:00
Paolo Cignoni edaeaffd90 appveyor test 3 2017-04-02 18:03:40 +02:00
Paolo Cignoni e2bab5b3e3 appveyor test 2 (added appveyor badge) 2017-04-02 17:57:00 +02:00
Paolo Cignoni 89cf7f17db appveyor test 1 2017-04-02 17:42:05 +02:00