Commit Graph

178 Commits

Author SHA1 Message Date
granzuglia de752ec206 added new file for DAE importer/exporter 2006-11-02 23:57:42 +00:00
granzuglia b8bead6b42 good version 2006-11-02 19:15:29 +00:00
granzuglia 9da13efd77 the new collada importer 2006-11-02 18:15:55 +00:00
Paolo Cignoni 7c72709af7 Added a comment on an assert 2006-10-14 00:39:22 +00:00
Paolo Cignoni 1b9a2d40a2 Allowed the correct loading of meshes with 0 faces 2006-10-14 00:18:42 +00:00
Paolo Cignoni 162c7256e5 Added casts to remove warnings 2006-10-09 19:58:08 +00:00
Paolo Cignoni 5652756eaf First really working version. Previous code saved a wrong off.... 2006-09-29 13:56:27 +00:00
granzuglia 667a071b31 #include changed 2006-09-22 06:24:01 +00:00
granzuglia 36b104b62e additionalinfo is added 2006-09-22 06:21:55 +00:00
granzuglia 921b2b773b export dae with cool new feature 2006-09-22 06:04:22 +00:00
granzuglia 3d8ed2e408 collada importer with texture support 2006-09-22 06:01:40 +00:00
Paolo Cignoni 391470c093 Removed bug in the creation of the material filename 2006-09-18 12:14:38 +00:00
Paolo Cignoni 7310eb3f58 Corrected return value of save function (zero is no error) 2006-09-18 08:55:33 +00:00
granzuglia 9bc7cd795f fix the multimesh bug also in the other Open function 2006-08-11 11:12:01 +00:00
granzuglia f1dc38a271 finally fix the multimesh bug! 2006-08-11 11:09:40 +00:00
granzuglia 68324d999c fundamental changes in order to operate with other collada's viewer 2006-07-27 09:44:25 +00:00
Paolo Cignoni 73751c6e76 some extra typename directives for compilation with gcc 4.1 on linux 2006-07-12 12:12:36 +00:00
Paolo Cignoni ffc18db244 Major rewrite. Now shorter and more robust. 2006-07-09 05:41:17 +00:00
Paolo Cignoni 3c322d2206 Uncommented obj export. Now obj saving is enabled by default 2006-07-09 05:32:15 +00:00
granzuglia ff4d9d011d updated the importer and added the first version of the exporter 2006-07-07 06:55:41 +00:00
granzuglia 81a42f1925 newer version 2006-06-29 07:20:16 +00:00
Paolo Cignoni ddf75dd249 added initial test on end of file in the tokenize 2006-06-21 04:26:26 +00:00
granzuglia 962e6d809d patch a bug on a normal's indices 2006-06-20 12:44:54 +00:00
granzuglia db9b756e17 fixed error on empty mesh 2006-06-19 15:13:10 +00:00
granzuglia 3874f80d0a first version 2006-06-14 09:47:21 +00:00
Paolo Cignoni fcf6fa4f6b file length is now computed using fseek and ftell 2006-06-10 12:49:05 +00:00
Paolo Cignoni 89266673a1 fixed some bugs 2006-06-08 16:20:52 +00:00
Paolo Cignoni 8bfbf1111d Changes for compilation on linux AMD64. Some remarks: Linux filenames are case-sensitive. _fileno and _filelength do not exist on linux 2006-06-06 14:35:32 +00:00
Paolo Cignoni 38ec59e185 This class encapsulate a filter for importing ptx meshes. 2006-05-29 11:54:44 +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 faa420f9b0 Added ClampMask function 2006-05-21 06:58:55 +00:00
Paolo Cignoni 9a7c06e50a Wedge colors are loaded into facecolor only if specified in the incoming pi.mask 2006-05-16 15:01:30 +00:00
Paolo Cignoni 0308e552d0 Corrected bug: mismatch in the index of confidence vertex property (8 instead of 11)
Changed HasPerFaceColor to the new syntax (HasPerFaceColor(m)  instead of FaceType::HasFaceColor() )
2006-05-03 21:21:21 +00:00
Paolo Cignoni 7e9d50694e Added support for progress callback 2006-05-03 21:19:34 +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
Paolo Cignoni 462fa9effe extra includes necessary for compilation of meshlab on AMD 64 with gcc 3.4.5 2006-03-29 09:25:49 +00:00
Massimiliano Corsini 2a7eef61f2 reset to zero warnings 2006-03-29 08:51:16 +00:00
Massimiliano Corsini ad53facf1f Fix bug in texture coordinates reading 2006-03-29 08:50:10 +00:00
Massimiliano Corsini bfe721721e Minor change in LoadMask 2006-03-29 08:16:31 +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
Massimiliano Corsini 733bdcbc78 Add LoadMask to OFF importer 2006-03-29 08:14:20 +00:00
Paolo Cignoni cab787170f added missing std:: 2006-03-27 07:18:22 +00:00
Paolo Cignoni f4f2c70cc9 Added generic LoadMask 2006-03-27 07:17:49 +00:00
Paolo Cignoni 711ca3fe14 renamed 2006-03-07 13:23:39 +00:00
Paolo Cignoni 97a94f6369 changed include of io_material 2006-03-07 13:20:40 +00:00
Paolo Cignoni e71a29248f First Release with OBJ import support 2006-03-07 13:19:29 +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 b245068038 Fix comments 2006-02-28 14:50:00 +00:00
Massimiliano Corsini a14635f2fe remove qt include 2006-02-28 14:38:09 +00:00
Paolo Cignoni d70397ef2f added relative Path of the Lib3ds library 2006-02-17 23:53:36 +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
Massimiliano Corsini 9e2b3380b8 Fix typo 2006-02-10 16:14:53 +00:00
Paolo Cignoni df65425b35 Refactored import. No more duplicated code 2006-02-10 08:14:32 +00:00
Massimiliano Corsini bc26bbbc8e Expose load mask 2006-02-09 16:04:45 +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
Massimiliano Corsini 7da3794f20 Remove signed/unsigned warning 2006-02-03 09:46:24 +00:00
Paolo Cignoni 96ce1e8a4a Added mask filling in open 2006-01-30 15:02:50 +00:00
Paolo Cignoni b32218acdc Added GetExportMaskCapability 2006-01-30 13:43:59 +00:00
Massimiliano Corsini a278daab9e fix signed/unsigned mismatch 2006-01-27 09:11:48 +00:00
Paolo Cignoni 390a724ff7 Uniformed return type to the style of Open. Now every export function returns 0 in case of success. 2006-01-13 15:47:43 +00:00
Paolo Cignoni 9f8db472e2 Added use of Callback 2006-01-11 10:37:45 +00:00
Paolo Cignoni 6046c3b80b Removed warning for unused vars 2006-01-11 10:37:12 +00:00
Paolo Cignoni 6dca4be1ab Changed ply::PlyMask to io::Mask 2006-01-10 13:20:42 +00:00
Paolo Cignoni 0e28dcfe31 Corrected use of mask and callback in function Open(m,filename,mask,callback); 2006-01-04 16:17:03 +00:00
Paolo Cignoni e64b6d7849 Added callback managment on loading of binary stl 2006-01-04 16:14:43 +00:00
Paolo Cignoni cc15fbcde1 Added support for per vertex color stored as 'diffuse_xxx' property 2005-12-30 22:30:43 +00:00
Paolo Cignoni b2674f227f forgotten a couple of std:: 2005-12-02 10:04:18 +00:00
Paolo Cignoni d010453f42 Added loading of texturenames (normalmap still to do) 2005-12-02 00:01:30 +00:00
Paolo Cignoni 0863ff9364 Added and removed typenames for gcc compiling... 2005-12-01 00:58:56 +00:00
Paolo Cignoni a00bf751be Added safe zero initialization of index of wedge texture 2005-11-25 10:23:27 +00:00
Marco Callieri a31f11710a corrected protected access methods (camera, similarity) of shot 2005-11-23 16:59:55 +00:00
Nico Pietroni a671530c73 changed shot::similarity to shot::Similarity() and shot::camera to shot::Camera() 2005-11-23 15:48:25 +00:00
Paolo Cignoni 3fe284e519 Initial Commit 2005-11-12 18:34:17 +00:00
Paolo Cignoni 003e70f410 Changed wrong 'MyMesh' into the correct types 2005-11-12 18:24:56 +00:00
Paolo Cignoni fd8e9de787 Added support for non triangular faces (simple fan triangulation) and removed flags intiailization. 2005-11-12 18:13:30 +00:00
Paolo Cignoni 7d58ce0910 Added casts and changed integral types to remove warnings 2005-11-12 18:12:16 +00:00
Paolo Cignoni fc03684cb5 Added LoadMask without plyinfo and some comment on the mask usage 2005-10-14 15:09:56 +00:00
Paolo Cignoni f37ac2dd1b modified count edges 2005-09-28 12:35:36 +00:00
Paolo Cignoni 239c1a5260 *** empty log message *** 2005-09-28 10:30:14 +00:00
Paolo Cignoni 5b728745f4 Fixing comments 2005-09-28 10:17:49 +00:00
Paolo Cignoni ca8ec26f06 Created the ExporterOOFF Class
created the method Save
still to work on the faces since we only write he vertices indexes for each face and no other information.
2005-09-28 10:16:19 +00:00
Marco Di Benedetto 0f747b1967 #included missing <wrap/callback.h> and <vcg/complex/trimesh/allocate.h> 2005-09-15 09:29:45 +00:00
Paolo Cignoni 70574b6f7f Made inline PlyType specializations 2005-06-10 15:05:00 +00:00
Marco Callieri fc20ce261c added line cleaning to eliminate all separators, added a rough triangulation scheme. 2005-05-09 12:29:55 +00:00
Marco Callieri 6dfdc4fc5f First working version (callieri) 2005-05-06 13:58:26 +00:00
Federico Ponchio 9b9197ccb4 New gcc 3.3.3 (with bugs and features) now compiles. 2005-04-14 15:09:38 +00:00
Paolo Cignoni 4c1f6e73b6 removed small gcc compiling issues 2005-03-18 00:14:40 +00:00
Paolo Cignoni 7cd3979a16 Face Deleted Check Added. 2005-03-02 11:57:39 +00:00
Paolo Cignoni 6de8c98656 Point3f to SaveMeshType::CoordType 2005-03-02 11:19:05 +00:00
Paolo Cignoni 0277184638 corretto bug: SaveMeshType to MyMesh 2005-03-02 11:11:47 +00:00
mtarini 71f78f7333 changed 120 "const static" to "static const", and added missing "format" fields to all PropDescriptor literals, to keep Mingw compiler happy 2005-02-08 17:28:22 +00:00
Paolo Cignoni 85242ce7c8 prima versione da ottimizzare e migliorare.... ma intanto questa prima stesura e' compatibile con Autocad 2005-02-03 11:38:31 +00:00
Paolo Cignoni 54d5f9c148 Resolved scoping of constant of OFF codes 2005-01-26 22:44:51 +00:00
Paolo Cignoni aed29264bb Add std:: to stl containers 2005-01-26 22:43:19 +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