Horde3D
http://horde3d.org/forums/

additive animation with weight 0
http://horde3d.org/forums/viewtopic.php?f=3&t=517
Page 1 of 1

Author:  jimbo [ 30.09.2008, 19:30 ]
Post subject:  additive animation with weight 0

(I've moved this to bugs, I believe it's a bug).

Additive animations with weight 0 are still applied because of this line in egModel.cpp:
Code:
// Ignore stages with a blend weight near zero
if( curStage.blendWeight < 0.0001f && !curStage.additive ) continue;

I changed this to:
Code:
if( curStage.blendWeight < 0.0001f ) continue;

I don't understand why that condition was there.

Author:  marciano [ 01.10.2008, 08:28 ]
Post subject:  Re: additive animation with weight 0

Actually it is not a bug but was done deliberately. The weight determines the importance of the stage relative to other stages for interpolation/blending. Additive animations are just added on top of the rest, without any scaling with the weight factor. But there is no strong argument that it was done like this. If it makes sense it could be changed, will have to reflect about that a bit.

Author:  jimbo [ 01.10.2008, 08:53 ]
Post subject:  Re: additive animation with weight 0

You got one vote in support of weight options to additive animations.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/