This project is read-only.

scaling model

Jul 19, 2011 at 3:21 PM

Hi all,

I modified the sample "SkinnedModel" as follow : I changed the "scale" field of the Model Processor used for the Peon model, from 1 to 0.1.

As result, the rendering of the animation is not convincing. Do I have to change anaything else to scale the animated model (not all the scene with world *= Matrix.CreateScale(0.1f)) ?


Jul 20, 2011 at 2:50 AM
Edited Jul 20, 2011 at 2:51 AM
It seems to be a bug for the model processor and the animation system.
Another temporary walkaround for this is to apply the scale to the root bone immediately after the model is loaded, using

model.Bones[0].Transform *= Matrix.CreateScale(0.1f);

Thanks for reporting this, we'll be fixing it soon :-)
Jul 20, 2011 at 2:53 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.