When importing animated DirectX files into irrEdit v1.5, animation is corrupted when the DirectX file has multiple materials.
Specifically, if two faces share an edge, but are assigned to two different materials, animation will be corrupted and you'll get
this error message:
"X loader: Duplicated vertex, animation might be corrupted."
If the DirectX importer is splitting vertices per material, I don't believe vertices are being split correctly when animation is present.
As a workaround, if you unweld all edges at the material borders, this will fix the problem.
I uploaded an example of the bug:
http://www.megaupload.com/?d=CJCJWDRO
http://depositfiles.com/files/lj5imvaxx
http://rapidshare.com/files/336839885/t ... s.zip.html
edit:
Importing Blitz3D .B3D files also show the same vertex-material splitting animation bug.
Bug importing animated DirectX files
Bug importing animated DirectX files
Last edited by Bolt on Sun Jan 17, 2010 7:16 pm, edited 1 time in total.
-
christianclavet
- Posts: 1638
- Joined: Mon Apr 30, 2007 3:24 am
- Location: Montreal, CANADA
- Contact:
Just wanted to ask is this bug fixed at this time?
I am using Irrlicht 1.7.1 build with MinGW, anim8or for modeling and export animations into .3ds format. Next I use conv3ds.exe (with GUI frontend) to convert into textual animated .x files.
Importing in test program gives that error: "X loader: Duplicated vertex, animation might be corrupted."
How can I "unweld all edges at the material borders"?
dekyco
I am using Irrlicht 1.7.1 build with MinGW, anim8or for modeling and export animations into .3ds format. Next I use conv3ds.exe (with GUI frontend) to convert into textual animated .x files.
Importing in test program gives that error: "X loader: Duplicated vertex, animation might be corrupted."
How can I "unweld all edges at the material borders"?
dekyco
