3820 Commits

Author SHA1 Message Date
Paolo Cignoni cignoni
b98d64be77 Headers Cleanup 2010-02-04 11:36:31 +00:00
Paolo Cignoni cignoni
8cd228d5c4 New filters parameters added; Fill filter improved 2010-02-03 22:49:59 +00:00
Paolo Cignoni cignoni
ffb4a528ad [FGT - filter_fracta]
Craters generation 
-------------------------------------------------------------------------------------
- added "successive-impacts" flag;
- perturbation applied following the vertex normal and not the crater centre normal,
  in order to "follow" the mesh surface;
- added "smoothing steps" parameter to pre-smooth vertex normals a given number of times
  before generating craters;
- added "elevation" parameter to decide the fraction of depth that will rise from mesh surface;
- added blending algorithm to blend the above elevation towards the original mesh surface;
  the blending is supported by two new parameters:
  - blending algorithm: defines the blending functions (there are four blending functions
    available so far: exponential blending, linear blending, gaussian blending and f3 blending);
  - blending threshold: defines the fraction of radius above which the radial function is
    replaced by the blending function.
- removed "profile factor" parameter;
- filter description modified.

Code modifications: now the noise, radial and blending functions are defined as functors,
and the crater functor is basically a combination of a radial functor, a blending functor
and a noise functor (for postprocessing noise). All these functors work with normalized 
inputs and returns normalized output; they are all implemented in the new filter_functors.h
file.

More to come: code cleanings, reorganizations and comments.
2010-02-03 17:40:11 +00:00
Paolo Cignoni cignoni
a51bacc63b Made linking working again for mac after the creation of the distrib folder 2010-02-03 10:21:38 +00:00
Paolo Cignoni cignoni
0db2a1ee90 Filters refined 2010-02-02 23:13:50 +00:00
Paolo Cignoni cignoni
ac01f61e61 Filters performance improved 2010-02-02 11:03:38 +00:00
Paolo Cignoni cignoni
5d845e8f0f Center of gravity issues solved 2010-02-01 23:08:18 +00:00
Paolo Cignoni cignoni
2f0d02ce23 [FGT - filter_fractal]
=============================================================================================

Files and classes modifications
---------------------------------------------------------------------------------------------
- FractalArgs class moved to fractal_perturbation.h
- CratersArgs class moved to craters_utils.h
- removed filter_args.h and radial_perturbation.h

Fractal displacement filters modifications
---------------------------------------------------------------------------------------------
- CR_FRACTAL_TERRAIN and FP_FRACTAL_MESH filters moved to deformation submenu;
- fractal displacement algorithm unified for terrain generation and mesh fractal displacement;
  (lot of code cleaning!)
- heightFactor parameter name changed to "maxHeight". This parameter now controls
  the maximum perturbation height, which is a fraction of bounding box diagonal or,
  in the case of terrain generation, a fraction of grid side;
- vertex coordinates are now correctly normalized and scaled before computing the perturbation;
- preview enabled for CR_FRACTAL_TERRAIN filter;
- save-as-vertex-quality feature enabled for CR_FRACTAL_TERRAIN filter.

