1804 Commits

Author SHA1 Message Date
Paolo Cignoni cignoni
48019f7722 modified preview-button 2008-02-05 19:30:00 +00:00
Paolo Cignoni cignoni
32dc2fbc3b - Added method TransferFunction::getColorByQuality
- Corrected method TfChannel::getChannelValuef
2008-02-05 19:29:22 +00:00
Luca Benedetti benedetti
32f43ea8e4 added calls to editing plugins' keyReleaseEvent and keyPressEvent 2008-02-05 18:06:47 +00:00
Luca Benedetti benedetti
58679e1196 added keyReleaseEvent and keyPressEvent to MeshEditInterface 2008-02-05 18:04:59 +00:00
Gianpaolo Palma gianpaolopalma
61fa6a89c2 Added support to follow ElevationGrid and IndexedFaceSet
Bug fixed in the method solveDefUse
2008-02-05 16:47:49 +00:00
Gianpaolo Palma gianpaolopalma
b987b10527 Added error codes 2008-02-05 16:46:20 +00:00
Gianpaolo Palma gianpaolopalma
4213b2a464 Added texture file path in the mesh 2008-02-05 16:38:55 +00:00
Paolo Cignoni cignoni
b0df00d335 wrong assert 2008-02-05 13:22:24 +00:00
Paolo Cignoni cignoni
7d5419d67f Cleaned up variable names and printing 2008-02-05 13:21:42 +00:00
Paolo Cignoni cignoni
186f9bc444 added field for storing the overlapping area (and removed some prints) 2008-02-05 12:01:31 +00:00
Paolo Cignoni cignoni
5e00116a36 const_types.h:
- some minor changes

handle.h\cpp:
- added size method

tfhandle.h\cpp:
- updated paint method
- some other minor changes

transferfunction.h\cpp:
- changed base struct from STL map to STL vector.
- changed internal structure and behavior of TF_KEY
- removed some old methods (used for map)
- changed some methods
- some other minor changes

qualitymapperdialog.h\cpp:
- applied changes to use the new keys management
- updated drawTransferFunction method (stub yet)
2008-02-05 10:10:46 +00:00
Paolo Cignoni cignoni
6649d6419b Added stub method for apply button 2008-02-05 09:42:27 +00:00
Fabio Ganovelli ganovelli
f9d2946200 added include to queue 2008-02-04 18:01:11 +00:00
Paolo Cignoni cignoni
1f0f6b3d65 Separeted TFhandles drawing from TFBG one 2008-02-04 16:52:12 +00:00
Paolo Cignoni cignoni
9591fee9a5 Tried to add trackball handling during editing but failed because of unexpected linking error 2008-02-04 16:51:32 +00:00
Paolo Cignoni cignoni
1c847478e7 REMOVE_TF_ALL -= REMOVE_TF_BG 2008-02-04 16:50:43 +00:00
Paolo Cignoni cignoni
2e31c64215 - Minor fixes 2008-02-04 15:59:04 +00:00
Paolo Cignoni cignoni
a3a914877b - Fixed GPU Rendering: now there's no relation between depth texture size and maximum number of vertices allowed.
- Maximum number of vertices allowed now depends upon maximum texture size supported by the GPU. Anyway, since supporting very large textures does not necessary mean that's wise to use them, it's better to clamp texture size at 4096: eg. GF 8400 with 256MB can't handle very well 4 x 64MB textures while 4 x 16MB shouldn't be a problem.
2008-02-04 15:50:54 +00:00
Paolo Cignoni cignoni
f7a6862677 - Fixed GPU Rendering: now there's no relation between depth texture size and maximum number of vertices allowed.
- Maximum number of vertices allowed now depends upon maximum texture size supported by the GPU. Anyway, since supporting very large textures does not necessary mean that's wise to use them, it's better to clamp texture size at 4096: eg. GF 8400 with 256MB can't handle very well 4 x 64MB textures while 4 x 16MB shouldn't be a problem.
2008-02-04 15:37:43 +00:00
Gianpaolo Palma gianpaolopalma
73c7cfe4cb Added management to texture coordinates per vertex 2008-02-04 13:28:36 +00:00
Gianpaolo Palma gianpaolopalma
782f85d788 Added support to follow elements: IndexedTriangleSet, IndexedTriangleFanSet, IndexedTriangleStripSet, IndexedQuadSet.
Improved support to QuadSet element.
Bug fixed in methods getColor, getNormal, getTextureCoord.
2008-02-04 13:24:38 +00:00
Gianpaolo Palma gianpaolopalma
4048d7f45f Added error codes 2008-02-04 13:20:33 +00:00
Gianpaolo Palma gianpaolopalma
5257f75744 Added reference to Qt opengl module for method vcg::glu_tesselator::tesselate 2008-02-04 13:19:09 +00:00
Paolo Cignoni cignoni
58fbb269bd better managment of state changes when layer switching and adding files to the current layer set 2008-02-04 09:34:02 +00:00
Paolo Cignoni cignoni
0e40a0d1c1 Added check to avoid drawing textures when mesh has no texture (and face color too) 2008-02-04 09:32:56 +00:00
Paolo Cignoni cignoni
2d203e13bd added the missing ui in the pro and corrected the mismatched including 2008-02-04 00:32:57 +00:00
Paolo Cignoni cignoni
cc67368428 Now the add of the various types check for the existence of the needed stuff (e.g. per wedge normal are added only if the mesh support them) 2008-02-04 00:17:43 +00:00
Paolo Cignoni cignoni
9bdf5d331a Corrected iteration on faces in the face-shape-quality. now respect isD 2008-02-03 23:33:13 +00:00
Paolo Cignoni cignoni
c9c41bab26 Correction (previous version was corrupted) 2008-02-03 17:04:09 +00:00
Paolo Cignoni cignoni
cb32d41243 moved connections from constructor to drawEqualizerHistogram 2008-02-03 16:45:58 +00:00
Paolo Cignoni cignoni
321470e2c6 - QMD: Modified EqHandle handles[] in EqHandle* handles[]
- EQH: Modified EqHandle contructor
2008-02-03 16:17:39 +00:00
Paolo Cignoni cignoni
43c29bcae0 *** empty log message *** 2008-02-03 15:37:06 +00:00
Paolo Cignoni cignoni
91d0c8b266 handle-h\cpp:
- overloaded constructor
2008-02-03 14:37:08 +00:00
Paolo Cignoni cignoni
7fef2bc29b Changed drawlLines in drawPolygone for drawing handle 2008-02-03 11:33:59 +00:00
Paolo Cignoni cignoni
840740cde6 added personalized project files to get meshlab with editQuality support immediately 2008-02-02 17:57:04 +00:00
Paolo Cignoni cignoni
f90639d709 qualitymapperdialog.h\cpp:
- added the collection of data reguarding the TF's BG bars. Now the redraw of the BG works fine
- fixed bug about histogram bars position. Now they are positioned in Z=-1 (both the top and bottom ones)
2008-02-02 17:48:14 +00:00
Paolo Cignoni cignoni
d268a7e8b8 const_types.h:
- added new macro to denote the desplacement of all TF's items (lines, handles and bg)

