游戏开发论坛

 找回密码
 立即注册
搜索
查看: 4809|回复: 9

panda exporter .x 导出骨骼动画有问题

[复制链接]

52

主题

155

帖子

160

积分

注册会员

Rank: 2

积分
160
发表于 2007-3-12 14:50:00 | 显示全部楼层 |阅读模式
我下载了Panda DirectX Max8 Exporter 4.8,
在3d max 8 导出一般的物体可以用directx viewer显示,
但是导出的骨骼动画不行,用directx viewer显示不正确,
请问这里有没有什么技巧啊?

这是viewer的日志:
Loading model - C:\Documents and Settings\Timo Petroll\My Documents\temp\myfirst.X
Tangents and Binormals cannot be generated without a 2-element or greater texture coordinate at TEXCOORD0. Please use DXOps to UV-Atlas your mesh.
Binormals do not exist on mesh.  Attempting to calculate.
Tangents do not exist on mesh.  Attempting to calculate.
'Bone04' material 0 - No effect instance specified.
Reverting to the default effect.
SAS: Loading effect 'Resource:#103'
Tangents and Binormals cannot be generated without a 2-element or greater texture coordinate at TEXCOORD0. Please use DXOps to UV-Atlas your mesh.
Binormals do not exist on mesh.  Attempting to calculate.
Tangents do not exist on mesh.  Attempting to calculate.
'Bone01' material 0 - No effect instance specified.
Reverting to the default effect.
SAS: Loading effect 'Resource:#103'
Tangents and Binormals cannot be generated without a 2-element or greater texture coordinate at TEXCOORD0. Please use DXOps to UV-Atlas your mesh.
Binormals do not exist on mesh.  Attempting to calculate.
Tangents do not exist on mesh.  Attempting to calculate.
'Bone02' material 0 - No effect instance specified.
Reverting to the default effect.
SAS: Loading effect 'Resource:#103'
Tangents and Binormals cannot be generated without a 2-element or greater texture coordinate at TEXCOORD0. Please use DXOps to UV-Atlas your mesh.
Binormals do not exist on mesh.  Attempting to calculate.
Tangents do not exist on mesh.  Attempting to calculate.
'Bone03' material 0 - No effect instance specified.
Reverting to the default effect.
SAS: Loading effect 'Resource:#103'
Tangents and Binormals cannot be generated without a 2-element or greater texture coordinate at TEXCOORD0. Please use DXOps to UV-Atlas your mesh.
Binormals do not exist on mesh.  Attempting to calculate.
Tangents do not exist on mesh.  Attempting to calculate.
'Bone05' material 0 - No effect instance specified.
Reverting to the default effect.
SAS: Loading effect 'Resource:#103'
Loading model - C:\Documents and Settings\Timo Petroll\My Documents\temp\myfirst.X
Tangents and Binormals cannot be generated without a 2-element or greater texture coordinate at TEXCOORD0. Please use DXOps to UV-Atlas your mesh.
Binormals do not exist on mesh.  Attempting to calculate.
Tangents do not exist on mesh.  Attempting to calculate.
'Bone04' material 0 - No effect instance specified.
Reverting to the default effect.
SAS: Loading effect 'Resource:#103'
Tangents and Binormals cannot be generated without a 2-element or greater texture coordinate at TEXCOORD0. Please use DXOps to UV-Atlas your mesh.
Binormals do not exist on mesh.  Attempting to calculate.
Tangents do not exist on mesh.  Attempting to calculate.
'Bone01' material 0 - No effect instance specified.
Reverting to the default effect.
SAS: Loading effect 'Resource:#103'
Tangents and Binormals cannot be generated without a 2-element or greater texture coordinate at TEXCOORD0. Please use DXOps to UV-Atlas your mesh.
Binormals do not exist on mesh.  Attempting to calculate.
Tangents do not exist on mesh.  Attempting to calculate.
'Bone02' material 0 - No effect instance specified.
Reverting to the default effect.
SAS: Loading effect 'Resource:#103'
Tangents and Binormals cannot be generated without a 2-element or greater texture coordinate at TEXCOORD0. Please use DXOps to UV-Atlas your mesh.
Binormals do not exist on mesh.  Attempting to calculate.
Tangents do not exist on mesh.  Attempting to calculate.
'Bone03' material 0 - No effect instance specified.
Reverting to the default effect.
SAS: Loading effect 'Resource:#103'
Tangents and Binormals cannot be generated without a 2-element or greater texture coordinate at TEXCOORD0. Please use DXOps to UV-Atlas your mesh.
Binormals do not exist on mesh.  Attempting to calculate.
Tangents do not exist on mesh.  Attempting to calculate.
'Bone05' material 0 - No effect instance specified.
Reverting to the default effect.
SAS: Loading effect 'Resource:#103'
Loading model - C:\Documents and Settings\Timo Petroll\My Documents\temp\myfirst.X
Tangents and Binormals cannot be generated without a 2-element or greater texture coordinate at TEXCOORD0. Please use DXOps to UV-Atlas your mesh.
Binormals do not exist on mesh.  Attempting to calculate.
Tangents do not exist on mesh.  Attempting to calculate.
'Bone04' material 0 - No effect instance specified.
Reverting to the default effect.
SAS: Loading effect 'Resource:#103'
Tangents and Binormals cannot be generated without a 2-element or greater texture coordinate at TEXCOORD0. Please use DXOps to UV-Atlas your mesh.
Binormals do not exist on mesh.  Attempting to calculate.
Tangents do not exist on mesh.  Attempting to calculate.
'Bone01' material 0 - No effect instance specified.
Reverting to the default effect.
SAS: Loading effect 'Resource:#103'
Tangents and Binormals cannot be generated without a 2-element or greater texture coordinate at TEXCOORD0. Please use DXOps to UV-Atlas your mesh.
Binormals do not exist on mesh.  Attempting to calculate.
Tangents do not exist on mesh.  Attempting to calculate.
'Bone02' material 0 - No effect instance specified.
Reverting to the default effect.
SAS: Loading effect 'Resource:#103'
Tangents and Binormals cannot be generated without a 2-element or greater texture coordinate at TEXCOORD0. Please use DXOps to UV-Atlas your mesh.
Binormals do not exist on mesh.  Attempting to calculate.
Tangents do not exist on mesh.  Attempting to calculate.
'Bone03' material 0 - No effect instance specified.
Reverting to the default effect.
SAS: Loading effect 'Resource:#103'
Tangents and Binormals cannot be generated without a 2-element or greater texture coordinate at TEXCOORD0. Please use DXOps to UV-Atlas your mesh.
Binormals do not exist on mesh.  Attempting to calculate.
Tangents do not exist on mesh.  Attempting to calculate.
'Bone05' material 0 - No effect instance specified.
Reverting to the default effect.
SAS: Loading effect 'Resource:#103'
sf_2007312144958.jpg

