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
Paolo Cignoni
18160d8ea8
Small change for managing correctly the ocf type when adding new faces in ply importer (you should never just copy a face over another one...)
2012-06-14 13:46:41 +00:00
Paolo Cignoni
59ca545056
corrected a bunch of Face::HasSomething() into HasPerFaceSomething(mesh)
2012-05-05 14:50:43 +00:00
Paolo Cignoni
f45e0cec3a
Changed all the MeshType::HasSomething() into the now standard tri::HasSomething(MeshType &m)
2012-01-20 07:44:55 +00:00
Paolo Cignoni
e77ebb6cd0
corrected small bug in parsing ply files of polylines and added better error reporting
2011-12-12 23:25:39 +00:00
Paolo Cignoni
f160468516
added some further controls when reading edges in ply
2011-11-21 07:24:15 +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
Paolo Cignoni
fca3d016d8
added a missing include<stddef>
2011-10-13 07:40:13 +00:00
Paolo Cignoni
2fe129645b
Rolled back
2011-10-05 15:04:40 +00:00
Paolo Cignoni
4b0fb8bb2e
Ongoing corrections of include paths to comply the new folder arrangement
2011-04-03 20:55:22 +00:00
Federico Ponchio
bee287603e
added minimal doc on Open.
2011-03-21 17:20:38 +00:00
Paolo Cignoni
f646abea7b
added support of ply files saved by the plywrite package of matlab, that strangely enough use char (!) as a type for vertex indexes...
2010-10-20 12:25:13 +00:00
Paolo Cignoni
a184a620e4
corrected the vertical orientation of texture to be consistent with per wedge tex coords
2010-04-08 16:49:50 +00:00
mtarini
54ca153009
mini-changes at various importer exporters, to maximize compatibility
2010-03-13 00:52:17 +00:00
Paolo Cignoni
49bbc55cac
removed harmless gcc warnings
2010-01-03 01:57:39 +00:00
mtarini
420af788a6
fixed bug importing s,t per vert (in blender-flavour plys)
2009-11-05 12:55:31 +00:00
Paolo Cignoni
7ef26b5a25
Improved support for loading meshes with per vertex texture coords (as saved by blender)
2009-10-27 23:55:44 +00:00
Paolo Cignoni
3e6ced9eae
Added management of both confidence and intensity in ply storing range maps
2009-07-17 14:43:57 +00:00
Marco Di Benedetto
25e9776404
removed unused vertex which caused errors in ocf meshes.
2009-07-06 11:23:08 +00:00
Marco Di Benedetto
ace0fba493
changed checks for quality and color (now using specialized templates working with ocf).
2009-06-28 22:42:42 +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
Paolo Cignoni
c5ad3694bd
Corrected small bug inserted during the add of pervertexradius ply elements
2009-03-19 10:29:24 +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
Paolo Cignoni
1a4c19c69f
removed harmless warnings
2009-03-03 23:39:27 +00:00
Paolo Cignoni
06dbbfec33
Added support for the Stanford range map ply repository (that are raw gridded range maps)
2009-02-16 01:03:11 +00:00
Paolo Cignoni
3d14df75e4
corrected small bug that prevented the loading of tristripped ply files
2009-01-07 14:54:22 +00:00
Paolo Cignoni
fe715961f3
added support of binaries ply files with indices stored as short
2009-01-03 22:42:22 +00:00
ganovelli
7b64489526
added Alloc to support polygon meshes
2008-11-26 17:59:29 +00:00
Paolo Cignoni
a7a400b40e
Changed an old FaceType::HasFaceQuality() into the tempory aware version HasPerFaceQuality(mesh)
2008-10-14 06:39:04 +00:00
Paolo Cignoni
40a149964f
made the absence of faces in a ply file a "non critical" error.
2008-10-02 21:46:29 +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
c693b46f57
added yet another type of face indexes (now 8 different ways!)
2008-04-15 14:12:21 +00:00
Paolo Cignoni
4b769a4e8a
added yet another combination of unsigned/signed elements in faces specification to comply to mathematica ply's
2008-03-22 10:24:44 +00:00
Federico Ponchio
0c728e7250
loadmask in Open is now written.
2007-11-19 16:31:55 +00:00
Paolo Cignoni
f553ab00b8
added support for per-vertex normal for reading ply point clouds
2007-10-19 22:13:37 +00:00
Paolo Cignoni
c1e902f273
wedge colors now are loaded into face color if they are available.
2007-07-02 12:33:34 +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
746bb8ebf6
Removed initialization of a single face in the main parsing loop. Single face cannot exist anymore with OCF. Moved into the tristrip parsing section.
2007-03-03 02:28:59 +00:00
ganovelli
30fb113d3c
added treatment of HasPerVertexFlags absent
2007-02-14 15:30:13 +00:00
mtarini
831310930b
added a few typecasts to QualityTypefor vertices and faces (avoids warinings when short int or int is used for Quality).
2007-02-02 00:29:33 +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
cb29c783f2
Removed flags initialization. no more necessary
2006-11-27 10:36:13 +00:00
Paolo Cignoni
1b9a2d40a2
Allowed the correct loading of meshes with 0 faces
2006-10-14 00:18:42 +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
Massimiliano Corsini
7da3794f20
Remove signed/unsigned warning
2006-02-03 09:46:24 +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
cc15fbcde1
Added support for per vertex color stored as 'diffuse_xxx' property
2005-12-30 22:30:43 +00:00