Commit Graph

42 Commits

Author SHA1 Message Date
Paolo Cignoni dfba841714 add support for vertex per color with OBJ files (read/write) 2011-01-13 18:04:32 +00:00
Paolo Cignoni 4ee60382b0 put qt debug code inside guards 2010-03-18 10:20:08 +00:00
mtarini 54ca153009 mini-changes at various importer exporters, to maximize compatibility 2010-03-13 00:52:17 +00:00
Paolo Cignoni 73ed783085 Significant change. Now obj with non-convex polygonal faces are correctly managed (and faux edges are supported too). Warning it requires GLU because it relies on glu tessellation. 2009-12-17 17:49:51 +00:00
Marco Di Benedetto 08f9b6a4b3 prevented cast/unused/uninitialized warnings and some indentation work. 2009-12-01 17:37:45 +00:00
Marco Di Benedetto 8e9062b12b 1) fixed token parsing : SplitToken() should take the original IO mask and not the clamped (with mesh attributes) one.
2) some indentation work.
2009-11-22 19:09:53 +00:00
Marco Di Benedetto 1994b5b493 removed implicit cast warning. 2009-10-21 18:43:51 +00:00
Paolo Cignoni d3b6444cb4 added polygonal bit mask setting 2009-10-01 15:46:54 +00:00
Paolo Cignoni 8be83c0e45 Added support of reading QOBJ variant of obj files (just quads) 2009-09-23 15:09:05 +00:00
Marco Di Benedetto e3f40f6c36 added checks for components before accessing them. 2009-06-22 16:53:40 +00:00
Marco Di Benedetto 60041df5b4 initialized material texture index to -1. 2009-04-27 10:00:53 +00:00
granzuglia 17d5caeed1 fixed compiler's errors 2009-04-21 05:58:08 +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
Marco Di Benedetto 8a454d266c added detection of wedge normal in LoadMask. 2009-03-24 17:14:54 +00:00
Paolo Cignoni 6f533063ae uint are not a standard type... 2009-01-07 08:58:00 +00:00
Paolo Cignoni 28c13b2037 removed harmless gcc warnings 2009-01-03 22:44:49 +00:00
Paolo Cignoni 5e1ccc4cfc added missing std:: 2008-12-19 15:52:20 +00:00
ganovelli 70ea5c2057 added support for loading directly polygon meshes.
If you are not using polygon mesh this commit does not change anything.
2008-12-18 18:02:44 +00:00
Massimiliano Corsini e98422ee49 fix tokenizeNextLine 2008-10-27 15:19:28 +00:00
Paolo Cignoni e5572b4f05 added support of internal edge bit for keeping track of triangulated polygonal faces 2008-06-26 08:41:11 +00:00
Paolo Cignoni bd784fabaa Corrected a small bug in the management of negative indexes of obj on non triangular faces 2008-06-14 07:29:31 +00:00
Paolo Cignoni e5857b7925 corrected a small bug causing crashes when loading bad-formed mtl files 2008-06-13 07:05:59 +00:00
Paolo Cignoni 6cf9aa4552 removed duplicated material class 2008-02-27 23:48:06 +00:00
Paolo Cignoni 04d307db0e added missing cast for normal assignments 2008-01-17 18:02:02 +00:00
Paolo Cignoni 8b69adbfbd removed harmless gcc warnings 2007-12-13 17:57:33 +00:00
Paolo Cignoni dcdfdb1305 correct management of point only files 2007-10-17 09:49:50 +00:00
Paolo Cignoni cb9308761e Added in load mask the face color bit when there is a generic material used 2007-07-20 14:49:46 +00:00
Paolo Cignoni df1c1d2c62 Added face coloring when there is a texture (and therefore a material) 2007-07-05 14:47:04 +00:00
Paolo Cignoni f69f481085 resolved issue related to the parsing of CR LF under *nixes 2007-04-18 13:33:11 +00:00
Paolo Cignoni 5624d54730 Added managment of map_Ka textures (and not only map_Kd) 2007-04-18 07:01:26 +00:00
Paolo Cignoni bbcb8dc26b Removed a bug in the managment of non triangular faces 2006-12-21 00:36:17 +00:00
Paolo Cignoni 6d5f52174b Removed use of tellg that is broken in current version of mingw 2006-12-12 02:47:12 +00:00
Paolo Cignoni 8738390450 ReWrote loadMask. Now shorter and faster. 2006-11-21 10:56:41 +00:00
Paolo Cignoni 162c7256e5 Added casts to remove warnings 2006-10-09 19:58:08 +00:00
Paolo Cignoni ffc18db244 Major rewrite. Now shorter and more robust. 2006-07-09 05:41:17 +00:00
Paolo Cignoni ddf75dd249 added initial test on end of file in the tokenize 2006-06-21 04:26:26 +00:00
Paolo Cignoni a6d3a2c1ea Added mask clamping to the effective capabilities of the mesh 2006-05-21 07:01:04 +00:00
Paolo Cignoni 2754d4697d changes needed for compilation on linux 64b with gcc 3.4.5 2006-04-11 09:48:04 +00:00
Paolo Cignoni 2705825f50 Added managemnt of non critical errors 2006-03-29 09:27:07 +00:00
Massimiliano Corsini 2a7eef61f2 reset to zero warnings 2006-03-29 08:51:16 +00:00
Paolo Cignoni cab787170f added missing std:: 2006-03-27 07:18:22 +00:00
Paolo Cignoni e71a29248f First Release with OBJ import support 2006-03-07 13:19:29 +00:00