Craters generation modifications
---------------------------------------------------------------------------------------------
- removed inverse multiquadric and cauchy perturbations;
- nearest faces to samples now are detected using a uniform grid (GetClosest method).
2010-02-01 20:33:02 +00:00
Guido Ranzuglia granzuglia
7144b53798 updated install file 2010-02-01 13:31:11 +00:00
Guido Ranzuglia granzuglia
5446b7e55e changed from meshlabdistrib to distrib 2010-02-01 13:30:14 +00:00
Guido Ranzuglia granzuglia
3ae777bde7 removed DESTDIR directive 2010-02-01 13:29:17 +00:00
Guido Ranzuglia granzuglia
3b351487c5 changed from meshlabdistrib to distrib 2010-02-01 12:46:05 +00:00
Guido Ranzuglia granzuglia
cd043de801 changed from meshlabdistrib to distrib 2010-02-01 11:52:18 +00:00
Guido Ranzuglia granzuglia
d2927aa110 renamed meshlabdistrib to distrib 2010-02-01 11:01:25 +00:00
Guido Ranzuglia granzuglia
bc8d21d451 updated installation script for windows 2010-02-01 10:37:06 +00:00
Guido Ranzuglia granzuglia
f5ccb5b6cf renamed meshlabdistrib to distrib 2010-02-01 10:20:47 +00:00
Paolo Cignoni cignoni
f6096dc10c Filter category changed 2010-02-01 08:25:17 +00:00
Paolo Cignoni cignoni
0001a73bb5 BBox units configuration option added to the random drop filter 2010-01-31 18:16:26 +00:00
Paolo Cignoni cignoni
0b62b74ac3 ODEFacade clear method bug solved 2010-01-29 23:39:53 +00:00
Guido Ranzuglia granzuglia
2ba9ea7359 moved textures folder 2010-01-29 16:59:30 +00:00
Guido Ranzuglia granzuglia
1469c626c4 moved shadersrm 2010-01-29 16:58:15 +00:00
Guido Ranzuglia granzuglia
e069595fc5 moved shaders folder 2010-01-29 16:56:59 +00:00
Guido Ranzuglia granzuglia
527761a15c moved plugins folder 2010-01-29 16:55:24 +00:00
Guido Ranzuglia granzuglia
7feea7e384 moved sample folder 2010-01-29 16:53:14 +00:00
Guido Ranzuglia granzuglia
beabcb41bc new meshlab directories' structure. changed values DESTDIR/DESTDIRDLL options. 2010-01-29 16:25:15 +00:00
Guido Ranzuglia granzuglia
03702e3eaa new meshlab directories' structure. changed values DESTDIR/DESTDIRDLL options. 2010-01-29 16:23:39 +00:00
Guido Ranzuglia granzuglia
2aa06f201d new meshlab directories' structure. changed values DESTDIR/DESTDIRDLL options. 2010-01-29 16:23:17 +00:00
Guido Ranzuglia granzuglia
575bf24913 new meshlab directories' structure. changed values DESTDIR/DESTDIRDLL options. 2010-01-29 16:22:32 +00:00
Guido Ranzuglia granzuglia
139aa41d9f patched CONFIG syntax in all *.pro 2010-01-29 09:27:42 +00:00
Guido Ranzuglia granzuglia
aa109b76ef Added meshlabserver to meshlab_mini.pro (so maybe sometimes we will test him when will do some change to the code) 2010-01-29 09:23:09 +00:00
Guido Ranzuglia granzuglia
153b66bb11 removed sampleplugins.pro 2010-01-29 09:14:36 +00:00
Guido Ranzuglia granzuglia
ce903fad8a removed all meshlabplugins*.pro 2010-01-29 09:11:44 +00:00
Paolo Cignoni cignoni
f05341c84b Working bigint implementation 2010-01-29 07:49:06 +00:00
Paolo Cignoni cignoni
2bbd119cf6 Random drop filler automatic fill feature added 2010-01-28 21:33:28 +00:00
Paolo Cignoni cignoni
5bafc1fe1d better default parameters 2010-01-28 15:33:26 +00:00
Paolo Cignoni cignoni
3d7c7b5428 [FGT - filter_fractal]
- fractal perturbation algorithm corrected;
- fractal perturbation scale factor added;
- implemented new function for crater generation;
- algorithm for postprocessing noise on craters corrected.
2010-01-28 15:31:24 +00:00
Paolo Cignoni cignoni
d270bef898 cleaned up the shadow decoration to comply to the new global params 2010-01-28 02:06:36 +00:00
Paolo Cignoni cignoni
9ecb2756cf More configurable parameters added to all filters 2010-01-27 19:02:48 +00:00
Paolo Cignoni cignoni
4b984dad7a Configurable fps parameter added to all filters 2010-01-27 16:29:44 +00:00
Paolo Cignoni cignoni
f45943a430 Filter initialization policy changed 2010-01-27 11:08:09 +00:00
Paolo Cignoni cignoni
a09aa6df8a Filters refined 2010-01-26 22:40:39 +00:00
Paolo Cignoni cignoni
26f0346d18 [FGT - filter_fractal]
Craters Generation filter:
- added progress bar handling;
- inserted some correctness tests (min radius < max radius, min depth < max depth, sample layer MUST BE a sample layer);
- added (optionally) a slightly noise perturbation as post-processing effect;
- filter description updated.

Fractal Displacement filters:
- HeightFactor parameter now is a simple float instead of a dynamic float
- improved fractal displacement on general meshes (now we project the vertexes of the mesh onto a sphere
  which has a very small radius, we compute the perturbation on the projected points and then store back
  the resulting perturbation on the original vertexes).
- FP_FRACTAL_MESH filter description updated.
2010-01-26 18:07:32 +00:00
Gregorio Palmas palmas
55a6475e6c Added sphere resolution and max recursion parameters 2010-01-26 17:40:04 +00:00
Paolo Cignoni cignoni
8cac33f567 Filters refined 2010-01-25 20:40:12 +00:00
Gregorio Palmas palmas
67eee63864 Updated filter ssynth, no saving file in ES format 2010-01-25 09:21:23 +00:00
Paolo Cignoni cignoni
2cd0b3ed79 fixed a bug with Aqsis 1.6 environment variable 2010-01-24 18:39:21 +00:00
Paolo Cignoni cignoni
5bb24eceb6 [FGT - filter_fractal - craters generation]
- removed refinement step while generating craters; we assume that the target mesh is sufficiently refined;
- preview support enabled;
- added an option to invert the sign of radial perturbation, in order to create bumps instead of craters;
- classes FractalPerturbation, FractalArgs and CratersArgs templated over the scalar type of perturbation;
- added an option to save the perturbation as vertex quality;
- default parameters redefined;
- added an integer seed parameter that controls how craters depth and radius are generated;
- radial perturbation limited to negative or zero values to avoid raised crater borders.
2010-01-24 14:36:43 +00:00
Paolo Cignoni cignoni
a7a9a1c212 [FGT - filter_fractal]
- added algorithm parameter to choose the type of radial perturbation among:
  - Gaussian 
  - Multiquadric
  - InverseMultiquadric
  - Cauchy
- added radial_perturbation.h: this header contains the above RBF algorithms
- added profile_factor parameter to control the ratio between crater border and crater effective area
2010-01-22 15:46:37 +00:00
Paolo Cignoni cignoni
f5a9f015a6 [FGT - filter_fractal]
- implemented a more efficient algorithm to compute the samples' faces on target mesh
2010-01-21 15:21:49 +00:00
Paolo Cignoni cignoni
7bbe3ea6f1 [FGT - filter_fractal]
- first working version of craters generation filter! Don't use too many samples for now!
2010-01-20 11:44:17 +00:00