Commit Graph

34 Commits

Author SHA1 Message Date
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