code-google-com / opencollada

Automatically exported from code.google.com/p/opencollada
0 stars 0 forks source link

Unexpected removal of unused joint's data (joint name and joint indexes) #180

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create model.
2. Create joints, weight map and animation in MAYA.
3. export data via opencollada.

What is the expected output? What do you see instead?

In <library_controller>-<controller>-<skin>-<source>-<Name array>,
some of un-referrenced-joints by weight-map is removed from this list.
Also, joint-index of vertex attribute is changed.
I expected raw joint-indexes.

What version of the product are you using? On what operating system?
Windows7 64bit
MAYA2009
OpenCollada 1.3.0 2011-01-31

Please provide any additional information below.
FCOLLADA provides raw joint-indexes. FCOLLADA does not remove any joint-index.
I can understand if exporter removes some joints data, file-size will be 
reduced.
But developer sometimes would like to treat animation data with fixed 
joint-index data.
If it's possible, I wish open collada exporter does not remove unused 
joint-indexes.
Or, I wish this could be selectable in export option.
Remove unused joints, or not.

If possible, please provide a sample file that can be used to reproduce the 
problem.

Original issue reported on code.google.com by kgus...@gmail.com on 21 Nov 2011 at 8:32