Commit Graph

30 Commits

Author SHA1 Message Date
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