Commit Graph

5982 Commits

Author SHA1 Message Date
Paolo Cignoni cca62803d4 added a missing include (according to vstudio) 2017-08-30 17:09:00 +02:00
Paolo Cignoni e0b7a64b04 Refactored curve on manifold 2017-08-30 16:03:46 +02:00
Paolo Cignoni 42f25c825b factored out old implementation of foreach 2017-08-30 15:58:56 +02:00
Paolo Cignoni 05df003e6f Added TriSplit helper function 2017-08-30 15:58:22 +02:00
Paolo Cignoni b52734115a Added first version of foreach helpers 2017-08-30 15:57:50 +02:00
Luigi Malomo fbd29ab314 additional parameter added to remesher 2017-07-31 15:01:22 +02:00
Paolo Cignoni f0a2e655e3 Added a missing inline to avoid linking errors... 2017-07-28 00:37:44 +02:00
Paolo Cignoni 3d47dc1273 Added a missing init bbox 2017-07-27 15:59:09 +02:00
Paolo Cignoni 8b8d9844b1 Cleaned up a bit the poisson solver 2017-07-27 15:58:41 +02:00
Paolo Cignoni 4b9480e2df header cleanup 2017-07-27 15:55:22 +02:00
Paolo Cignoni ac5c368d2a Commented callback, cleaned and added helper StrFormat 2017-07-27 15:55:12 +02:00
Luigi Malomo 59ccf586c4 static functions zero() an one() added to points 2017-07-27 14:47:49 +02:00
Paolo Cignoni 8fe2f730a1 Added two samples
trimesh_create
trimesh_topological_cut
2017-07-23 11:34:44 +02:00
Paolo Cignoni c2f0aee10d slight change to ExtractPolygon to do not need anything for purely triangular meshes 2017-07-23 09:34:23 +02:00
Paolo Cignoni 005adde169 Cleaned up BuildMeshFromCoordVectorIndexVector 2017-07-23 09:32:51 +02:00
Paolo Cignoni 77c0240737 Stupid useless normalization inserted by error. 2017-07-22 08:03:27 +02:00
Luigi Malomo 75eca5e231 fix for voronoi remesher, again 2017-07-17 20:39:04 +02:00
Luigi Malomo 30dcc87c1a fixed voronoi remesher 2017-07-13 08:38:33 +02:00
Luigi Malomo aaea34f882 reimplemented and fixed edge mesh split 2017-07-12 20:14:33 +02:00
Luigi Malomo 014edf0e05 fixed bug in crease_cut.h + minor changes 2017-07-12 11:59:39 +02:00
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