110 likes | 187 Vues
Explore different modeling and animation tools like CB Model Pro, Milkshape, and UVMapper. Learn about Bones and Meshes, setting up animations, XNA setup, and exporting to DirectX. Discover the wonders of XML for organizing animations and find helpful tutorials.
E N D
Modeling and Animation A brief overview. Amanda Chaffin
Modeling CB Model Pro – • Free! • Easy to model • High poly count • Cannot import (so save the project) • Texturing is weird • Non-standard axis • Painting is limited
Modeling Con’t Milkshape – • Free 30 day trial! • Low poly • Crashes a lot (save often) • Allows triangle manipulations • Handles animation construction • Exports to DirectX
UV Mapping UVMapper – • Free! • Simplistic interface • Creates map of model • Paint model • Import back into modeler program
Bones and Meshes Bones (joints) – • Must have for animation • Easy to set up Meshes – • Vertices, not faces • Rename joints (make life easier) • Assign vertices to joints • Test and correct as often as you save!
Set keyframe Select joint(s) Rotate joint(s) Set keyframe Move to next Milkshape interpolates for you 2 3 1 Animations
XNA Setup • http://www.codeplex.com/ • Download .zip files for the installation Add • Reference to Xclna.Xna.Animationx86 • Content pipeline reference to Xclna.Xna.Animation.Content.dll • Content files and XML to the project
DirectX(JT) Ignore Geometry, check on options, matrix, interpolations, leave all else alone Export to DirectX
Add your Model • Add models, textures to XNA project • Change model properties (very important) • Change code to new model name • Run game
The Wonders of XML • Animations go into the XML file • Milkshape - single animation sequence • XML file allows for multiple animations per file by associating a name with a series (or set) of keyframes
Tutorials • http://www.josh.ch/joshch/tutorials/milkshape,welcome.html • http://webpages.uncc.edu/~empowell/stuff/UVMAppertutorial.pdf • http://www.codeplex.com/animationcomponents