Gaia Clary
a2a301bdb9
collada: change image export: export either UV Textures or Materials. This
...
avoids wrong texture data when multiple objects are exported. Note: This
commit might possiblyt not work fully. The full feature is added with the
next commit)
2017-06-24 22:16:47 +02:00
Gaia Clary
368b74315a
Collada - add flag to limit precision of exported data, mainly to simplify debugging
2017-04-03 10:48:00 +02:00
Gaia Clary
2c78b0c71f
Collada - Export: now use bind_mat and rest_mat custom properties (when the use_bind_info option is enabled and the properties exist)
2017-03-23 14:14:23 +01:00
Jon Allee
da6cd77628
fix D2552: Collada - use unique id for bones with same name but in different armatures. Co-authored-by: Gaia <gaia.clary@machiniamtrix.org>
2017-03-14 14:35:51 +01:00
Gaia Clary
ba116c8e9c
fix D2489: Collada exporter broke edit data when exporting Armature while in Armature edit mode
2017-01-28 22:10:20 +01:00
Gaia Clary
c64c901535
fix D2489: Collada exporter broke edit data when exporting Armature while in Armature edit mode
2017-01-28 21:51:18 +01:00
Gaia Clary
8b2c67c3c3
collada exporter: fixed wrong check for bone roll value
2016-05-28 20:52:32 +02:00
Gaia Clary
8e26111020
Collada: Adding support for bone roll and bone layers
...
Differential Revision: https://developer.blender.org/D2034
2016-05-28 19:22:06 +02:00
Gaia Clary
1346482d23
moved is_leaf_bone() to collada utils for reuse in exporter and importer
2016-05-26 18:22:36 +02:00
Gaia Clary
29aa13cfa2
fix: Import of meshes with holes is now reported as WARNING (unsupported)
...
improved: add support for bone tail export/import using Blender Collada profile
Differential Revision: https://developer.blender.org/D2031
2016-05-26 17:53:25 +02:00
Bastien Montagne
fca515838e
Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).
...
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)'
and 'strcmp(foo, bar) == 0' in several places...
2015-01-26 16:59:24 +01:00
Campbell Barton
c31f74de6b
Cleanup: use BLI_listbase_count_ex to avoid redundant looping
2014-11-16 14:23:37 +01:00
Campbell Barton
7d040d2a08
Cleanup: use BLI_listbase_*** prefix for count,sort,sort_r
2014-11-16 13:57:58 +01:00
Campbell Barton
b3afbcab8f
ListBase API: add utility api funcs for clearing and checking empty
2014-02-08 06:24:05 +11:00
Gaia Clary
c819fd4ee0
Changed some labels from Second Life to OpenSim
2013-10-03 14:24:54 +00:00
Campbell Barton
ec8d277c64
BLI_math rename functions:
...
- mult_m4_m4m4 -> mul_m4_m4m4
- mult_m3_m3m4 -> mul_m3_m3m4
these temporary names were used to avoid problems when argument order was switched.
2013-05-26 18:36:25 +00:00
Campbell Barton
92d7955d13
fix for struct definition building with msvc2008 and some style cleanup.
2013-03-24 01:19:55 +00:00
Campbell Barton
942ad6d9cd
style cleanup
2013-02-10 17:06:05 +00:00
Campbell Barton
69993c5d40
style cleanup: spaces -> tabs
2013-02-04 00:18:09 +00:00
Brecht Van Lommel
6baf63c83b
Fix some warnings in the collade code, but did not fix two because they seem
...
to indicate bugs, left a comment about those.
2013-02-01 15:17:51 +00:00
Gaia Clary
c263753d17
Added gsoc-2012 collada improvements from bratwurst branch
2013-01-21 13:45:49 +00:00
Campbell Barton
f3ece5a108
style cleanup: trailing tabs & expand some non prefix tabs into spaces.
2012-10-21 05:46:41 +00:00
Campbell Barton
b96c622015
style cleanup
2012-08-11 22:12:32 +00:00
Gaia Clary
adf3a5e332
Collada: (Export) Added export of surface textures, and control over exported uv layers
2012-06-22 16:16:58 +00:00
Gaia Clary
0df30d1063
Collada: (Exporter) add 'mesh type selection(view|render)' for Apply modifiers option
2012-06-16 23:35:53 +00:00
Campbell Barton
664c95d1eb
code cleanup: collada
...
- when bubble sorting names - dont convert to str::string just to compare strings
- use BLI_linklist_index() to check if an item is in the list
- quiet some warnings
2012-06-16 09:16:24 +00:00
Gaia Clary
9f6a66d5f9
Collada: (Exporter) Add new option 'deform bones only'
2012-06-15 22:00:25 +00:00
Campbell Barton
2e8a2f7668
style cleanup
2012-06-12 22:05:33 +00:00
Gaia Clary
36ed4818e5
patch #31794 Collada: make exporter more robust, now uses BKE_object_relational_superset()
2012-06-12 21:25:29 +00:00
Gaia Clary
49a5141cde
[ #31739 ] Collada: New Export selections 'Include Armatures'
2012-06-07 17:55:26 +00:00
Gaia Clary
822362189b
[ #31607 ] Collada: (Exporter) Implementation of 'use Object Instantiation' Option
2012-05-26 22:46:28 +00:00
Campbell Barton
1dccd4c98a
code cleanup: naming - pose/armature/image
...
also use ..._find_name(..., name) rather then ..._find_named(..., name) --- both were used.
2012-05-05 16:03:57 +00:00
Campbell Barton
e701f9b670
style cleanup: whitespace / commas
2012-04-29 15:47:02 +00:00
Campbell Barton
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
Campbell Barton
b8a71efeba
style cleanup: follow style guide for/with/if spacing
2012-03-24 07:52:14 +00:00
Juha Mäki-Kanto
2d8227f204
Collada export: bone parenting is actually against the tail.
...
Don't know the reasoning for having it be against the tail and not the head.
2012-02-24 21:45:59 +00:00
Juha Mäki-Kanto
f75bf20c81
Fix rest of #27022 , collada export: add bone parenting of objects
...
- SceneExporter collects a list of child-objects for armature-object and passes it onto ArmatureExporter
- SceneExporter's writeNodes is then called from ArmatureExporter for matching child-objects for bone.
- ArmatureExporter removes written child-objects from list, objects not exported as being bone parented are exported as direct children of the armature-node.
- Should play nice with current Second Life-compatibility.
A nicer implementation would require some design changes, will have to wait.
2012-02-18 16:55:41 +00:00
Juha Mäki-Kanto
7beddb7506
Collada export: changes to joints/weights in skincontroller
...
- Collecting joints/weights in one place, it's easier to exclude zero weights or vertexgroups with no matching bone than trying to match same logic in multiple places.
- Still not exporting -1 joints for vertices without weights, but also not outputting -1 joint + weight for each vertexgroup without a matching bone.
- The exported weights are now normalized.
Last I tested this patch stopped 3ds Max crashing on import of file from #29465 (opencollada / internal .dae).
2012-02-18 16:20:24 +00:00
Domino Marama
2cb3fe3dfd
Patch #30050 by Juha Mäki-Kanto (kanttori)
...
Fixes for Collada exporter.
Adds Second Life compatibility for armatures
Adds objects parentinverse to exported transform if it's non-identity
Fix mismatch between add_inv_bind_mats and add_joints_source accessor counts
Fix bone exports in world space should be local space
2012-02-05 16:19:28 +00:00
Brecht Van Lommel
3311164b24
Math lib: matrix multiplication order fix for two functions that were
...
inconsistent with similar functions & math notation:
mul_m4_m4m4(R, B, A) => mult_m4_m4m4(R, A, B)
mul_m3_m3m4(R, B, A) => mult_m3_m3m4(R, A, B)
For branch maintainers, it should be relatively simple to fix things manually,
it's also possible run this script after merging to do automatic replacement:
http://www.pasteall.org/27459/python
2011-12-16 19:53:12 +00:00
Campbell Barton
e84c0980a3
correct indentation and some whitespace edits (no functional changes)
2011-11-11 13:09:14 +00:00
Campbell Barton
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
Nathan Letwory
3dc0ee19c4
Introduce struct for export settings in COLLADA export code. This will make it easier to
...
add new options without having to change function signatures all over the place.
2011-09-07 18:23:30 +00:00
Nathan Letwory
1764f2135d
Some whitespace changes
2011-09-04 00:15:59 +00:00
Sukhitha Prabhath Jayathilake
6b99cd05aa
Armature object animations export.
2011-08-21 15:47:21 +00:00
Sukhitha Prabhath Jayathilake
4f75566672
export animations if a bone is in a deform group. ( on hold )
2011-08-21 13:51:04 +00:00
Sukhitha Prabhath Jayathilake
bcadb6b939
small fixes and refactoring.
2011-08-20 16:48:53 +00:00
Sukhitha Prabhath Jayathilake
2ee74be88c
Blender tip profile for bones with 2 or more children.
2011-08-18 19:16:36 +00:00
Nathan Letwory
475e0b8c02
Apply [ #28287 ] COLLADA fix for inverse bind matrix of skin controller
...
Patch by Pelle Johnsen
2011-08-18 09:14:27 +00:00
Sukhitha Prabhath Jayathilake
f04fb5b6ea
Finalizing.
2011-08-16 16:03:37 +00:00