随笔 - 1419  文章 - 388  trackbacks - 0


改变世界的是这样一群人
他们寻找梦想中的乐园
当找不到时
他们亲手创造了它

------------------------



Time is Life

让我们一步步将梦想变成现实

不要迷失在技术的海洋里

任何未经实践检验的理论都是危险而不可靠的

一个人若精神上得不到自由而成为别人思想的奴隶,那么这种人是最可悲的,毋宁死而不做奴隶。

------------------------


吾生也有涯,而知也无涯。
以有涯随无涯,殆已;
已而为知者,殆而已矣!

常用链接

随笔分类(448)

文章分类(17)

3D游戏编程相关链接

搜索

  •  

最新评论

Using Key−Framed Skeletal Animation(5)      摘要: In this chapter, you learned how to load animation sets and use that data to animate your on−screen meshes. To better demonstrate these animation concepts, I have created a program (SkeletalAnim) that shows your favorite lady of skeletal−based animation, Microsoft's Tiny (from the DirectX SDK samples), doing what she does best walking around! When you run the demo application, you'll be greeted with a scene like the one shown in Figure 5.3.  
 
Using Key−Framed Skeletal Animation(4)      摘要: After you've loaded the animation data, you need to map the animation classes to their respective bones in the bone hierarchy. Mapping the hierarchies is important because whenever an animation is updated, you need a quick way to access the bone's transformations. By mapping, you create an easier method of accessing the bones. 
 
Using Key−Framed Skeletal Animation(3)      摘要: Assuming you want more than one animation set loaded at once, you can even create a class that contains an array (or rather, a linked list) of cAnimationSet classes, which means that you can access a whole slew of animations with one interface! This class, called cAnimationCollection, is also derived from the cXParser class, so you can parse .X files directly from the class in which you'll be storing the animations.  
 
Using Key−Framed Skeletal Animation(2)      摘要: Currently, there are four types of keys you can use in your animation sets, each signified by a value ranging from 0 to 4 that is listed in the .X file following the frame reference inside an AnimationKey template. These four keys and their respective values are:  
 
Using Key−Framed Skeletal Animation(1)      摘要: If you have explored the DirectX SDK samples, you might have come across a little demo called SkinnedMesh, which shows you how to use a pre−calculated key−frame animation stored in an .X file to animate an on−screen character. The problem is, that sample's code is so convoluted and hard to understand that it'll make your head spin. With no real documentation of how to use .X file animation data, the skinned mesh animation sample remains full of mystery.  

posted on 2008-04-25 13:46 lovedday 阅读(149) 评论(0)  编辑 收藏 引用 所属分类: ■ D3D Animation

标题  
姓名  
主页
验证码 *
内容(提交失败后,可以通过“恢复上次提交”恢复刚刚提交的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
[使用Ctrl+Enter键可以直接提交]

相关链接:
网站导航: