1180 Commits

Author SHA1 Message Date
Paolo Cignoni
e0bd49f131 Moved out an unused folder from distribution to FGT 2016-11-07 15:49:55 +01:00
Rosario Aiello aiello
8bf427db2d Minor fixes and refactoring of the filter code 2013-09-07 09:05:49 +00:00
Paolo Cignoni cignoni
c718bce402 Various changes and refactoring during the exam code review 2013-07-17 22:43:43 +00:00
Rosario Aiello aiello
d8123eca6b A couple of fixes in the filter code, plus the needed changes in the maxflow/mincut library. 2013-07-16 17:10:45 +00:00
Rosario Aiello aiello
4bb328a792 Removed useless code from the file filter_decompose.h 2013-07-06 13:44:49 +00:00
Rosario Aiello aiello
d3b532f7b3 Several fixes on the filter code. Everything should be working correctly now. 2013-07-05 15:45:21 +00:00
Rosario Aiello aiello
cf3b50d6d2 Decompose filter (FGT 2012/2013 project):
- Tries to find nicely placed cuts to decompose a mesh in two sub-parts.
	- graph_builder.h contains the GraphBuilder<MeshType, FunctType> class which builds the mesh dual graph
		- over which the maxflow algorithm is applied, and 
		- which can be used for other purposes, passing a specific functor to compute edge weights.

- This filter is based on Kolmogorov's maxflow/mincut library:
	- Located in external/maxflow-v2.21.src/adjacency_list/

	!-! It is NECESSARY to make couple of changes in "graph.h" file for the filter to work properly:
		- typedef short captype; ----> typedef double captype;
		- typedef int flowtype; -----> typedef float flowtype;
