Paolo Cignoni
86c16f8245
Added missing license information
2008-07-12 06:12:46 +00:00
Paolo Cignoni
637dd26b2b
removed duplicated file (same file and more recent was in wrap/dae)
2008-07-12 06:11:47 +00:00
Paolo Cignoni
4efd5c21f5
fixed gamma correction
2008-07-11 10:17:09 +00:00
Paolo Cignoni
c0f5310cde
Added functions to perform gamma correction.
...
Parameters type changed all to float instead of int,
to achieve a better precision in computations.
2008-07-10 22:11:56 +00:00
Paolo Cignoni
b626643efb
Re-factored the Heap-Simplex ratio parameter. Now it is something that should be asked to the localmodification class.
2008-07-10 09:44:09 +00:00
Paolo Cignoni
6be78dcf70
Added color processing functions.
...
Some changes still to be performed.
2008-07-09 22:25:31 +00:00
Paolo Cignoni
9debed15de
Added Brighting function that increase/decrease the brightnes of the vertex colors
2008-07-09 15:19:06 +00:00
Paolo Cignoni
4555f74ee3
added operator + between color with clamped specialization for unsigned chars
2008-07-09 15:18:08 +00:00
Paolo Cignoni
c3735f3e5d
Added a small hack for the case of non-simmertric collapses where the average number of heap elements is almost the double of the symmetric case and therefore you should avoid too frequent heap garbage collections.
2008-07-09 10:48:19 +00:00
Paolo Cignoni
1407af2537
removed harmless warnings
2008-07-09 10:31:55 +00:00
Nico Pietroni
72ce36f55c
converted functions into static
2008-07-08 14:49:08 +00:00
Paolo Cignoni
d83de7eef4
Small modifications to compile with gcc >4.3 (thanks to Carlo Casta!)
2008-07-05 23:35:06 +00:00
Paolo Cignoni
9c314b7f2f
Added support for callback in Laplacian and Taubin;
...
improved comments and removed a bug from the Taubin smoothing
2008-07-05 05:49:57 +00:00
Paolo Cignoni
29ad822941
Added missing std namespace qualifier to min and max
2008-07-04 07:30:49 +00:00
Paolo Cignoni
a8becdc8f1
refactored laplacian smoothing and added taubin smoothing
2008-07-04 00:32:48 +00:00
Paolo Cignoni
3af17fab9a
added initializer and passed the init value as const reference
2008-07-04 00:31:54 +00:00
Paolo Cignoni
a6f9f33a62
removed references to the meshlab code (qdebug and leaked mesh types)
2008-07-03 21:39:37 +00:00
Nico Pietroni
38c1cc7aaf
changed epsilon value on InterpolationParameters function
2008-07-03 10:22:37 +00:00
Nico Pietroni
b3c2645005
changed line 215 for compilation problems in case of class extension (just semantic)
2008-07-03 10:21:17 +00:00
Nico Pietroni
1a2be8bdfa
changed line 268 for compilation problems in case of class extension (just semantic)
2008-07-03 10:20:12 +00:00
Paolo Cignoni
9ca56690ae
remove harmless warnings
2008-07-02 13:31:00 +00:00
Paolo Cignoni
9135ed578c
exposed binary/ascii support and added progress bar support in the save
2008-07-02 13:30:21 +00:00
Paolo Cignoni
0a712cbbcb
removed harmless warnings and added better support for transp materials
2008-07-02 13:28:37 +00:00
Paolo Cignoni
bafcd1768e
remove harmless warnings
2008-07-02 13:26:25 +00:00
Paolo Cignoni
711c985689
update to the new single template BasicGrid
2008-07-01 12:37:27 +00:00
Paolo Cignoni
8314b1759a
Heavily restructured (an almost complete rewrite) of the class that convert a mesh to a distance field and run marching cubes on it.
2008-07-01 09:37:31 +00:00
Paolo Cignoni
4e6ff1e97a
removed harmless warnings
2008-07-01 09:34:43 +00:00
Paolo Cignoni
fa2c3fa060
updated the spatial indexing class to the new basicgrid class that has only one template parameter
2008-07-01 09:33:47 +00:00
Paolo Cignoni
4e227776f3
Removed one useless template parameter from the BasicGrid class and added a couple of useful accessory functions
2008-07-01 09:32:48 +00:00
Paolo Cignoni
445cf3bec0
removed harmless warnings
2008-06-30 15:00:47 +00:00
Paolo Cignoni
d3debc41e4
Changed the SetFF IsFF, ClearFF flag functions to the new names SetF IsF, ClearF
2008-06-30 09:58:43 +00:00
Federico Ponchio
a4a0d6acf3
last_seed++ shodl have been ++last_seed
2008-06-30 08:46:06 +00:00
Paolo Cignoni
3c81fe2f0e
Removed a m.cm leaked from meshlab here.
...
Thanks to Alain Boyer for the kind bug submission!
2008-06-29 22:56:08 +00:00
Paolo Cignoni
700b8cd26e
Removed annoying unsigned vs signed warnings.
...
Thanks to Alain Boyer for the kind bug submission!
2008-06-29 22:44:44 +00:00
Paolo Cignoni
ab71949274
Changed a line in a switch case in the void PlyFile::compile function
...
p->cb = cb_skip_list_bin8
Thanks to Alain Boyer for the kind bug submission!
2008-06-29 22:32:09 +00:00
Paolo Cignoni
75e3cc2a18
added a safeness assert
2008-06-29 07:48:48 +00:00
Paolo Cignoni
7da7c0128e
Added the WedgeTexRemoveNull function. Currently texture coords are kept for ALL the triangles of a mesh. The texture id is stored with each face.
...
if a given face should not have tex coord it has the default -1 value for texture ID. This function will add an new fake texture, add that to the list of textures and change all the -1 id to that value.
2008-06-29 07:47:35 +00:00
ganovelli
e91db31568
first draft of the wrapper for cminpack (see http://devernay.free.fr/hacks/cminpack.html ).
...
It only wraps the lmdif function (non linear minimization
of Sum_{i=0}^{M} ( F(x0,..,xN)_i ) ^2 ) with F:R^N->R^M
2008-06-28 16:14:18 +00:00
Federico Ponchio
8494ace467
Fixed some bug and move to QVariant.
2008-06-27 18:54:18 +00:00
Paolo Cignoni
e5572b4f05
added support of internal edge bit for keeping track of triangulated polygonal faces
2008-06-26 08:41:11 +00:00
Paolo Cignoni
674096eb00
added MultiFaceRandom to random color polygonal faces and improved vertexcolor border (now mixed vertexes have a different color)
2008-06-26 08:39:28 +00:00
Paolo Cignoni
0c68c95685
added function IsF()/SetF()/ClearF() to check if a given side of the face is a feature/internal edge; are used by some importer to mark internal edges of polygonal faces that have been triangulated
2008-06-26 08:36:28 +00:00
Paolo Cignoni
616b3fedc5
Added the class oriented bounding box inherited from box3.h
2008-06-23 17:28:30 +00:00
ganovelli
1c8f9ed436
corrected: DumET DumFt and DumTT to DumClass (see derivation_chain.h)
2008-06-23 17:10:48 +00:00
ganovelli
20610a1915
corrected: DumET DumFt and DumTT to DumClass (see derivation_chain.h)
2008-06-23 17:06:28 +00:00
ganovelli
d70efb4573
added. Derivation_chain.h contains the inheritance mechanism used to define the (vertex and face) component
2008-06-23 16:30:17 +00:00
Paolo Cignoni
17369b521b
Matrix transformations corrected in glCylinder and glArrow.
2008-06-23 14:33:51 +00:00
ganovelli
22aa059de2
factorized, see vcg/container/derivation_chain.h
2008-06-23 14:27:44 +00:00
ganovelli
d35e8ba0c4
factorized, see vcg/container/derivation_chain.h
2008-06-23 14:25:39 +00:00
ganovelli
c7f76ab84b
factorized, see vcg/container/derivation_chain.h
2008-06-23 14:22:32 +00:00