sgMotion without Sunburn

Mar 26, 2012 at 5:17 PM

I'm hoping to use sgMotion in a non Sunburn project since the original XNAnimation is quite out of date. Having had a cursory look through the code the Sunburn dependancy appears to be in the content pipeline - i'm hoping that all i need to do to is chain the old XNA model processor rather than the Sunburn processor in the content pipeline or is there something i'm missing which relies more fundamentally on Sunburn ??

Mar 26, 2012 at 5:25 PM


You are correct about swapping out the processors. The last time I worked on it there weren't many references to SunBurn at all so you can easily convert it to use with your own XNA code.

Mar 27, 2012 at 2:44 PM

In case anyone else wants to do the same thing all i had to do was modify the GetSunburnProcessorName in SkinnedModelProcessor.cs

change it to : protected virtual string GetSunBurnProcessorName()        {            return "ModelProcessor";        }