2013-06-27 15:30:47 +00:00
Paolo Cignoni cignoni
6cbf484344 First commit of the shape decomposer filter 2013-06-24 14:10:10 +00:00
Manuele Sabbadin msabbadin
656fe6e4bf Removed commented code. 2012-11-22 23:34:36 +00:00
Manuele Sabbadin msabbadin
87f31c6066 Corrected the computation of low frequencies 2012-11-09 23:06:36 +00:00
Manuele Sabbadin msabbadin
b60a5049b2 Reduced the amount of space used during the computation 2012-11-08 01:29:26 +00:00
Paolo Cignoni cignoni
71ea5242b9 Corrected bug of the direction of the displacement.
more simple kd tree usage. (no more attributes with stored vertex neighbours)
2012-11-07 11:19:30 +00:00
Paolo Cignoni cignoni
8025c2cd2d updated FittingPlane 2012-10-22 22:33:26 +00:00
Paolo Cignoni cignoni
b395f7a0c4 Reformatted info text 2012-09-13 09:59:19 +00:00
Manuele Sabbadin msabbadin
75ca414414 More detailed info when opening the filter. Merging only visible layers. Added a progress bar. 2012-08-24 15:58:03 +00:00
Paolo Cignoni cignoni
d8af325299 Added a missing updateBBox 2012-08-22 08:45:12 +00:00
Manuele Sabbadin msabbadin
97e61b5774 Modified the code. Now it's more readable and well structured. Inserted comments. 2012-08-17 15:02:45 +00:00
Manuele Sabbadin msabbadin
bb127c48b4 Completed a beta version of the filter 2012-08-16 17:19:30 +00:00
Manuele Sabbadin msabbadin
b4040b7fbc Filter which merge layers taken from different scans into one mesh 2012-08-07 15:27:25 +00:00
Paolo Cignoni cignoni
9fe5cbf88f A filter for procedural creation of gears. 2012-06-06 14:43:32 +00:00
Paolo Cignoni cignoni
dacdb6541a Moved the edit point plugin from the FGT folder to the folder of the official plugins 2012-03-22 08:37:33 +00:00
Paolo Cignoni cignoni
0fade8aa02 Added icons and folder for images to the edit point selection tool 2012-03-06 00:14:42 +00:00
Manuele Sabbadin msabbadin
80e84d1f2d Added a blue disk for the visualization of the point fitted in the plane fitting selection tool. 2012-03-02 17:02:08 +00:00
Manuele Sabbadin msabbadin
cdb95d0e18 Used the SetS method in order to maintain the selection after the EndEdit 2012-03-01 01:13:24 +00:00
Manuele Sabbadin msabbadin
6ea33748be Added the wheel control for the hopDist parameter.
Added the ctrl and shift modifiers for selection.
Added the plane fitting selection.
2012-02-01 02:18:16 +00:00
Paolo Cignoni cignoni
1c38f68e20 Changed all the MeshType::HasSomething() into the now standard tri::HasSomething(MeshType &m) 2012-01-25 10:35:52 +00:00
Manuele Sabbadin msabbadin
fd90fd27db An edit plugin to select parts of a point cloud in a reasonable way.
It is based on a knn-graph, built on the mesh, where we search for near points.
It takes two parameters, a maximum distance of hop (between two adjacent points in the graph) and a maximum distance from the selected point. Both of them are chosen via mouse (actually via keyboard).
2012-01-24 17:01:38 +00:00
Paolo Cignoni cignoni
e483c81357 Moved the filter_dirt and filter_sdfgpu plugins from fgt to the official plugin folder 2011-07-29 22:52:05 +00:00
Andrea Baldacci baldacci
5d7e49581c Outliers removal has been simplified. No more ray tracing is done (too much slow) but just a super-sampling of the depth buffer. For each ray that we trace, we take multiple depth values near the point of intersection and we output only the median of these values. This description is also included in the SDF help. 2011-07-29 17:15:16 +00:00
Andrea Baldacci baldacci
89745c8b01 Added a more detailed help to sdf and depth complexity filter. 2011-07-27 10:48:03 +00:00
Andrea Baldacci baldacci
d2e790dff4 Added Per Vertex Angle Weighted normals and median search has been modified in the sdf shader. 2011-07-26 14:41:19 +00:00
Andrea Baldacci baldacci
7cab8b1dba Added a more detailed help to obscurance. Modified default paramters of obscurance. 2011-07-25 10:49:14 +00:00
Andrea Baldacci baldacci
e42c1a8363 Eliminated bug in retrieving filter parameters. Added scissor test to eliminate useless fragment in sdf and obscurance calculation. 2011-07-21 11:47:34 +00:00
Andrea Baldacci baldacci
4fe9d0153b Sdf and obscurance calculation is now also supported per face!!! 2011-07-21 00:29:17 +00:00
Andrea Baldacci baldacci
ef5eba69d2 Added few lines to begin supporting per face ray tracing. But it is still not supported in this version. 2011-07-20 18:37:16 +00:00
Andrea Baldacci baldacci
60a728b8f2 Users now get a warning if they underestimate the depth complexity of the mesh. 2011-07-20 12:52:32 +00:00
Andrea Baldacci baldacci
c366c01c12 Added stats log about depth complexity distribution. A bug in deth complexity calculation found and eliminated. 2011-07-20 11:29:43 +00:00
Andrea Baldacci baldacci
9cd4c02438 Added a return on the default control path of the function isFalseIntersection (sdf shader). 2011-07-19 15:55:36 +00:00
Andrea Baldacci baldacci
e15e93fe88 Added depth complexity calculation filter. Occlusion queries has been used to optimize sdf and obscurance too. 2011-07-16 11:59:50 +00:00
Andrea Baldacci baldacci
f11af303ff Normals for false intersection are now sampled from a texture generated during depth peeling instead of being reconstructed form depth. Added vertex shader in depth peeling's program. 2011-07-13 13:17:02 +00:00
Andrea Baldacci baldacci
23062e5eb0 Correction to sdf to have correct mesh measures. 2011-07-12 12:22:43 +00:00
Paolo Cignoni cignoni
98a0f4bada I put comments in English; I have considered another case where the intersectionplanemesh is not working very well; I have restructured and shortened the applyFilter 2011-07-04 18:44:52 +00:00
Paolo Cignoni cignoni
e8f1d5eef5 I rearranged the two main cycles that generate the plans and I have redefined the parameters of the filter 2011-06-29 19:44:47 +00:00
Paolo Cignoni cignoni
d73a0c94eb Some small interface changes and I have adjusted the properties of the orthogonal plane 2011-06-27 18:18:47 +00:00
Paolo Cignoni cignoni
66654f1b0e 2011-06-25 17:46:52 +00:00
Paolo Cignoni cignoni
89a9b8a204 fixed some problems of collinearity in function subtraction 2011-06-24 16:55:04 +00:00
Paolo Cignoni cignoni
6381f4e25c I have removed some bugs in the function subtraction and I have optimized the search for the edge to remove 2011-06-18 18:40:25 +00:00
Paolo Cignoni cignoni
6a96288063 ExporterSVG need a trimesh not a MeshModel; substituted with the correct CMesh type 2011-06-16 09:03:07 +00:00
Paolo Cignoni cignoni
79c0bb5b57 completed the function "subtraction" and add some support functions (generateRectSeg, compareX, compareY, addAndBreak) 2011-06-14 15:27:57 +00:00
Paolo Cignoni cignoni
c6c65788e3 Added scaling of the result for more correct SDF computation in mesh units. 2011-05-30 15:18:00 +00:00