85 Commits

Author SHA1 Message Date
Guido Ranzuglia granzuglia
a6d0baeaa0 - fixed some bugs...but not all 2014-11-30 03:46:20 +00:00
Guido Ranzuglia granzuglia
077b95d20f - fixed some bugs (other bugs still remain)
- flatwire rendering has been completely switched to the replicated pipeline
- lighting actions don't force anymore a buffer object updating
2014-11-28 23:13:37 +00:00
Guido Ranzuglia granzuglia
45c0e54681 - first version of the new optimized rendering engine 2014-11-28 13:08:06 +00:00
Guido Ranzuglia granzuglia
5f60f1208f - further memory optimizations on the rendering process 2014-11-23 16:06:28 +00:00
Guido Ranzuglia granzuglia
5d160b6d89 - optimized version not using useless indexed triangles buffer object 2014-11-23 13:29:24 +00:00
Guido Ranzuglia granzuglia
bcf711a3b9 - added per wedge texture support (this is just a first version...it will be changed soon) 2014-11-22 12:32:30 +00:00
Paolo Cignoni cignoni
489dbfa9c7 Still working on the new rendering engine. more and more modes are working now... 2014-11-19 10:09:32 +00:00
Paolo Cignoni cignoni
f8f7c1d048 Almost working new rendering pipeline (works for basic rendering modes; no texture :( ) 2014-11-17 11:28:35 +00:00
Paolo Cignoni cignoni
ccb5e68309 First steps toward vbo rendering... 2014-11-16 01:33:59 +00:00
Guido Ranzuglia granzuglia
d2f5be8865 - DANGEROUS COMMIT: changed completely the MeshLab rendering system (now it doesn't draw nothing...) 2014-11-15 21:31:03 +00:00
Paolo Cignoni cignoni
02e0f2bc23 Removed selection state stuff from the meshmodel 2014-11-06 16:28:00 +00:00
Paolo Cignoni cignoni
0e84de59ac Cleaned up the interface of Visibility and changed the methods for listing all the meshes and raster of a document 2014-10-30 13:46:44 +00:00
Paolo Cignoni cignoni
0b214ed910 Added Per face curvature and generic float/double (m kind) Curvature Direction components 2014-08-20 09:48:32 +00:00
Paolo Cignoni cignoni
0fe5d587aa updated meshlab and common library to float/double independence 2014-06-19 08:48:11 +00:00
Paolo Cignoni cignoni
d9d39ebd37 Corrected include mess with filterscript.h and (important change)
Changed the semantic of the MeshModel::UpdateDataMask - now it always enable a reqested attribute even if it should be already enabled. Re-enabling a ocf attribute is harmless and this can avoid the problem in which for some strange reasons the MeshModel bitmask is no more aligned with the real state of the mesh.
2014-05-13 20:31:34 +00:00
Guido Ranzuglia granzuglia
c2981d6edc - WARNING!!!! DANGEROUS COMMIT. REALLY UNTESTED!!! added support for xml filters in old fashioned scripting system 2014-05-13 14:03:44 +00:00
Paolo Cignoni cignoni
d78ad7b061 corrected the IsPreviewable bug. Now filter changing face color or face normal are again previewable. 2014-04-28 11:58:39 +00:00
Guido Ranzuglia granzuglia
c1ab2fad2e - new MeshLabServer version able to deal with mlp files has been committed 2014-04-18 20:54:55 +00:00
Paolo Cignoni cignoni
850162d96b Added the addOrGetMesh method to the MeshModel Class to allow the simple rewrite of exsiting layers
QT-Registered RenderMode type to allow the safe message containing non-QT types
2014-04-16 09:21:38 +00:00
Guido Ranzuglia granzuglia
89d010bd3a - added new RenderMode parameter to addNewMesh function. The parameter is used to initialize the per mesh rendering mode according to the requested value. 2014-03-31 16:11:16 +00:00
Paolo Cignoni cignoni
94dd66a8e5 removed useless inclusion of <QtGui> that was causing warnings for GLEW conflicts 2014-02-12 13:58:35 +00:00
Guido Ranzuglia granzuglia
1265e65eca - a lot of small bugs fixed 2013-12-12 17:25:04 +00:00
Guido Ranzuglia granzuglia
a5d5d5eb56 - Huge Commit! added per mesh rendering mode system!
Warning! there is a major drawback with the MeshRenderingInterface plugins. It will be fixed as soon as possible.
2013-10-08 17:09:33 +00:00
Guido Ranzuglia granzuglia
2c4d2c600c - Qtime init was missing 2013-07-16 09:10:35 +00:00
Guido Ranzuglia granzuglia
5470efde87 - fixed small QTime according to qt5 new semantics 2013-04-19 09:08:57 +00:00
Paolo Cignoni cignoni
b2ab77cbf3 Refactored setCurrentMesh to avoid duplicated code (getMesh to find a mesh from the id) 2013-02-26 22:05:16 +00:00
Guido Ranzuglia granzuglia
c0266d3c58 - removed compile time errors 2012-12-19 12:06:00 +00:00
Paolo Cignoni cignoni
dec347ffb4 ** Very massive change to the decorator. Interface has been changed. **
some Decorators could still not work. 
Now decorator are per mesh or per document entities. 
Each mesh can have its set of decorators and each view can show different decorators. For example it is now easy to show the dots of one layer and the normals of another one or, for two different views show in one the histogram of one mesh and in the other the histogram of the other one. 
Now multiple realtime display boxes can safely exists (it is possible to show bbox info of two meshes simultaneously)

Still to do: 
optimise the updates of per mesh decorators
bug in the update of the menu check

Other minor things done in this big commit:
Removed Tag stuff. Dead.
Renamed various signals/slots to something more meaningful 
removed log pointer from glare
Complete show edge in the base decorator
2012-11-29 23:16:25 +00:00
Paolo Cignoni cignoni
345824ffe0 First changes to the meshmodel so that planes has enum based semantic 2012-10-26 13:05:42 +00:00
Guido Ranzuglia granzuglia
d524f78bee - cleaned up a lot of files removing useless functions 2012-10-18 10:06:57 +00:00
Paolo Cignoni cignoni
c1ad4c594f Updated the basecode to the last changes of the VCG library
- UpdateNormals -> UpdateNormal
- Reduced the number of needed includes of the vcg library
2012-10-15 09:21:23 +00:00
Guido Ranzuglia granzuglia
c512929d3e updateDataMask now update the mesh topology every time; even if the topology attributes are already switched on. 2012-09-11 12:09:10 +00:00
Guido Ranzuglia granzuglia
994c8aec4d - we love information hiding! 2012-07-25 06:54:45 +00:00
Guido Ranzuglia granzuglia
ce8d4069c0 - added dataMask function 2012-07-24 15:21:38 +00:00
Guido Ranzuglia granzuglia
6653514090 - invoked raster destructors 2012-07-23 14:05:40 +00:00
Paolo Cignoni cignoni
edec6e2f0a Added a UpdateBoxAndNormals method to the meshmodel class. This is useful to have a UNIFORM way of recomputing stuff after some geometry change. 2012-07-04 08:36:18 +00:00
Paolo Cignoni cignoni
87d01010e6 Important Change:
removed the enum bit VERTFLAGBORDER FACEFLAGBORDER (they were deprecated...)
and reordered the MeshElement enums. Corrected a nasty bug caused by two colliding (!) enums.
2012-07-02 08:33:28 +00:00
Guido Ranzuglia granzuglia
ff216153fc added rasters popup menu.
removed layers buttons.
2012-06-29 08:25:41 +00:00
Guido Ranzuglia granzuglia
c9fa7b2251 code has been rearranged just a little bit 2012-05-29 13:45:56 +00:00
Marco Callieri mcallieri
ecfeaee1d7 fixed bug in NameDisambiguator, made label name checking more coherent between project loading / mesh loading / mesh creation
TO BE TESTED
2012-05-25 12:50:32 +00:00
Paolo Cignoni cignoni
ad71427656 Removed harmless gcc warnings 2012-05-07 07:31:56 +00:00
Guido Ranzuglia granzuglia
828d156d6c changed update functions interfaces. 2012-04-26 16:56:57 +00:00
Guido Ranzuglia granzuglia
35165025d3 - added the raster update system 2012-04-26 10:32:38 +00:00
Guido Ranzuglia granzuglia
1bde5015bb - removing a mesh from a document with only one mesh now produce an empty project 2012-04-20 13:31:35 +00:00
Guido Ranzuglia granzuglia
d1716e586e added updateProgressBar mechanism for filter running in a different thread 2012-03-30 09:54:15 +00:00
Guido Ranzuglia granzuglia
306371eb5b removed crash on closing window with an active shader 2012-03-16 17:28:08 +00:00
Paolo Cignoni cignoni
bd34f87d52 added a check to avoid too frequent meshupdating 2012-03-16 13:20:25 +00:00
Guido Ranzuglia granzuglia
0de224dbe7 added new mechanism to interactive render the filter when it's running. 2012-03-16 08:36:03 +00:00
Paolo Cignoni cignoni
14e315ac36 Changed the behaviour of the raster dialog visible/unvisible. Now the eye icon for raster has the same meaning of meshes. To switch to the 'rastermode' where the given raster is shown there is an apposite button that take into account the current raster. 2012-03-06 00:18:50 +00:00
Paolo Cignoni cignoni
ac0a7f5086 Added a MeshModel::Clear method to remove a bug related to reloading a mesh after some attributes (like topology) have been added 2012-01-25 10:25:04 +00:00