2746 Commits

Author SHA1 Message Date
Fabio Ganovelli ganovelli
cd68b2daeb Changed "Normal and Orientation" into "Normals, curvatures and Orientation" 2008-10-24 14:17:24 +00:00
Gael Guennebaud guennebaud
ec9c448d16 improve dependency support to vcglib headers 2008-10-24 12:48:59 +00:00
Gael Guennebaud guennebaud
832a34a9df fix compilation 2008-10-24 12:46:13 +00:00
Gael Guennebaud guennebaud
7485b3dadc mlsfilter: add generic functions to deal with curvatures of implicit
function with vcg style.
2008-10-24 12:18:12 +00:00
Fabio Ganovelli ganovelli
a048925a7f added filter for computation of principal curvature directions
Changed "Normals and Orientation" in "Normals, curvatures and Orientation"
2008-10-24 10:45:07 +00:00
Fabio Ganovelli ganovelli
604fde5c94 added drawing of principal curvature directions 2008-10-24 10:28:42 +00:00
Paolo Cignoni cignoni
2877774baa Yet another correction for ATI compliance. 2008-10-23 21:50:03 +00:00
Paolo Cignoni cignoni
0c1b2401f9 Renamed and corrected. Now it should correctly display the sample normal mapped meshes 2008-10-23 21:28:01 +00:00
Paolo Cignoni cignoni
dcd936ff2d Renamed and corrected. Now it should correctly display the sample normal mapped meshes 2008-10-23 21:27:03 +00:00
Gael Guennebaud guennebaud
d3e9825dda oops 2008-10-23 16:16:39 +00:00
Gael Guennebaud guennebaud
eb711ed5ff Eventually the splatting renderer works on ATI too. Well the driver still contains
a lot of bugs, so there is no high quality, and it is rather slow. So the drivers bugs are:
 - gl_FragCoords does not work with point primitive => quite expensive workaround
   to retrieve the coordinates of the fragments
 - blending + floating point buffers => values are clamped to [0:1]
   => the buffer might overflow if too many splats accumulate on the same pixel
   => no deferred shading (because the normals have to be signed)
Anyway it is still better than nothing !
2008-10-23 16:10:30 +00:00
Paolo Cignoni cignoni
e254f8613c Code refactory:
- use additional data instead of flag
 - add higher level entity as manager of holes' set

