?! Where can I get the demo example ?!

Topics: User Forum
Jan 5, 2007 at 6:54 AM
Hy@all,
sorry, but where did I find the demo example you are talking about in many threads here ?
Under 'releases' I can download the dll's, but where is the demo ?
Please help a blind man :)

Sincerely,gonZoX.
Jan 6, 2007 at 3:29 AM
I think this could help me get started as well :)

Thanks,
Terry
Developer
Jan 6, 2007 at 6:01 AM
You can use the demo from previous release (1.0.0.0.25 Special).

Alternatively, you can just create a new Game project and do this in your LoadGraphicsContent(bool loadAllContent):

new ModelViewer(this, content.Load<Model>("your model"));

Don't forget to "Add reference..." for Animation.dll and "Add..." the Animation.Content.dll to your project Properties->Content Pipeline.

Jan 6, 2007 at 11:24 AM
I've seen how easy it is to render animated models with the ModelViewer, but what about with the AnimationController? I've found a code example that worked w/the version .2 build of the dll, but with version .3 the models I try to draw are sort of distorted?

Any help would be GREATLY appreciated, and gj so far with the component. I'm a fan! :)
Jan 6, 2007 at 11:28 AM
Big thx for your help.
gonZoX.
Developer
Jan 6, 2007 at 7:57 PM
Rendering with AnimationController is basically just

Animation.AnimationController controller = new Animation.AnimationController(game, model, animationIndex);

But in this case you have to set the world, view, projection etc. explicitly.
And setting world, view, projection etc. for animated models is very much like setting it for non-animated models.
Please see XNA documentation for details.
Jan 6, 2007 at 11:21 PM
I'll try that asap.
Thanks alot for the quick response! You guys own.
-T