granzuglia
2f79d55207
now load file without instance_geometry
2006-11-05 15:40:51 +00:00
granzuglia
ab38499165
minor changes
2006-11-05 10:45:41 +00:00
granzuglia
fa90f7d267
little bug fixed
2006-11-04 16:34:17 +00:00
granzuglia
d83d458e02
full working version of collada's exporter
2006-11-04 16:28:40 +00:00
granzuglia
a0981fa6c3
fixed bug: &(*filename.end()) ---> &(*filename.rbegin())
2006-11-04 14:01:00 +00:00
granzuglia
1816e73b0a
some minor changes
2006-11-03 13:09:15 +00:00
granzuglia
04fd13bd8a
debugged version
2006-11-02 23:58:33 +00:00
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
Paolo Cignoni
1e4b447859
Improved the compatibility for ply format for faces having the list size (e.g. number of vertexes of a face) as a char instead of a uchar.
...
Added a couple of new face descriptors, corrected a bug in error reporting function (and restructured) and translated a few comments.
Thanks to Patrick Min for the careful bug reporting
2005-01-03 10:35:59 +00:00
Paolo Cignoni
aee55d8418
Initial Update
2004-11-29 08:12:10 +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
Paolo Cignoni
5bd4d8b2b1
Better Doxygen documentation
2004-10-28 00:56:44 +00:00
ganovelli
36f0b0004d
cast from scalar type to float added
2004-10-27 09:33:10 +00:00
ganovelli
7540135434
added setidentity della camera
2004-10-07 14:51:10 +00:00
ganovelli
5e15dc4a97
shot/camera io added
2004-10-07 14:19:06 +00:00
Federico Ponchio
01a6912bb6
Comma at end of enum.
2004-08-25 15:28:15 +00:00
ganovelli
0bbd5bb33b
minor changes to comply gcc compiler (typename's and stuff)
2004-08-25 15:15:27 +00:00
ganovelli
49a8936650
std added
2004-07-15 10:54:48 +00:00
Paolo Cignoni
ed7382539c
Restructured management of error, now the standard open for any mesh type return the error code, the default success value is zero
...
Any import class has a method ErrorMsg that give a verbal description of an error code.
2004-06-23 15:36:57 +00:00
ganovelli
7ff742f0a9
inclusion of vector..minorchanges
2004-06-11 17:09:41 +00:00
ganovelli
e312803b5b
changes to comply io_mask moving in vcg::ply namesp
2004-05-28 14:11:13 +00:00
Paolo Cignoni
88926f2af7
removed warning of unused variables
2004-05-12 14:43:36 +00:00
ganovelli
40e7807c68
new line added at the end of file
2004-05-12 10:19:30 +00:00
ganovelli
63e0afc39e
converted to library style (namespaces etc..)
2004-05-10 13:14:28 +00:00
ganovelli
2c0875381b
#ifndef __VCGLIB_IMPORTERPLY added
2004-05-04 02:36:07 +00:00
Paolo Cignoni
08bd299ad2
missing include allocate.h
2004-04-03 13:30:01 +00:00
Paolo Cignoni
b3252d15b3
Removed float/double warning
2004-03-18 15:30:57 +00:00
Paolo Cignoni
d327e529a9
First working version!
2004-03-12 21:42:52 +00:00
Paolo Cignoni
0508b4362b
cr lf mismatch
2004-03-09 21:26:47 +00:00
Paolo Cignoni
b91d8334d5
Initial commit
2004-03-08 09:24:59 +00:00
Paolo Cignoni
0556b33b65
Yet another cr lf mismatch
2004-03-03 15:35:53 +00:00
Paolo Cignoni
3bd184ced5
Initial commit
2004-03-03 15:00:51 +00:00
Paolo Cignoni
6a1fbdc666
Initial commit
2004-02-19 09:49:24 +00:00
Paolo Cignoni
b692bdb420
Initial commit
2004-02-18 12:28:52 +00:00