Content processor type name

Jun 7, 2008 at 11:04 PM
I'm using the content builder from this sample:
I'm trying to hook in the animation component to have the models do an animation as well as load it dynamically.

Anyways, at one point I need to tell the builder what content importer and processor I want to use, looks something like this

_builder.Add(string filename, string name, string importer, string processor);

Does anyone know where I could find, or if they know, the type name of the animation component content processor? 

I have tried both the 'friendly' property/display name and the class name inside of the animation component 'AnimatedModelProcessor.cs'

Looks like...
[ContentProcessor(DisplayName="Model - Animation Library")]
    public class AnimatedModelProcessor : ModelProcessor


Jun 23, 2008 at 4:43 PM
Looks like what you want is: FbxImporter and SkinnedModelProcessor. I just opened up the XNAnimationSample's content project and looked at the text in there. After all, the ContentBuilder is really just making a VS Project in memory. I'm not sure how you'd tell it to set the parameters though!

    <Compile Include="Models\PlayerMarine.fbx">
Dec 8, 2008 at 6:39 PM
Edited Dec 8, 2008 at 6:40 PM

Has anyone gotten this work? I have tried using SkinnedModelProcessor as the type name for processor, when the content builder tries to build it, it returns an error saying SkinnedModelProcessor does not exist...

Thanks a lot!
Dec 14, 2008 at 4:05 PM
Have you added a reference to the Skinned Model sample's content pipeline DLL?
If you don't want to do that, dynamically loading the DLL (via Assembly.Load) should work. I've done this before to load other custom pipeline DLLs, but not for SkinnedModelProcessor...