qualitymapperdialog.cpp:
- added calls to clearItems before the building a new TF to collect old data
- fixed bug about Tf lines storing (now working properly)
2008-02-02 16:56:22 +00:00
Paolo Cignoni cignoni
5dc88aecd4 Version 1.1.1b 2008-02-02 15:56:38 +00:00
Paolo Cignoni cignoni
37e4fed3b6 const_types.h:
- added some constants used for data collection

handle.h\cpp:
- moved in this class the reference to chart info struct
- some other minor changes

eqhandle.h\cpp:
- some minor changes

tfhandles.h\cpp:
- added some basic management methods
- added mouse movement callback (stub)

qualitymapperdialog.h\cpp:
- changed Graphics Items' management for TF drawing. Now the items are stored per-group in some containers, attached and detached from the scene when necessary (still stub)
- added clearItems method and updated clearScene method for efficient generic memory management
- added management of TfHandle move (still stub)
- some other minor changes and updates

transferfunction.h\cpp:
- changed internal TfChannel representation of KEY_LIST. Now, each entry contains a key and a x-value and a pointer to a TF_KEY struct (before there was a value storing). (performance boost expected)
2008-02-02 15:23:46 +00:00
Gianpaolo Palma gianpaolopalma
0e43bc04e4 Defined X3D exporter interface 2008-02-02 13:52:54 +00:00
Gianpaolo Palma gianpaolopalma
cc87e24a9b Defined an X3D importer that parse and load mesh data from following element:
Shape, Appearance, Transform, TriangleSet, TriangleStripSet, TrinagleFanSet, QuadSet, Inline, ProtoInstance, ProtoDecalre, ExternProtoDecalre, ImageTexture
2008-02-02 13:51:40 +00:00
Paolo Cignoni cignoni
f0755e4448 Added Gamma Correction and colorBand drawing 2008-02-02 13:49:07 +00:00
Gianpaolo Palma gianpaolopalma
fe996416a3 Defined AdditionalInfoX3D with information required to parse correctly X3D scene
Defined return code error
2008-02-02 13:46:00 +00:00
Gianpaolo Palma gianpaolopalma
9d3ea04007 First working version 2008-02-02 13:41:08 +00:00
Gianpaolo Palma gianpaolopalma
4088fe24f0 Defined X3D plugin interface 2008-02-02 13:36:09 +00:00
Gianpaolo Palma gianpaolopalma
fd232615fc Added headers and sources
Added line to link Qt XML module
2008-02-02 13:32:03 +00:00
Paolo Cignoni cignoni
1e7308b5aa *** empty log message *** 2008-01-31 16:01:28 +00:00
Paolo Cignoni cignoni
6fca5445ff -TO DO updated 2008-01-31 14:48:17 +00:00
Paolo Cignoni cignoni
b09815ccaa - Reworking GPU version in order to unlink relation between depth texture size and vertex position/normals texture size. Due to this, it might not work in some circumstances. 2008-01-30 20:50:22 +00:00
Paolo Cignoni cignoni
52af5fd605 - Reworking GPU version in order to unlink relation between depth texture size and vertex position/normals texture size. Due to this, it might not work in some circumstances.
- Little clean-ups here and there
2008-01-30 20:48:09 +00:00