AstaTus
-- 夏天不热。。
posts - 22,comments - 12,trackbacks - 0
火炬之光是用Ogre开发的一款单机游戏,所以他的资源是可以再度利用的.但是在加载模型时他的动画信息没有导入进来,所以要将他的Skeleton文件动下手脚,以火炬之光中 Model/Goust为例,先将Goust.Skeleton文件拖放到OgreXmlConverter.exe工具图标上,然后就会在Goust.Skeleton目录上生成一个Goust.Skeleton.XML文件,该在中间插入<animationlinks>标记,然后将所有的动画Skeleton文件Link进来.然后将xml文件拖到OgreXmlConverter.exe工具图标上,便自动又生成一个oust.Skeleton,该文件内就会link动画文件了

<skeleton> <bones> </bones> <bonehierarchy> </bonehierarchy> <animations> </animations> <animationlinks> </animationlinks> </skeleton

<animationlinks> <animationlink skeletonName="Attack1.SKELETON" scale="1" /> <animationlink skeletonName="Attack2.SKELETON" scale="1" /> <animationlink skeletonName="Die.SKELETON" scale="1" /> <animationlink skeletonName="Idle.SKELETON" scale="1" /> <animationlink skeletonName="Run.SKELETON" scale="1" /> <animationlink skeletonName="spawn.SKELETON" scale="1" /> <animationlink skeletonName="special_teleport.SKELETON" scale="1" /> <animationlink skeletonName="Special_Gen_AOE.SKELETON" scale="1" /> <animationlink skeletonName="Walk.SKELETON" scale="1" /> <animationlink skeletonName="Special_summon.SKELETON" scale="1" /> </animationlinks>
posted on 2010-04-11 22:41 AstaTus 阅读(1752) 评论(0)  编辑 收藏 引用 所属分类: Ogre

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理