4175 Commits

Author SHA1 Message Date
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
Nico Pietroni nicopietroni
dc109cfeb9 changed calls to InterpolationParameters to find barycentric coordinates into a triangle in a more safe manner 2010-05-25 14:56:52 +00:00
Michele Sottile sottile
c55ab4079d Moved LayerDialog from glArea to MainWindow. Now there is one single updatable LayerDialog. 2010-05-24 15:31:08 +00:00
Guido Ranzuglia granzuglia
01b6071607 removed unusual way to call QStringList copy constructor. 2010-05-24 08:23:49 +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
Guido Ranzuglia granzuglia
6286c9d496 patched non extension files 2010-05-17 14:05:48 +00:00
Marco Di Benedetto dibenedetto
d707bc8fc0 2010-05-17 12:07:07 +00:00
Guido Ranzuglia granzuglia
f27c400cfd fixed bug on opening models with same name 2010-05-17 09:19:46 +00:00
Guido Ranzuglia granzuglia
ac9fa159c3 added qt.conf to MeshLabBundle 2010-05-14 14:23:18 +00:00
Paolo Cignoni cignoni
80e36e301a added small file to force the loading of the plugins from the plugins directory inside the app bundle (it must be placed in the resource directory of the .app bundle) 2010-05-14 13:57:36 +00:00
Michele Sottile sottile
f242aa0fe9 Express the scale as a translation along z and vice versa 2010-05-13 13:37:15 +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
Michele Sottile sottile
e8ec5cafd1 Locking views with shots (there is a bug) 2010-05-07 15:13:26 +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
Michele Sottile sottile
5a2c4ca2f6 textAlign test 2010-05-06 17:27:38 +00:00
Michele Sottile sottile
5eaf737e2e deleting 2.0 2010-05-06 13:43:06 +00:00
Michele Sottile sottile
5d9977c1d4 Shot2Trackball trasformation with gluLookAt compensation.
Fixed bug in getShotFromTrack2 (negative sign)
2010-05-05 15:27:08 +00:00
Guido Ranzuglia granzuglia
0459c7a59d defVal passed instead of val in RichSaveFile copy constructor 2010-05-05 14:58:29 +00:00
Guido Ranzuglia granzuglia
fe9dbb1130 removed defValue passed instead of val to RichSaveFile copy constructor 2010-05-05 14:56:23 +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
Guido Ranzuglia granzuglia
ca1a7dfdab avoiding to test if a face intersects with itself 2010-05-05 09:04:43 +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
Guido Ranzuglia granzuglia
23e9ce12a1 from macx:QMAKE_POST_LINK = "cp libcommon.*dylib ../distrib/meshlab.app/Contents/MacOs/" to macx:QMAKE_POST_LINK = "cp libcommon.* ../distrib/meshlab.app/Contents/MacOs/" 2010-05-03 10:43:04 +00:00
Guido Ranzuglia granzuglia
3e11d43166 removed useless : 2010-05-03 10:16:19 +00:00
Guido Ranzuglia granzuglia
c38ecea404 linux: from dlldestdir to destdir 2010-05-03 09:55:09 +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
8342a4443a from gnutar to tar 2010-05-03 08:40:15 +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
273dafd4b5 Warning: I mistakenly reverted the changes to the mainwindow_RunTime.cpp before committing the last revision. This commit contains such change 2010-05-03 04:58:14 +00:00
Paolo Cignoni cignoni
42c4211ae0 Modified documentation of getRequirements() to modify something that was missing:
getRequirements() is called before the execute() of a filter, and it *allocates* any 
mesh property that the filter specifies with this function.
2010-05-03 03:30:49 +00:00
Paolo Cignoni cignoni
602b65d5c6 To be perfected or removed!!
The tooltip associated with a filter action is actually displayed when the mouse hovers it. For the moment being, I restricted the behavior to apply only to the elements of the "colorize" group. What remains to be done is find out how to set a more meaningful position for the tooltip (rather than using the current mouse position) so that the tooltip appears on the right hand side of the menu entries.
2010-05-03 02:32:52 +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
367af904d7 There is NO REASON why MidButton events should not be sent to plugins... 2010-05-02 02:21:27 +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
Paolo Cignoni cignoni
295db3fe1e Corrected compile problem on MAC after library flags have been modified for linux compatibility.
Substituted unix: with unix:!mac:
2010-05-02 01:07:30 +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
4dc30c4402 last minute bug fix for shaders 2010-04-30 14:26:12 +00:00
Paolo Cignoni cignoni
bdf8353c57 Removed malfunctioning shaders 2010-04-30 14:25:09 +00:00