1 / 33

3D Models, Textures and Bone Animations for Games.

3D Models, Textures and Bone Animations for Games. Overview:. Tools – Advantages & Disadvantages Low-poly models – from scratch Texturing – UV maps and skins Bone Animation – setting up skeleton, inverse & forward Kinematics. The Tools. Blender Maya * 3DS Wings 3D Ultimate Unwrap *

jela
Télécharger la présentation

3D Models, Textures and Bone Animations for Games.

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 3D Models, Textures and Bone Animations for Games.

  2. Overview: • Tools – Advantages & Disadvantages • Low-poly models – from scratch • Texturing – UV maps and skins • Bone Animation – setting up skeleton, inverse & forward Kinematics

  3. The Tools • Blender • Maya * • 3DS • Wings 3D • Ultimate Unwrap * • Caligari Truespace * • Photoshop *

  4. Blender • Pros: • Free, Relatively Powerful. • Can do skeletal animations. • Easy to import/export. • Cons: • Learning Curve; • counter-intuitive, “clunky” interface.

  5. Maya • Pros: • Extremely powerful. • Well documented. • Elegant, fast interface. • Becoming industry standard. • Cons: • ~$2,000. • Very good, but not excellent UV mapping

  6. 3DS • Pros: • Very powerful. • Similar to Maya • Cons: • Expensive.

  7. Wings 3D • Fast. • Easy to use. • Can make excellent Low-Poly models • Cons: • No animation / UV mapping. • Hard to make complicated / High-poly models

  8. Ultimate Unwrap • Pros: • Best UV mapping tool on the market (in my opinion) • Very fast, simple interface. • View texture on model in 3D environment. • Automatically updates texture when saved • All the functionality of more expensive tools • Cheap (~$70) • Cons: • Only good for UV mapping • Not directly compatible with Maya • Need to “juggle” model formats *.obj -> *.mb

  9. Caligari Truespace • Pros: • Relatively powerful • Decent skeletal animations • UV mapping • Cheap (couple hundred $ for latest version) • Cons: • Extraordinarily awkward interface • Somewhat slow

  10. Photoshop • A necessity • Uses Layers • Highly Versatile tool set • Great for creating skins to texture models

  11. 3D Modeling Technique • Art through extrusion • Minimize Polygons

  12. Art through Extrusion • Start with basic shape (cube) • Extrude a Face • Adjust size of face • Collapse vertices / edges to make angles • Repeat above • Use Symmetry

  13. Minimize Them Polies! • Use triangular points (when possible) • Focus attention on salient areas • Rely on texturing for detail – keep it simple • Orient human models in standard position (shown)

  14. Some Buildings… • Both < 20 polies

  15. Some Space Ships…Both <80 polies

  16. UV / Texture Mapping • Different Types • Methods • Minimize Size of Images

  17. There’s more than one way to Skin a Cowboy… • Face Painting • Paint a fixed texture to individual faces • Pros: easy, fast • Cons: looks atrocious up close • Materials • Apply a “material” or surface texture to a face • Phong, Metallic, etc. • Diffuse, Ambient, Emissive, Specular, lightings • Pros: Looks really good. • Cons: Requires in-game light source. Expensive. • UV Mapping * • “Unwrap” polygon model to flat surface • “Paint a picture” over unwrapped polies • Pros: Can make low-poly models look good! • Cons: Difficult to learn / do well.

  18. UV Mapping • Import Model • Unwrap as desired • Create Texture

  19. Import Model • Disorganized UV map

  20. Unwrap Model as Desired • Many Different Types • Box, cylindrical, plane, etc. • Make it “easy to paint” • Conserve space • Devote more space to salient parts

  21. Paint Texture Onto Model • Use many layers (Photoshop / PSP) • Low opacity Air Brush for shading • Darken Edges & Brighten centers of polygons • Gives a more “rounded” appearance • Keep textures small!

  22. Skeletal Animations (Maya) • Set up Skeleton • Organize bones into Hierarchy • Inverse / Forward Kinematics • Skinning Your Character • Get the MOST from your model

  23. Set up Skeleton • Maya: Skeleton -> Joint Tool • Be anatomically accurate • Start from pivot; work outward • Use at least 2 perspectives

  24. Use Mirror Joint • Orient Model to the Origin!!! • Only way to ensure symmetry • Much easier • Mirror Joint • Select highest-order bone: hip • Maya: skeleton -> mirror joint

  25. Use Hypergraph • Label bones • Organize into hierarchy • Click / drag

  26. Bind to Skin • Attaches skeleton to model • Maya: skin -> bind skin -> smooth bind+ • Set max influence = 1 • Too many slows down in-game animation

  27. Time to Animate • Set a “neutral pose” • Select All • Key Everything at time = -10

  28. Inverse Kinematics • Use IK Handles • Maya: Skeleton -> IK Handle Tool • Allows fast and positioning

  29. OH NO! • Sometimes difficult to get specific pose… • Then use Forward Kinematics

  30. Have animation reference • Easy to google • Search for image displaying desired animation keyframes

  31. Loop Animations • Save Effort – Copy / Paste Keyframes • Click on keyframed object / IK handle • Right click on Maya Timeline -> copy • Move timeline -> paste

  32. Create more animations • Skip a few frames • Select all • Key all • So animations don’t interpolate between each other • Skip a few more frames • Have at it!

  33. Export your Animation • Can download exporter from Ogre3d site

More Related