Commit Graph

29 Commits

Author SHA1 Message Date
Paolo Cignoni 43f114d237 Heavy refactoring of the OBJ export
The recent material attribute changes had some issue when exporting
mesh newly created.
2017-05-12 16:23:12 +02:00
John Senneker 0ee03d276d Fix clang compiler errors (">>" -> "> >") 2016-12-12 18:07:20 -05:00
John Senneker 7fdfd7423f Add back deleted include in obj exporter 2016-11-22 16:44:36 -05:00
John Senneker dc3f714b34 Add a per-mesh attribute in OBJ importer to hold a
std::vector<Material>, and a per-face attribute to hold an index into
that vector.
2016-11-22 16:21:57 -05:00
John Senneker 1abba4a694 Initial commit 2016-11-21 18:36:20 -05:00
Paolo Cignoni 32333eba24 Huge copyright sanitization of the header files of vcg folder. 2016-06-13 05:29:25 +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
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 636f818107 Cleaned up a bit the indentation and added support for saving line mesh in OBJ 2013-07-26 09:35:44 +00:00
Massimiliano Corsini a5f4b797c7 add newline at the end of file tag - this fix a problem on mac platform 2013-04-15 12:29:54 +00:00
Nico Pietroni 4124b595f7 several templated parameters to make it possible to works with mesh that have scalar type as double 2013-01-22 10:03:33 +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 dfba841714 add support for vertex per color with OBJ files (read/write) 2011-01-13 18:04:32 +00:00
Paolo Cignoni bc23a049bd removed harmless gcc warnings (unsigned vs signed int) 2010-06-23 14:26:52 +00:00
ganovelli 9834a6dc5c 3 --> (*fi).VN() 2010-06-18 08:30:50 +00:00
mtarini 54ca153009 mini-changes at various importer exporters, to maximize compatibility 2010-03-13 00:52:17 +00:00
Paolo Cignoni 28c13b2037 removed harmless gcc warnings 2009-01-03 22:44:49 +00:00
Paolo Cignoni 700b8cd26e Removed annoying unsigned vs signed warnings.
Thanks to Alain Boyer for the kind bug submission!
2008-06-29 22:44:44 +00:00
Paolo Cignoni 2828e5c8e4 corrected various bugs in the export of texture coords 2008-02-27 00:34:43 +00:00
Paolo Cignoni dcdfdb1305 correct management of point only files 2007-10-17 09:49:50 +00:00
mtarini e1f61a9f6f Texture coord name change! "TCoord" and "Texture" are BAD. "TexCoord" is GOOD. 2007-03-12 16:40:17 +00:00
ganovelli 9ab9ea73cc added include to tcoord2 2007-03-08 11:27:52 +00:00
Marco Di Benedetto e8df3af443 Commented out strange abort in WriteMaterials() 2007-02-16 21:12:13 +00:00
Paolo Cignoni c88392e13b Corrected bug in the management of deleted vertices 2006-12-07 00:37:58 +00:00
Paolo Cignoni 162c7256e5 Added casts to remove warnings 2006-10-09 19:58:08 +00:00
Paolo Cignoni 391470c093 Removed bug in the creation of the material filename 2006-09-18 12:14:38 +00:00
Paolo Cignoni e71a29248f First Release with OBJ import support 2006-03-07 13:19:29 +00:00
Massimiliano Corsini a14635f2fe remove qt include 2006-02-28 14:38:09 +00:00
Paolo Cignoni 897721f451 transfer of Export_3ds.h, Export_obj.h, Io_3ds_obj_material.h from Meshlab to vcg 2006-02-16 19:28:36 +00:00