Commit Graph

47 Commits

Author SHA1 Message Date
Guido Ranzuglia 20fa52181f - fixed "if there is color both vertex/face colors are enabled even if there is just one of them" bug 2016-10-13 04:28:00 +02:00
Paolo Cignoni 32333eba24 Huge copyright sanitization of the header files of vcg folder. 2016-06-13 05:29:25 +00:00
Paolo Cignoni ac56acdd9f Added the OpenMem and OpenStream version of the OFF importer to allow generic use of the importer 2014-12-11 21:34:46 +00:00
Paolo Cignoni 9fa2820419 removed bug causing crash when reading a emtpy off 2014-09-07 21:36:52 +00:00
Paolo Cignoni e362aef041 Corrected bug in the faux edge setting when loading polygonal meshes. 2014-05-07 09:21:46 +00:00
Paolo Cignoni d2f164d90c PolygonalMesh Debugging: Added direct loading of quad mesh into polygonal meshes (without need of having a trimesh to support) 2014-02-18 10:58:57 +00:00
Paolo Cignoni 303d4e1fca factored out the internal fan tessellator from the obj to a generic place to be used also in other importers 2013-11-25 12:49:12 +00:00
Paolo Cignoni 8d9d7b9009 removed harmless gcc warning 2013-06-24 08:34:01 +00:00
Paolo Cignoni e77e13a8fe Improved management of fauxbit for quad and polygonal meshes in OBJ (did not set the high level polygonal bit) and OFF (wrong faux bits for polygonal faces with more than 4 sides) 2013-04-12 09:49:51 +00:00
granzuglia 099a18f47c - fixed crash caused by the wrong order in the && boolean conditions. It's incredible that the importer has never crashed before today.... 2013-03-25 18:00:34 +00:00
Paolo Cignoni aca80c215b harmless gcc warning 2012-11-10 16:22:21 +00:00
Nico Pietroni 57adeea537 line 423 replaced assignment with Import call to make possible compile with non floats 2012-11-07 21:48:01 +00:00
Paolo Cignoni 3e81ac032f Corrected wrong call to the internal fan triangulator in off importer 2012-11-07 06:59:01 +00:00
Paolo Cignoni 45b736926a Corrected triangulation bug in off file. 2012-11-06 21:54:13 +00:00
Paolo Cignoni 256a767f37 updated after the changes to UpdateColor 2012-10-19 12:46:25 +00:00
Paolo Cignoni 4b0fb8bb2e Ongoing corrections of include paths to comply the new folder arrangement 2011-04-03 20:55:22 +00:00
Paolo Cignoni 3eb92cbe8a harmless gcc warnings 2011-02-17 11:38:01 +00:00
Paolo Cignoni 7037098822 Added to BitQuad Support a Generic quad triangulation function and used in OFF importer.
It takes in input 4 vertex pointrs and rotate them so that a simple fan triangulation is Ok.
  It uses geometric criteria for avoiding bad shaped triangles, and folds
  and it use an internal set of already created diagonal to avoid the creation of non manifold situations.
2011-01-27 15:49:21 +00:00
Paolo Cignoni 377333e805 cleaned up useless parameters in off loading 2010-12-21 15:04:14 +00:00
Paolo Cignoni c6d3aee778 improved support of per face colored off 2010-10-21 17:45:14 +00:00
Paolo Cignoni 691ff07eb4 more robust parsing of malformed off (should not crash!) 2010-04-19 12:20:56 +00:00
Paolo Cignoni 14850843c6 Better triangulation of quad into two triangles. 2010-01-16 14:59:40 +00:00
Paolo Cignoni 5373661f74 improved robustness of loading of files ending with \r on non windows machines and improved the management of bit-polygonal meshes 2009-09-28 00:01:12 +00:00
mtarini 241d058c92 Changed importers (off ply obj raw) to tag edges inside polygonal faces as "faux" 2009-04-20 22:59:08 +00:00
Paolo Cignoni 3c79fae752 Improved robustness of parsing of malformed off 2008-10-16 14:32:37 +00:00
Paolo Cignoni 0bdd7975b0 added suppor of color in OFF format. 2008-04-15 10:38:12 +00:00
granzuglia 4725bc5aec added two missing include files:
1) #include <wrap/callback.h>
2) #include <wrap/io_trimesh/io_mask.h>
2008-03-13 08:48:10 +00:00
Paolo Cignoni 8b69adbfbd removed harmless gcc warnings 2007-12-13 17:57:33 +00:00
mtarini e1f61a9f6f Texture coord name change! "TCoord" and "Texture" are BAD. "TexCoord" is GOOD. 2007-03-12 16:40:17 +00:00
Massimiliano Corsini ad53facf1f Fix bug in texture coordinates reading 2006-03-29 08:50:10 +00:00
Massimiliano Corsini a467768485 Fix several bugs
Add LoadMask
Improve parsing capabilities (account for unexpected newline)
2006-03-29 08:15:46 +00:00
Paolo Cignoni e20aab33b4 Corrected bug in wrong counting the parsed tokens during the reading of color components 2006-03-01 08:25:30 +00:00
Massimiliano Corsini 31b0b8aa0d Fix loading mask update 2006-02-28 15:18:10 +00:00
Massimiliano Corsini ce975c026d Update load mask 2006-02-09 15:56:34 +00:00
Massimiliano Corsini e12695f3ea Insert Laurent Saboret modifications
Add color components handling
2006-02-09 15:15:56 +00:00
Massimiliano Corsini 99735eeb1e Renamed UnexpectedEOF as InvalidFile and
added UnsupportedFormat and ErrorNotTriangularFace (by Laurent Saboret)
2006-02-06 13:11:01 +00:00
Paolo Cignoni 96ce1e8a4a Added mask filling in open 2006-01-30 15:02:50 +00:00
Paolo Cignoni 6dca4be1ab Changed ply::PlyMask to io::Mask 2006-01-10 13:20:42 +00:00
Paolo Cignoni 0863ff9364 Added and removed typenames for gcc compiling... 2005-12-01 00:58:56 +00:00
Paolo Cignoni 7d58ce0910 Added casts and changed integral types to remove warnings 2005-11-12 18:12:16 +00:00
Paolo Cignoni 239c1a5260 *** empty log message *** 2005-09-28 10:30:14 +00:00
Paolo Cignoni 54d5f9c148 Resolved scoping of constant of OFF codes 2005-01-26 22:44:51 +00:00
Paolo Cignoni 71de928876 Added #include<vcg/complex/trimesh/allocate.h>
it was giving problems with Allocator::
2005-01-18 12:35:18 +00:00
Paolo Cignoni 4292517ae8 changed a .. rfind('OFF') .. in rfind("OFF") and added some casts 2005-01-03 11:18:24 +00:00
Paolo Cignoni b5553ec6ca Corrected small bug in the tokenizer (it would add a fake token for lines ending with a space before /n) 2004-11-23 11:56:50 +00:00
Paolo Cignoni 68a655b0e7 Better Doxygen documentation 2004-11-18 15:13:03 +00:00
Paolo Cignoni 7ed79b6afd Initial commit 2004-11-17 10:13:48 +00:00