Commit Graph

1165 Commits

Author SHA1 Message Date
Paolo Cignoni 7364bbdb61 Added managment of face color in saving off files 2014-10-29 22:24:45 +00:00
Gianpaolo Palma b363673f0e Added generic case 2014-10-14 09:28:28 +00:00
Paolo Cignoni cd46470774 corrected a small bug in the saving of ply got by generalizing float/double type 2014-10-09 16:40:35 +00:00
Paolo Cignoni c8d09b8ed5 Corrected the ShotScalarType definintion in export Ply 2014-10-08 17:08:16 +00:00
granzuglia eefdd5ddf6 - improved support for double precision floating point attributes 2014-10-06 08:28:40 +00:00
granzuglia adca0d032e - added precision.h file 2014-10-06 08:27:24 +00:00
Nico Pietroni 66c7b45321 removed damping of debug meshes 2014-09-20 23:56:36 +00:00
Nico Pietroni 40b3c014c2 minor changes in using the parametrizator, now called using the appropriate namespace 2014-09-14 01:04:23 +00:00
Nico Pietroni 37880b3f52 minor changes on naming functions 2014-09-14 01:03:41 +00:00
Nico Pietroni 32dd3138f8 minor changes, added namespace 2014-09-14 01:03:16 +00:00
Nico Pietroni 4fe40ecef5 completely restructured the whole class, much more robust 2014-09-11 20:42:57 +00:00
Nico Pietroni 7911ad3d93 minor naming changes 2014-09-11 20:41:35 +00:00
Paolo Cignoni 9fa2820419 removed bug causing crash when reading a emtpy off 2014-09-07 21:36:52 +00:00
Luigi Malomo a78ac53814 added edge mesh support to OBJ importer
corrected a type to avoid clang compiler issues
2014-09-06 11:06:23 +00:00
granzuglia 5c809dc701 - renamed GL_TYPE with GL_TYPE_NM in order to avoid names conflict 2014-08-28 08:59:24 +00:00
Federico Ponchio f92992780e added typename 2014-08-27 11:38:42 +00:00
Paolo Cignoni 7a68b662a8 Commented out again the extension added for managing double uniform 2014-08-23 01:30:40 +00:00
granzuglia db5ffd6d80 - small changes 2014-08-21 16:26:16 +00:00
granzuglia 8cebfaf679 pick.h:
- added support for double scalar type (the changes have been validated by Paolo)
- there is still a bug on the PickClosestFace function.
2014-08-09 10:00:09 +00:00
granzuglia 558fcd784a trimesh.h:
- added ScalarType typedef to GL_TYPE structure
2014-08-09 09:54:43 +00:00
granzuglia eedb03d390 trackmode.h:
- removed Visual Studio warnings
2014-08-09 09:53:02 +00:00
granzuglia e24129b20e trackmode.cpp:
- removed Visual Studio warnings
2014-08-09 09:52:27 +00:00
granzuglia f3fe37bed1 rubberband.cpp:
- removed Visual Studio warnings
2014-08-09 09:51:46 +00:00
granzuglia 0a3c8c3d8f export_idtf.h:
- removed Visual Studio warnings
2014-08-09 09:50:42 +00:00
granzuglia 1d2e76c17b export_obj.h:
- added additional control on mesh having per-vertex texture coordinates
2014-08-09 09:49:56 +00:00
granzuglia 42a5755fb0 import_asc.h:
- removed Visual Studio warnings
2014-08-09 09:47:24 +00:00
granzuglia 622a67ccc9 import_ply.h:
- err == ply::E_NOERROR is not a critical error
2014-08-09 09:46:19 +00:00
granzuglia dd19843fe1 import_ptx.h:
- added support for double scalar type
2014-08-09 09:43:24 +00:00
Paolo Cignoni ffb02815a8 Added a static class GL_TYPE with a memenber SCALAR that returns the correct GLenum (GL_FLOAT or GL_DOUBLE) according to the template type. Needed to make this class works also with double... 2014-08-09 00:06:15 +00:00
Paolo Cignoni f0a765bf1e added a few missing _GLW_IMPLEMENT_SCALAR_UNIFORM_ for doubles... (still fighting for float/double independence...) 2014-08-09 00:04:18 +00:00
Paolo Cignoni 9b6833e521 added templated glLoadMatrix that automatically choose the right OpenGL call according the matrix type 2014-08-06 22:37:55 +00:00
Nico Pietroni ea8856c468 corrected one compilation bug 2014-07-03 15:40:11 +00:00
Nico Pietroni c3daffa826 added instruction to skip an extra line in the ffield file 2014-07-02 15:02:57 +00:00
Paolo Cignoni 5e910a0058 Improved float/double consistency removing some wrong Point3f and substitued with MeshType::CoordType 2014-07-01 10:08:30 +00:00
Paolo Cignoni aa63261fae Improved float/double when reading ascii formats (read in double and then convert to the needed type) 2014-07-01 09:46:46 +00:00
Paolo Cignoni d127123513 Reasonable but harmless clang warning cleanup 2014-07-01 07:21:34 +00:00
Paolo Cignoni 1491037631 Improved float/double consistency removing some wrong Point3f and substitued with MeshType::CoordType 2014-06-27 15:09:08 +00:00
Paolo Cignoni 5ad487b740 Added a missing typename 2014-06-27 14:47:03 +00:00
granzuglia a30e5c9afd - added support for double scalar type 2014-06-27 14:19:45 +00:00
granzuglia d349f3d3f6 - from Point3f to CoordType 2014-06-27 09:58:29 +00:00
Paolo Cignoni c02fd854f7 Updated the some of the importers to the double/float managmaent. Now by default ascii files are read as double and if necessary downcasted to float. 2014-06-27 08:51:31 +00:00
Nico Pietroni c5afb52dd6 added SaveFaceFIELD 2014-06-22 12:27:03 +00:00
Paolo Cignoni 4fc33e2e95 Improved float/double consistency removing some wrong Point3f and substitued with MeshType::CoordType 2014-06-19 11:42:23 +00:00
Paolo Cignoni b605d04d26 Improved float/double consistency removing some wrong Point3f and substitued with MeshType::CoordType 2014-06-19 11:41:55 +00:00
Paolo Cignoni e1b38767ee Small changes in the long long way to making meshlab and the vcglib really float/double independent 2014-06-18 10:55:09 +00:00
Paolo Cignoni f9fbb89854 Small changes in the long long way to making meshlab and the vcglib really float/double independent
TexCoordScalarType can be different from the mesh scalar type
2014-06-18 10:51:46 +00:00
Paolo Cignoni 3e4c020642 Corrected a small bug in the reading of poligonal color and quality (it was not copied in all the triangles of the triangulated poligon) 2014-06-17 13:41:26 +00:00
Paolo Cignoni 009c6f4f7f Added interfaces for color managment 2014-06-17 13:21:58 +00:00
Paolo Cignoni f6574c7abe Added a fallback to the standard fan tessellator for managing the cases where the glu::tessellator can fail (better than nothing...) 2014-06-17 13:07:07 +00:00
Paolo Cignoni 5e579abc59 Added support for saving polygonal meshes in ascii ply 2014-05-30 08:42:55 +00:00