Paolo Cignoni
63faedbb88
Added saving of edges only if requested in the mask (or if there are no face)
2012-11-08 18:48:07 +00:00
Paolo Cignoni
bc3fd845e1
Updated many importer to do not use anymore the useless, deprecated, removed, etc etc <uber>
2012-10-25 13:17:47 +00:00
Marco Di Benedetto
332b5d102d
fixed bug in ply exporter: changed IOM_VERTCOORD to IOM_VERTTEXCOORD when testing the save mask for texcoords.
2012-04-10 14:55:58 +00:00
Paolo Cignoni
010b310cac
Added support of polylines (edges) in PLY support. Used the format suggested in the web description of the ply format ( http://paulbourke.net/dataformats/ply/ )
...
element edge 5 { five edges in object }
property int vertex1 { index to first vertex of edge }
property int vertex2 { index to second vertex }
2011-11-07 16:14:46 +00:00
Nico Pietroni
b483d00bd8
corrected a bug on writing per Wedge textcoords..
2011-04-20 16:49:58 +00:00
granzuglia
f3969b8774
remove crash when all vertices and faces have been marked as deleted but the are still in the vert/face vectors
2011-04-15 08:46:43 +00:00
Paolo Cignoni
56bde62d80
removed old 'uber' access to component members
2010-03-03 15:57:58 +00:00
Paolo Cignoni
319a87d5c0
Changed all the m.HasPerVertexXXX into the more safe HasPerVertexXXX(m) (it caused a bug in the saving of per-vertex tex coords)
2010-02-23 16:48:02 +00:00
Paolo Cignoni
866abb0921
improved the support of per vertex texture data. Now it is correctly handled in OFF and PLY
2010-02-23 01:51:25 +00:00
Marco Di Benedetto
f6d9f4de7c
save texture file names if vertex texcoord bit is set.
2009-10-23 20:24:10 +00:00
granzuglia
cb7b4db79c
added IO_CAMERA in GetExportMaskCapability
2009-05-22 12:43:35 +00:00
Paolo Cignoni
666b0996ff
Added support for PLY saving and reading of the radius property (useful for point clouds)
2009-03-18 14:39:02 +00:00
ganovelli
8acc6a4e2c
Removed Similarity from Shot
...
Problem: Shot was using similarity merely to store
rotation and translation.
There was an incompatibility in that Similarity::ToMatrix
gives scale*rotation*translation while in Shot
the translation stores the viewpoint and the rotation the orientation of the Shot.
In this version, a small class ReferenceFrame was done to play the role of similarity and MultMatrix and MultSimilarity functions were added to transform the frame by multiplying it for a Matrix44 (or applying a similarity).
NOTE: the file export_ply.ply and import_ply.h must also be updated.
-- only compiled with .net ---
2008-09-26 17:05:49 +00:00
Paolo Cignoni
9135ed578c
exposed binary/ascii support and added progress bar support in the save
2008-07-02 13:30:21 +00:00
Paolo Cignoni
bf0e346d81
removed small nasty bug about indexes that in some cases trashed output meshes when in presence of deleted faces
2008-05-29 15:15:19 +00:00
Paolo Cignoni
25dd36a704
updated to the new temporary data structure
2008-05-16 17:44:31 +00:00
Massimiliano Corsini
28a08a4e0c
set defaut callback (in save) to null
2008-04-29 11:51:28 +00:00
Paolo Cignoni
c07c26d084
passed the callback in the save
2008-01-24 11:54:23 +00:00
Paolo Cignoni
534e6785a2
removed harmless printf cast warnings
2007-12-13 00:20:34 +00:00
Federico Ponchio
d8805f9ba5
Typo
2007-11-06 10:59:41 +00:00
Federico Ponchio
b030fff07d
Fixed wrong 'return false' in Save.
2007-11-06 10:51:55 +00:00
Paolo Cignoni
60173c1874
Added saving of per vertex normals
2007-10-22 14:47:19 +00:00
mtarini
c3ce8910de
fixed bug on saving flags-per-face
2007-07-23 13:27: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
Paolo Cignoni
3b83203044
Added missing typename
2007-02-18 08:01:07 +00:00
ganovelli
34495aea67
added HasPerFaceFlag
2007-02-14 16:07:41 +00:00
ganovelli
fd0495034a
a wrong "!" corrected
2007-02-14 15:40:20 +00:00
ganovelli
30fb113d3c
added treatment of HasPerVertexFlags absent
2007-02-14 15:30:13 +00:00
Marco Callieri
a344d59446
camera+shot revamp: changed field names to something with more sense, cleaning of various functions, correction of minor bugs/incongruences, removal of the infamous reference in shot.
2006-12-18 09:46:39 +00:00
Paolo Cignoni
f48e5bc1dd
Added save with (unused) callback
2006-11-30 22:49:32 +00:00
Paolo Cignoni
7c72709af7
Added a comment on an assert
2006-10-14 00:39:22 +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
6dca4be1ab
Changed ply::PlyMask to io::Mask
2006-01-10 13:20:42 +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
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
5e15dc4a97
shot/camera io added
2004-10-07 14:19:06 +00:00
ganovelli
49a8936650
std added
2004-07-15 10:54:48 +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
Paolo Cignoni
b3252d15b3
Removed float/double warning
2004-03-18 15:30:57 +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