bug-fix:close more than one non manifold hole selected
2008-10-23 15:29:13 +00:00
Gael Guennebaud guennebaud
a25c5f9824 splatrenderer and ATI gets closer... 2008-10-23 14:32:05 +00:00
Paolo Cignoni cignoni
3d7a261070 Forgot to commit the correct version after the enum name changes (sorry!) 2008-10-23 14:13:35 +00:00
Gael Guennebaud guennebaud
df24856961 splatrenderer should work on ATI soon... 2008-10-23 14:02:47 +00:00
Paolo Cignoni cignoni
4a02b0f105 switch from mm->ioMask to hasDataMask 2008-10-23 13:05:27 +00:00
Paolo Cignoni cignoni
354dbf1eed updated .pro file 2008-10-23 12:48:59 +00:00
Paolo Cignoni cignoni
b952b29d60 using const QStrings for xml parsing 2008-10-23 12:47:33 +00:00
Paolo Cignoni cignoni
c2fb53bf7a added sw ZBUffer for occlusion calculation 2008-10-23 12:44:53 +00:00
Paolo Cignoni cignoni
133d5b7c2d TextureFilter has now a Template for the internal data type of the filter 2008-10-23 12:43:30 +00:00
Paolo Cignoni cignoni
587080ee76 added case to isInside function 2008-10-23 12:41:36 +00:00
Paolo Cignoni cignoni
afd60dea37 change PhotoTexturingDialog to PhotoTexturingWidget 2008-10-23 12:40:25 +00:00
Paolo Cignoni cignoni
6157445f4c added const QStrings as keys for xml parsing
reimplemented TsaiCameraCalibration Function to calibrate an optimized or unoptimized TSAI
2008-10-23 12:37:39 +00:00
Paolo Cignoni cignoni
5d4844fbf0 renamed ***Dialog to ***Widget
using MeshlabEditDockWidget as parent class
2008-10-23 12:34:56 +00:00
Paolo Cignoni cignoni
def9db7ece removed some minor errors in the quadtree implementation 2008-10-23 12:33:26 +00:00
Paolo Cignoni cignoni
05ce3df303 fix bug with layer changed mechanism where end edit was being called with the new mesh not the old mesh 2008-10-23 12:27:14 +00:00
Paolo Cignoni cignoni
45791b8a7b added MeshlabEditDockWidget as parent for all EditPlugin UIs 2008-10-23 12:00:19 +00:00
Paolo Cignoni cignoni
cbee4606e1 fixed problem that occurred when a mesh had no faces and caused meshlab to crash 2008-10-23 11:42:04 +00:00
Paolo Cignoni cignoni
bf16bd7d02 just changed the spacing of the widgets 2008-10-23 11:36:40 +00:00
Gael Guennebaud guennebaud
4e09e72939 apss: fix computation of the exact hessian 2008-10-23 00:48:43 +00:00
Paolo Cignoni cignoni
ddecf223b7 Added the management of special texture "TEXTURE0.PNG", with the semantic of "current texture".
Renamed Phong shader to underline its "untextured" behaviour.
First Version of the normal mapping shader that render the normal mapped meshes.
2008-10-22 21:24:27 +00:00
Gael Guennebaud guennebaud
be2b006f68 mlsfilter: add correct hessian matrix to RIMLS, APSS's one is still bugged 2008-10-22 18:38:34 +00:00
Paolo Cignoni cignoni
b7a7f283cf Corrected glsl error that was tolerated by nvidia cards but not by my ati. 2008-10-22 14:36:38 +00:00
Paolo Cignoni cignoni
2b53444f17 Removal of the ioMask MeshModel member and renaming of some of the MeshModel data elements names (see commit 2822). 2008-10-22 01:02:18 +00:00
Paolo Cignoni cignoni
7509a1f0e4 Removal of the ioMask MeshModel member and renaming of some of the MeshModel data elements names (see commit 2822).
Added an experimental Hacked offset value.
2008-10-22 01:01:26 +00:00
Paolo Cignoni cignoni
f8c8c43519 Removal of the ioMask MeshModel member and renaming of some of the MeshModel data elements names (see commit 2822).
Made angle selection filter dynamic
2008-10-22 01:00:05 +00:00
Paolo Cignoni cignoni
7b63fd3195 Removal of the ioMask MeshModel member and renaming of some of the MeshModel data elements names (see commit 2822).
Moved sampling stuff in the correct submenus
2008-10-22 00:58:17 +00:00
Paolo Cignoni cignoni
387262accd Removal of the ioMask MeshModel member and renaming of some of the MeshModel data elements names (see commit 2822). 2008-10-22 00:43:04 +00:00
Paolo Cignoni cignoni
fdae85c436 Removal of the ioMask MeshModel member and renaming of some of the MeshModel data elements names (see commit 2822). 2008-10-22 00:37:21 +00:00
Paolo Cignoni cignoni
fb86b5e6e5 Slight cleaning of the mechanism for the management of data that can or cannot be present on a mesh and that can be changed at runtime.
Now the old ioMask is disappeared and everything should be updated/notified by means of the updateDataMask(neededStuff), clearDataMask(no_needed_stuff), hasDataMask(stuff) functions.
2008-10-22 00:30:53 +00:00
Gael Guennebaud guennebaud
07f2983e87 mlsfilter: add color from curvature filters 2008-10-21 17:32:06 +00:00
Paolo Cignoni cignoni
114e4ba76e Corrected Shader. Now it correctly support per vertex color mode and light direction. All the shaders should be done in the same way... 2008-10-21 16:07:06 +00:00
Marco Callieri mcallieri
997398be51 fixed a missing return value in applyfilter declaration 2008-10-21 10:04:23 +00:00
Marco Callieri mcallieri
d09b852b84 fixed a float/double cast problem in a pow() 2008-10-21 10:00:07 +00:00
Paolo Cignoni cignoni
ea97c5d16f qplaintextedit -> qtextedit (supports qt installations < 4.4) 2008-10-20 06:33:55 +00:00
Gael Guennebaud guennebaud
9f0625723e mlsfilter: bugfix in balltree found by bshu 2008-10-18 10:01:50 +00:00
Gael Guennebaud guennebaud
6abb1c8ce6 mlsfilter: added support for second order derivatives (hessian matrix) and mean curvature 2008-10-17 17:37:04 +00:00
Paolo Cignoni cignoni
d93fcfe8b9 removed useless face normal computation 2008-10-17 12:41:44 +00:00
Gael Guennebaud guennebaud
c8b19a5d98 mlsfilter: some optimizations 2008-10-17 11:28:56 +00:00
Paolo Cignoni cignoni
be3a242c7d Changed a m.HasFFAdjacency() with a more standard HasFFAdjacency(m) 2008-10-17 00:23:15 +00:00