52

主题

155

帖子

160

积分

注册会员

Rank: 2

积分
160
 楼主| 发表于 2007-3-12 15:38:00 | 显示全部楼层

Re: panda exporter .x 导出骨骼动画有问题

另外,哪位朋友能不能发个3d max 8制作的骨骼动画给我,我试试是不是我3dmax中操作有问题。

1万

主题

1万

帖子

2万

积分

管理员

中级会员

Rank: 9Rank: 9Rank: 9

积分
20737
发表于 2007-3-12 17:12:00 | 显示全部楼层

Re:panda exporter .x 导出骨骼动画有问题

你的模型里可能有垃圾信息,你尝试一下panda自带的max文件导出看看。

52

主题

155

帖子

160

积分

注册会员

Rank: 2

积分
160
 楼主| 发表于 2007-3-12 17:45:00 | 显示全部楼层

Re:panda exporter .x 导出骨骼动画有问题

从http://www.andytather.co.uk/Panda/directxmax_samples.aspx 下载两个例子,
发现用gameres资源中的Panda DirectX Max8 Exporter 4.8无法导出,运行中提示错误。

然后从它的网站上下载一个 Panda Directx Exporter (4.8.63.0) for 3DS Max 8.0 ,
可以导出,没有提示错误,但是导出的.x文件某些顶点的位置是错误的。是否是盗版3dmax8的关系?

同样我发现下载的例子中有一些是导出好的.x文件,但是用directx viewer看起来还是顶点错误的。为什么?


看来这个东东不是那么好用啊。自己解析max文件,提取到.x中不知道难度大不大啊?

6

主题

471

帖子

1047

积分

金牌会员

Rank: 6Rank: 6

积分
1047
发表于 2007-3-12 18:58:00 | 显示全部楼层

Re:panda exporter .x 导出骨骼动画有问题

panda导出的x时候没有把动画的超过PI的旋转修正,所以会导致部分顶点位置出错。
如果做商业项目,最好还是自己写max导出插件,不然一些3D效果不太方便编辑.

15

主题

97

帖子

104

积分

注册会员

Rank: 2

积分
104
发表于 2007-3-13 07:24:00 | 显示全部楼层

Re:panda exporter .x 导出骨骼动画有问题

方法很多
实施  导出 obj  在导入  +骨骼 输出x
panda 主业 的  x 完全没问题 我这里
发个看看  是不是美女模型亚  我很擅长的转个市

3

主题

24

帖子

24

积分

注册会员

Rank: 2

积分
24
发表于 2007-3-13 10:33:00 | 显示全部楼层

Re:panda exporter .x 导出骨骼动画有问题

Panda是很成熟的导出插件,是你自己导出时候参数设置的问题吧

52

主题

155

帖子

160

积分

注册会员

Rank: 2

积分
160
 楼主| 发表于 2007-3-13 18:08:00 | 显示全部楼层

Re:panda exporter .x 导出骨骼动画有问题

最后发现设置中不能选择 export tangents (切线方向?)这个选项,
如果不选择选项这个就可以了。不知道为什么? 呵呵

1万

主题

1万

帖子

2万

积分

管理员

中级会员

Rank: 9Rank: 9Rank: 9

积分
20737
发表于 2007-3-15 21:17:00 | 显示全部楼层

Re: Re:panda exporter .x 导出骨骼动画有问题

hardy_game: Re:panda exporter .x 导出骨骼动画有问题

从http://www.andytather.co.uk/Panda/directxmax_samples.aspx 下载两个例子,
发现用gameres资源中的Pan...


我查了,两个文件一模一样的。。。。

52

主题

155

帖子

160

积分

注册会员

Rank: 2

积分
160
 楼主| 发表于 2007-3-16 10:42:00 | 显示全部楼层

Re:panda exporter .x 导出骨骼动画有问题

我仔细看了看,是我错了,我把panda 4.6 应该装到3d max 7 ,结果装到3d max 8下,呵呵,不好意思。

不过不知道panda 4.8改名成 kW x-port 了,呵呵
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-26 17:59

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表