Commit Graph

281 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
ganovelli c69c140e0a minor changes for gcc compiler 2008-08-04 14:49:02 +00:00
ganovelli cff47a9ac3 Extended comment, changed load and save replacing dangerous write and read of the object mesh as whole with saving of its few members 2008-08-01 10:03:05 +00:00
Marco Callieri 74be2a6f67 revised PTX importer, lot of unused code deleted. new import paramenter structure 2008-07-22 10:00:12 +00:00
Paolo Cignoni ce62053b9c Added correct management of binding material in controller nodes 2008-07-21 13:25:32 +00:00
Paolo Cignoni 0b6af20c93 Corrected texture loading. Now symbolic material binding are respected during the traversal. Still to be cleaned up. 2008-07-20 21:25:09 +00:00
Paolo Cignoni 966d98da5a added management of optional quality 2008-07-19 05:25:55 +00:00
Paolo Cignoni c1c51913d3 Started the restructuring of the Collada parser. Now it is correctly recursive and it is able to get geometry also from controller. 2008-07-15 07:27:08 +00:00
Paolo Cignoni 86c16f8245 Added missing license information 2008-07-12 06:12:46 +00:00
Paolo Cignoni 637dd26b2b removed duplicated file (same file and more recent was in wrap/dae) 2008-07-12 06:11:47 +00:00
Paolo Cignoni 9ca56690ae remove harmless warnings 2008-07-02 13:31:00 +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 0a712cbbcb removed harmless warnings and added better support for transp materials 2008-07-02 13:28:37 +00:00
Paolo Cignoni 700b8cd26e Removed annoying unsigned vs signed warnings.
Thanks to Alain Boyer for the kind bug submission!
2008-06-29 22:44:44 +00:00
Paolo Cignoni e5572b4f05 added support of internal edge bit for keeping track of triangulated polygonal faces 2008-06-26 08:41:11 +00:00
Paolo Cignoni bd784fabaa Corrected a small bug in the management of negative indexes of obj on non triangular faces 2008-06-14 07:29:31 +00:00
Paolo Cignoni e5857b7925 corrected a small bug causing crashes when loading bad-formed mtl files 2008-06-13 07:05:59 +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 9b00cd75ef First Working Version 2008-04-24 04:45:36 +00:00
Paolo Cignoni 03609ba40b removed outdated comment 2008-04-22 14:53:53 +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 0bdd7975b0 added suppor of color in OFF format. 2008-04-15 10:38:12 +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
Paolo Cignoni 1d7ca87fe2 usual experiments in the u3d exporting name files management 2008-03-22 07:27:09 +00:00
Paolo Cignoni 0a8997ef8d removed vertex color and vertex normal from the capabilities of this format. They are not safe 2008-03-19 05:21:57 +00:00
Paolo Cignoni 633e7b97e4 added quality parameter 2008-03-18 11:26:45 +00:00
granzuglia 4725bc5aec added two missing include files:
1) #include <wrap/callback.h>
2) #include <wrap/io_trimesh/io_mask.h>
2008-03-13 08:48:10 +00:00
Paolo Cignoni 66eee15580 added different rules for building the command line for windows and non windows 2008-03-08 17:25:04 +00:00
Paolo Cignoni fa857d5e51 corrected creation of the command line under win 2008-03-06 10:58:40 +00:00
granzuglia 6ab9e5699c added support to dae files with lines tag 2008-02-28 10:44:47 +00:00
Paolo Cignoni 6cf9aa4552 removed duplicated material class 2008-02-27 23:48:06 +00:00
Paolo Cignoni e199b32434 added materialname field 2008-02-27 23:38:40 +00:00
Paolo Cignoni bd13e9e1df removed useless include 2008-02-27 23:35:56 +00:00
Paolo Cignoni 2828e5c8e4 corrected various bugs in the export of texture coords 2008-02-27 00:34:43 +00:00
Paolo Cignoni 16b3a3e11a missing ending newline 2008-02-22 21:00:22 +00:00
Paolo Cignoni 71db3f05f0 corrected texture saving. Still broken the multitexturing 2008-02-21 17:47:29 +00:00
Paolo Cignoni 130442663c Corrected various bug, involving spurious commas, and pervertex color saved as per wedge color. 2008-02-21 17:23:57 +00:00
Paolo Cignoni 843c6d172c corrected bug in the management of of multiple solid ascii stl files 2008-02-15 09:51:36 +00:00
Paolo Cignoni 37395805c4 covertInTGATextures-> covertInTGATextures and added a missing const qualifier 2008-02-10 09:41:40 +00:00
granzuglia f7d0f90178 textures conversion in tga both for u3d and idtf format 2008-02-08 16:35:23 +00:00
granzuglia cc9887c9d5 removing meshaccessors 2008-02-05 17:46:05 +00:00
granzuglia 0f827e0e78 fixed bug on empty mesh 2008-02-04 23:50:07 +00:00
granzuglia b0346b1ab9 erased wrong assert 2008-02-04 22:29:02 +00:00
granzuglia 72feef8f72 totally new collada exporter (has some bugs) 2008-01-30 08:31:04 +00:00
Paolo Cignoni be51ebfc80 missing check for the presence of optional stuff 2008-01-28 14:45:07 +00:00
Paolo Cignoni b6cea42c5e formatted debug string 2008-01-28 08:50:51 +00:00
Paolo Cignoni c07c26d084 passed the callback in the save 2008-01-24 11:54:23 +00:00
Paolo Cignoni 04d307db0e added missing cast for normal assignments 2008-01-17 18:02:02 +00:00