Help with animation in Goblin XNA

Feb 19, 2011 at 2:27 PM

 

Hello people,

This my first post here. I wasn't aware of the goblin project until recently. I am reviewing some of the existing AR implementations due to my M.Sc. thesis. We are trying an AR game and thus we need animation in our 3d models. I have already taken a quick look of the documentation but I haven't cleared out the Goblin's way with animating models.

Can someone explain how the animation tutorials work? ( in a broader sense ) 

Can I import animations from other suites like unity, blender, 3ds Max or Maya? If yes are there any restrictions? Are there any known exporters?

The file that is used is .fbx in some examples, this means that I can create .fbx files and trigger animations from there while runtime?

 

I would try all these stuff before I posting but I am running out of time and currently I try to implement the project with OSGArt and OSGexporter of 3d Studio Max.
Any help would be appreciated - Thank you for your time.

Stefanos

Coordinator
Feb 25, 2011 at 2:39 AM
Edited Feb 25, 2011 at 2:39 AM

We haven't worked out on the animation part much other than the animation tutorial since we never really needed it for our research purpose. There used to be an XNA animation framework, but I think that one is no longer updated . If you come across a nice XNA animation framework, please let me know and I may integrate it to Goblin later on.

Ohan

Apr 10, 2011 at 5:21 PM

Hi Ohan.

I need to work with skeletal animation also.

And there is a good XNA animation library, Actually it support XNA 3.1 and XNA 4. http://xnanimation.codeplex.com/ , and it's updated constantly. Would be very interesting to work with skeletal animation and goblin.

This library support:

  • Animation playback
    • Plays animations forward and backward.
    • Constrols animation speed and looping.
    • Supports models with up to 80 bones
    • Supports linear, cubic and spherical keyframe interpolation.
      • Stores keyframe translation, orientation, and scale decomposed
      • Interpolates translation, orientation and scale separately for best interpolation.
  • Animation blending
    • Supports cross fade between animation clips.
      • Allows smooth transitions between animations.
  • Material system
    • Supports multiple point light sources (up to eight) with light attenuation.
    • Supports materials with emissive, diffuse and specular properties.
    • Supports Diffuse, Normal and Specular textures.
    • Reports vertex and pixel shader profiles used
  • XNAnimation Model Processor
    • Splits any animation into a new set of animations (based on time or keyframe)
    • Transforms the entire scene using rotation or scale

Carlos Lucero

http://xnanimation.codeplex.com/
Coordinator
Apr 12, 2011 at 12:00 AM

Thanks for letting me know. Never knew they updated it recently. I will probably get time to play with it after mid-May.

Ohan

Apr 17, 2011 at 6:15 PM

Here's a tutorial I made on creating an animated model in Maya for goblinXNA:

 

http://graphics.cs.columbia.edu/wiki/doku.php?id=wiki:user:henderso:tutorials:fbxtoxna

 

Steve

Apr 18, 2011 at 6:35 AM

 @stevenhenderson : Very Nice Tutorial..... Thanks a lot .... :) :)