English 中文(简体)
Issue with animated .x files and multiple materials
原标题:

I ve been trying to export skinned and animated .x models with multiple materials on the same mesh but have found the skinning breaks when that happens. The animations work fine but the mesh stops wrapping around the bones properly (it seems) with what looks to be different vertices attaching themselves to different bones causing a strange mess.

When only one material is attached to the entire mesh it looks fine:

http://imgur.com/KSV0w

However when two are attached it goes all nuts:

http://imgur.com/l4PwI

Not sur eif this is relevant but when I changed the material of a single triangle on the left side the entire left side of the model became garbled as you can see in the screenshot, however the right side was fine. When I changed the material of another triangle on the right side it all became garbled.

I m using the pandasoft DirectX exporter, I ve also trid KW-Xport

最佳回答

Turns out the DirectX x file viewer was what was broken, I tried loaidng the model in the 2004 skinned mesh sample in the directx sdk and it worked fine.

问题回答

暂无回答




相关问题
Prerequisite for learning directx

I am from .net C# background and I want to learn DirectX. I have knowledge of C++ but I am fairly new to graphic world. I am little confused about how to start learning directx, should I start ...

How to programmatically disable the auto-focus of a webcam?

I am trying to do computer vision using a webcam (the model is Hercules Dualpix). I know it is not the ideal camera to use, but I have no choice here. The problem is the auto-focus makes it hard/...

Making an object orbit a fixed point in directx?

I am trying to make a very simple object rotate around a fixed point in 3dspace. Basically my object is created from a single D3DXVECTOR3, which indicates the current position of the object, ...

3d Alternative for D3DXSPRITE for billboarding

I am looking to billboard a sun image in my 3d world (directx 9). Creating a D3DXSPRITE is great in some cases, but it is only a 2d object and can not exist in my "world" as a 3d object. What is ...

热门标签