Commit Graph

19 Commits

Author SHA1 Message Date
Chingiz Dyussenov
1aca6face8 Added cameras and lamps import, properties are not taken into account
except position.
2009-07-17 06:12:58 +00:00
Chingiz Dyussenov
5a5b47c33e *Exporter handles empty objects.
*Added textures import.
TODO:
Fix images import.
2009-07-16 07:56:17 +00:00
Arystanbek Dyussenov
b334a45b35 COLLADA importer: base for object transform animation.
Fix a crash reported by Gary Richie: check NULL materials.
2009-07-15 18:59:49 +00:00
Chingiz Dyussenov
60e2416ac0 Added object hierarchy support to importer. 2009-07-13 08:41:37 +00:00
Arystanbek Dyussenov
7007f0c945 Importer:
- fixed multi-UV set import and made code more readable
- added #ifdef'ed console output useful for debugging
2009-07-10 11:32:55 +00:00
Arystanbek Dyussenov
42fba920be Importer fixes:
- remove empty meshes created by add_object call
- make_edges
- don't create a mesh object for non-mesh nodes
2009-07-10 08:43:37 +00:00
Chingiz Dyussenov
edf5200fa1 Added export objects hierarchy. 2009-07-10 06:55:05 +00:00
Chingiz Dyussenov
b91492c683 Added import multiple UV layers.
If <geometry> has more than one primitive - UVs aren't imported properly.
Will fix this soon.
2009-07-08 11:55:11 +00:00
Chingiz Dyussenov
861a0d20c6 Small fix - now import per-face materials should work properly. 2009-07-03 07:54:55 +00:00
Chingiz Dyussenov
9cc690b0d1 Import per-face materials. 2009-07-02 12:35:46 +00:00
Chingiz Dyussenov
f86100b358 Import:
*materials are assigned to objects.
TODO:
*import UVs
2009-07-02 05:43:14 +00:00
Chingiz Dyussenov
1bd28c878b * Export cameras and lights.
* Import materials. 
TODO:
Assign materials to objects.
2009-07-01 18:18:53 +00:00
Chingiz Dyussenov
d7fa3d6c80 Added per-face materials exporting. If mesh has no materials it won't be
exported.
2009-06-28 13:20:37 +00:00
Arystanbek Dyussenov
b8f6221c8b Object rotation read/write.
The new QuatToAxisAngle function could go to BLI_arithb.h.
2009-06-27 09:29:30 +00:00
Chingiz Dyussenov
2f3b3e5f33 Import:
* Objects are created and linked to meshes. 
* Since I don't know how to import per-face normals, they are generated automatically by mesh_calc_normals.
* Objects are imported with transformations but without rotation yet.
2009-06-26 11:25:19 +00:00
Arystanbek Dyussenov
ab183755da Quick fix to allow reading of <polylist> and <polygons>.
Treating <polylist> as <polygons> in OpenCollada seems intentional, not a bug.
2009-06-25 16:25:07 +00:00
Chingiz Dyussenov
78110f23d4 Added very basic geometry import. Only <triangles> is supported.
Found a bug in OpenCollada - <polylist> is treated as <polygon>.
2009-06-25 12:13:32 +00:00
Chingiz Dyussenov
a82d3dec41 Multi-texture material export (unfinished).
Import geometry using mesh editor module commented out. Will use blenkernel module instead.
2009-06-22 13:23:13 +00:00
Arystanbek Dyussenov
02acf9c354 Importer base for Chingiz. 2009-06-17 11:16:18 +00:00