Commit Graph

6197 Commits

Author SHA1 Message Date
Paolo Cignoni 4c4035cf47 Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2018-04-06 10:36:07 +02:00
Paolo Cignoni 95a2c62104 Refactored a bit the obj importer to remove bug caused by meshes with and without textures 2018-04-06 10:33:53 +02:00
nico 6a31fa64ba Refactored ReprojectBorder and added MergeAlongEdges Function 2018-04-06 14:03:39 +10:00
T.Alderighi 58a9b0eefe Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2018-04-05 18:46:15 +02:00
Luigi Malomo 6011f049fc voronoi remesher tweaked 2018-04-05 18:43:43 +02:00
Luigi Malomo 54d19e3059 added function to compute mesh boundary length 2018-04-05 18:43:05 +02:00
Paolo Cignoni 524f8e8a61 Corrected bug in texture saving (vt vs wt clash)
It does not worked when trying to save per vert tex in a mesh with also per-wedge.
2018-04-05 11:36:19 +02:00
Marco Callieri ce1f23a37b added check in MCSimplify
if the mesh does not have straight edges, it cannot be simplified "guessing" the error because it is not a MC-generated mesh.
Before, when it fould no straigth edges, it was crashing :)
2018-04-03 13:06:26 +02:00
Marco Callieri 7fdb93f773 warning cleanup 2018-03-26 11:44:24 +02:00
Marco Callieri 0a9af88d5f updated default pointsize 2018-03-26 11:44:05 +02:00
Marco Callieri 9d14fea462 strdup works on linux, _strdup on windows 2018-03-21 12:07:40 +01:00
Marco Callieri ba91309937 warning cleanup 2018-03-21 12:01:01 +01:00
Marco Callieri 7939a54f1c warning cleanup 2018-03-21 10:45:12 +01:00
Marco Callieri 302e75772b formatting 2018-03-15 17:18:54 +01:00
Luigi Malomo 16a5d7b999 corrected importer to handle import of polygonal ply into meshes with polyinfo 2018-03-07 20:12:42 +01:00
Paolo Cignoni 912e78c4cf cleaned up a few typenames 2018-02-25 18:37:11 +01:00
Paolo Cignoni a9bc96b798 corrected missing typename 2018-02-23 16:41:07 +01:00
Gianpaolo Palma f900d8f0d4 Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2018-02-23 16:15:27 +01:00
Gianpaolo Palma 6a7e2fadbc Changing std::vector with std::unordered_set 2018-02-23 16:15:03 +01:00
Gianpaolo Palma c63bb93163 Added normal computation for the visibility mesh 2018-02-23 16:11:58 +01:00
Gianpaolo Palma dbd47ab70b Fixing compilation error 2018-02-23 16:09:19 +01:00
Paolo Cignoni 060cfc3ecb Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2018-02-22 19:26:36 +01:00
Paolo Cignoni a6e8112b6a Improved robustness when handling malformed stl files 2018-02-22 19:26:33 +01:00
Gianpaolo Palma 926020d508 Speed-up improvments
- Use of the kdTree instead of the staticGrid
- Use of OpenMP in the computation of the slice values
2018-02-22 11:32:17 +01:00
Gianpaolo Palma 2a33dcf967 Code refactory
Added common interface with the other indexing structure
2018-02-22 11:25:04 +01:00
Paolo Cignoni 70d9050ffc trying to get rid ofa strange template error on linux. 2018-02-21 08:04:28 +01:00
Paolo Cignoni aecb23868f harmless warning 2018-02-20 23:26:04 +01:00
Paolo Cignoni 735391f996 Correct number of merged vertices 2018-02-20 21:24:28 +01:00
Paolo Cignoni 19296e27b9 added return value to the WedgeTexMergeClose
to comply the style...
2018-02-20 16:37:39 +01:00
Paolo Cignoni bbed4de2f6 harmless warning 2018-02-20 15:33:04 +01:00
Paolo Cignoni 7b0464603d Added texture clean sample 2018-02-20 14:04:01 +01:00
Paolo Cignoni d6e5aa2116 Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2018-02-20 10:24:34 +01:00
Paolo Cignoni 7c984e12da Added WedgeTexMergeClose that Merge supposedly wrong texcoords 2018-02-20 10:24:29 +01:00
Paolo Cignoni 23cb998b04 typo 2018-02-20 10:24:00 +01:00
Marco Callieri ec9434d2a1 small fix
For MeshLab, but may be also needed in other cases. We need to store a COPY of the property name, in case the char* that was passed to the function is not persistent. May result ina small leak :(
2018-02-16 18:03:53 +01:00
Marco Callieri d9720914a3 Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2018-02-16 11:30:25 +01:00
Marco Callieri 25374bd85a warning removal 2018-02-16 11:30:18 +01:00
Paolo Cignoni bf7cf6d5a0 Added saving of per vertex point3 attribute.
warning: it leaks memory...
2018-02-16 07:29:42 +01:00
Paolo Cignoni 8d00be785e typo in metro savemask 2018-02-14 00:23:47 +01:00
Paolo Cignoni db7394d19b Added sample to show how to save in PLY a given PerVertex or PerFace attribute 2018-02-13 19:44:49 +01:00
Paolo Cignoni 4768a26558 removed useless reference of plyinfo 2018-02-13 19:42:02 +01:00
Paolo Cignoni e75b4c15f8 removed useless referencing of plyinfo 2018-02-13 19:40:56 +01:00
Paolo Cignoni fe69d16df4 Added support of attributes in saving of ply
with an easy to use AddPerVertexFloatAttribute helper
2018-02-13 19:39:59 +01:00
Paolo Cignoni 2341123df5 removed useless file from pro 2018-02-13 19:38:39 +01:00
Paolo Cignoni 91c74665fb Added to the ClearPerVertexAttribute the possibility of init with a value 2018-02-13 19:37:37 +01:00
Paolo Cignoni d49cf2a97c harmless clang warning 2018-02-13 19:37:05 +01:00
Marco Callieri 2fdad915cc mtllib fix
some tools do not add the mtllib line in the header, and simply call the mtl file like the main object file. Added a fall-back code to cover these cases
2018-02-01 17:45:01 +01:00
Marco Callieri e5cdab35e4 Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2018-02-01 16:27:14 +01:00
Marco Callieri 7ab64d844e corrected issues in OBJ importer
- tabs now work as separators in vertices
- per-vertex color presence determination now works correctly
2018-02-01 16:27:05 +01:00
T.Alderighi 1909153c3c Merge branch 'devel' of https://github.com/cnr-isti-vclab/vcglib into devel 2018-01-20 18:29:39 +01:00