1884 Commits

Author SHA1 Message Date
Michele Sottile sottile
afeba4ecf2 updates toward MeshLab 1.3 2010-06-11 15:22:33 +00:00
Paolo Cignoni cignoni
35f7ee78b0 moved directory of filter for cleaning a bit the directory structure 2010-06-11 10:35:41 +00:00
Nico Pietroni nicopietroni
93923d9e4f changed global optimization stop criterion, make it dependent by accuracy 2010-06-01 11:40:44 +00:00
Nico Pietroni nicopietroni
ff0a68f4db added control on sampling rate, must be >1 2010-06-01 11:37:57 +00:00
Nico Pietroni nicopietroni
5c0a9d4dcb minor changes 2010-06-01 11:37:31 +00:00
Paolo Cignoni cignoni
c8dde3d48d small gcc compiling issues (typename, super class disambiguations etc) 2010-06-01 07:38:31 +00:00
Nico Pietroni nicopietroni
8f6e023d37 added first release of transfer Isoparameterization between meshes 2010-05-26 14:10:52 +00:00
Nico Pietroni nicopietroni
4a7d71e7e7 first release version 2010-05-26 09:03:19 +00:00
Nico Pietroni nicopietroni
22c81d3dda some bugs corrected 2010-05-25 14:58:56 +00:00
Nico Pietroni nicopietroni
ea93c49e6d changed calls of InterpolationParameters to find barycentric coordinates in a more robust manner 2010-05-25 14:58:31 +00:00
Paolo Cignoni cignoni
b78c5c0390 updates requested from paolo 2010-05-22 21:12:35 +00:00
Paolo Cignoni cignoni
5f5194c698 updates requested from paolo 2010-05-22 21:12:16 +00:00
Nico Pietroni nicopietroni
b3fa939960 resolved various bugs 2010-05-20 13:59:35 +00:00
Nico Pietroni nicopietroni
2d22b66149 corrected various bugs 2010-05-19 15:40:23 +00:00
Paolo Cignoni cignoni
d567871732 added a compacting before starting the saving 2010-05-18 16:53:17 +00:00
Marco Di Benedetto dibenedetto
d707bc8fc0 2010-05-17 12:07:07 +00:00
Stefano Marras marras
14705274a3 Fixed minor bugs. Revised Border Erosion step. Add support for std::map instead of attributes, add selection of resulting faces in order to perform remeshing 2010-05-13 13:13:28 +00:00
Paolo Cignoni cignoni
a259d96800 edit_vase: added zero edge length assertions
filter_sdf: mysampling=>myrandom and added the "on-steroids" version of the plugin (work in progress)
2010-05-07 04:50:26 +00:00
Paolo Cignoni cignoni
26115c9304 moved the ComputePerFaceQualityHistogram function kindly wrote by andrea to its place in stat.h 2010-05-05 12:30:37 +00:00
Guido Ranzuglia granzuglia
e805a2a4b0 added linux-g++ tag. 2010-05-05 11:44:54 +00:00
Paolo Cignoni cignoni
ac493c8f42 Major: removed any reference to the original code from Lior Shapira.
Moved all implementation directly in the plugin body (filter_sdf.cpp). 

Note: will work only on vertices, for faces is not yet implemented. It would make sense to have the plugin feed on a mesh document made of two elements: 1) a mesh 2) a sample cloud on the mesh In this way you could also use any sampling algorithm that meshlab has.

Next step: generation of medial "cloud" and back-correction
2010-05-05 03:45:39 +00:00
Guido Ranzuglia granzuglia
36c999f0db reversed z direction in order to fulfill with acrobat reader standard. 2010-05-04 13:34:26 +00:00
Guido Ranzuglia granzuglia
c38157948b from ToPolar to ToPolarRad 2010-05-04 10:25:17 +00:00
Paolo Cignoni cignoni
47b59749e8 minor: removed old SDF files 2010-05-03 09:00:55 +00:00
Paolo Cignoni cignoni
a26fd65f98 Major: *single ray* SDF now working, but I replaced the accellerator structure from the original one from Shalom & Shapira with the one provided by VCG.
BUGS: 
-there are still some triangles that return +inf even though they seem to have 
no particular complex local structure. In the horse dataset we have one on the back leg and one on the neck... Is it a bug in the acccellerator?

TODO: 
- replace the function that creates a cone of rays and re-enable it
- find bug above
- smoothing
- value discarder
2010-05-03 08:57:10 +00:00
Guido Ranzuglia granzuglia
904d6fa9fc replaced unix token with pair linux-g++-32, linux-g++-64 in order to avoid conflict with mac os. 2010-05-03 08:10:00 +00:00
Paolo Cignoni cignoni
9f653204a9 Snapshot: first attempt into using the built in VCG spatial accelleration structures since the one from the original SDF code were slow and buggy. SDF is saved as Q(). Now it gets mapped correctly by the Face Quality=>Face Color for which implementation was lacking. 2010-05-03 05:13:51 +00:00
Paolo Cignoni cignoni
82f24bd6d4 minor: this goes with the last commit, it won't compile otherwise.
SmartSVN doesn't refresh automatically...
2010-05-03 05:11:37 +00:00
Paolo Cignoni cignoni
dea680137b Added the implementation for Quality => FaceColor
Also corrected the getRequirements() for both vertex and face coloring.

