Commit Graph

6062 Commits

Author SHA1 Message Date
nico c9194ae005 added bool SmoothSelected in VertexCoordScaleDependentLaplacian_Fujiwara 2017-07-05 23:52:38 +02:00
Paolo Cignoni a9e78a1cf5 Corrected small error in the 3ds io wrapper 2017-06-29 11:44:15 +02:00
nico 1990de4809 rewritten InitQualityVertVoronoiArea function 2017-06-21 15:14:03 +02:00
Paolo Cignoni 8b49a7803a Added management of selection in laplacian smoothing for remeshing 2017-06-16 11:51:26 +02:00
Paolo Cignoni 59270c3023 Corrected orthographic error in function name. IsFeaseable -> IsFeasible 2017-06-16 11:33:35 +02:00
Paolo Cignoni ed54491d10 Corrected the error in selection.h that broke the build.... 2017-06-16 11:29:38 +02:00
Paolo Cignoni f8c6030b2a Added the possibility of restoring a selection with an Or or an And wrt to the current selection (quite useful to preserve something and combine multiple selections) 2017-06-16 01:37:37 +02:00
Paolo Cignoni 25a1801c98 Improved Texture example 2017-06-13 15:46:19 +02:00
Paolo Cignoni e50ab31091 Moved glew.h inclusion under guards to avoid qt conflicts 2017-06-13 11:30:19 +02:00
Luigi Malomo 5f27854447 fixed crash when importing a polygonal ply onto a polygonal mesh 2017-05-30 19:18:57 +02:00
Federico Ponchio 98ff7bc396 Improved help reporting in getopt. 2017-05-29 13:51:50 +02:00
nico 0ea869a843 changed the handling of valence 2 vertices 2017-05-22 19:28:07 +02:00
Luigi Malomo f9d20fad7d warnings fixed 2017-05-18 18:27:37 +02:00
Paolo Cignoni a745b77c04 Added default initialization of materials in io importer 2017-05-12 18:21:55 +02:00
Paolo Cignoni 66fde513b1 Merge pull request #22 from johnmaf/bugfix/ambient-map
Don't assign MTL ambient map value to diffuse map
2017-05-12 17:08:04 +02:00
Paolo Cignoni 4bb8528f68 Renamed parameters for better understanding
Always disambiguate radians and degree!
2017-05-12 16:23:12 +02:00
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