kottore / away3d

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

[Away3DLite] Collada failure when bone has multiple controllers #69

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Export model to Collada with more than one controller per bone
2. Import and render model with Away3dLite
3. See that controllers fail to influence model

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

Expected: all controllers defined in <library_controllers> should influence
the skin as defined.

Currently, the SkinControllers are stored in a Dictionary, keyed on the
controllers name array. This means that when more than one controller
influences a skin joint, each new controller clobbers the previous one. 

This behavior is not apparent in the Advanced_MultiMario example, since the
example dae file has only one controller defined. 

What version of the product are you using? On what operating system?

Away3DLite r1945

Please provide any additional information below.

This issue can be alleviated by storing the SkinControllers in a Vector
instead of a Dictionary in Collada.as.  I have attached a small patch to
make this change.

Original issue reported on code.google.com by ken.rai...@gmail.com on 13 Oct 2009 at 9:02

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by katopz on 10 Dec 2009 at 8:27