IMPORTANT NOTE: there is a method on the top of meshcolorize.h that needs to be 
moved within VCGLib. It's a simple face adaptation of a vertex method to a face one.

Tests seem to work well with a random Quality initializer.
2010-05-03 05:04:02 +00:00
Paolo Cignoni cignoni
99f8badf50 First version of the filter_sdf. This is the original code from Lior Shapira and Shy Shalom. I removed completely their Qt-GUI, and any CGAL references. I removed the multi-threaded computation and the computation on vertices for the time being (only SDF on faces). The ray marching acceleration *should* be changed regardless, as they were using a very slow algorithm. 2010-05-02 02:56:14 +00:00
Paolo Cignoni cignoni
10995de670 The simple tests of the interpolator don't compile with the trunk of Eigen 3.
A VERY important check is necessary on whether the non-devel branch of 
Eigen3 is suitable!!! Paolo switched from the devel to the Eigen release, but
this might NOT WORK!!
2010-05-02 02:42:49 +00:00
Paolo Cignoni cignoni
44fa0efe41 Colorize plugin Quality->Color was working only for vertex quality, not for face. I split the quality mapper plugin in two components: face and vertex. Also, I needed to correct the interface.h cehckRequirements which IGNORED requirements expressed for face quality. 2010-05-02 02:15:26 +00:00
Guido Ranzuglia granzuglia
f4ec5d0aa4 a lot of updated stuff in order to compile in linux. 2010-04-30 17:33:53 +00:00
Paolo Cignoni cignoni
abca68d6cc last minute bug fix 2010-04-30 14:03:17 +00:00
Paolo Cignoni cignoni
d159365396 cleaned up a bit and added a few .h depend 2010-04-30 09:59:51 +00:00
Paolo Cignoni cignoni
5fbbb9c99a Cleaned up the post MC simplification stage, now it remove also tvertex and folds. 2010-04-30 09:57:34 +00:00
Paolo Cignoni cignoni
20520b20fa Added filter to remove small isolated folded triangles 2010-04-30 09:44:56 +00:00
Paolo Cignoni cignoni
7646a8a174 changed names and requisites of function that computes quality per face according to triangle aspect ratio 2010-04-29 14:32:06 +00:00
Paolo Cignoni cignoni
1aed333362 Added two function for evaluating the distribution of quality over faces (just like vertexes) 2010-04-29 14:29:41 +00:00
Guido Ranzuglia granzuglia
2bd18b7c73 updated callback function for ball pivoting. 2010-04-29 09:32:22 +00:00
Paolo Cignoni cignoni
5f756c5896 corrected small bug on translation of objects with degenerate bbox 2010-04-28 17:25:31 +00:00
Paolo Cignoni cignoni
6c0791bf79 better comment and description of plymc parameters 2010-04-28 15:06:50 +00:00
Paolo Cignoni cignoni
d55448f131 Cleaned up a little the interface of the edit aling and add a button to hide/reveal unglued meshes 2010-04-28 13:41:09 +00:00
Paolo Cignoni cignoni
7138c216ee Refactored a bit and added mesh to new layer feature 2010-04-28 01:48:32 +00:00
Paolo Cignoni cignoni
fa733a9b03 modified isosurface() to use tri::Simplify( mesh, getDelta()/4 ); It doesn't crash at startup because I compacted the vertex array first, but something is wrong... I simply don't know how to use it well considering it completely lacks of documentation 2010-04-27 12:49:24 +00:00
Paolo Cignoni cignoni
046ef0d85d modified MyVolume::isosurface() to remove sliver triangles, still we have an assert error caused by the FaceProjection + Point2Face... 2010-04-27 12:10:16 +00:00
Paolo Cignoni cignoni
133ea1cfba The sliver triangle remove from plymc is called, but there is something missingsvn status An OCF is not enabled causing a crash... It should have been FF, but even computing FF before the call doens't make a difference 2010-04-27 11:25:20 +00:00
Paolo Cignoni cignoni
b2690f15b4 minor: found the bug with the interpolator crashing. It was caused by sliver tets. The solution is using a sliver-removed used by filter_plymc itself. When importing plymc.h there is a problem caused by the fact that a Volume class is defined already... After this commit, I will do the namechange Volume => MyVolume 2010-04-27 10:44:05 +00:00
Paolo Cignoni cignoni
51267cc6a1 vastly improved the overall robustness of the filter and the comman line version. Restored partially the debugging slicing fucntions. Better handling of point sets. Name filter changed according standard menu aware sorting rule 2010-04-27 10:13:28 +00:00
Paolo Cignoni cignoni
82baf654b6 changed name of filter for better sorting in the menu 2010-04-27 09:53:53 +00:00