Wait look another X file issue

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
andy0482
Posts: 23
Joined: Mon Sep 13, 2004 6:22 pm

Wait look another X file issue

Post by andy0482 »

I got this model from DarkMatter at http://www.thegamecreators.com/

When I tried to load the file I get these errors in the colsole

Code: Select all

Unknown data object in x file: Header
Unknown data object in x file: Material
Index count per face not equal to face material index count in x file.
Mesh without material found in x file.
Loaded mesh: German.x
Needed 32ms to create OctTreeTriangleSelector.(14 nodes, 697 polys)
When the app started nothing showed up.

Then I opened the model in DX Mesh Viewer. Everything looked fine so I saved from the DX Mesh Viewer. Now the file loads but the animation and placement of parts of the model are all messed up.

Below is a picture of what I get when I load the mesh. The starting X file. The one from the DX Mesh viewer and the texture.

Thanks

Image

Model from DarkMatter
http://www.jandrew.net/dean/German.x

Model after the DX Mesh Viewer
http://www.jandrew.net/dean/German2.x

Here is the texture
http://www.jandrew.net/dean/german.bmp


PLEASE PLEASE HELP

Thanks again
vermeer
Posts: 2017
Joined: Wed Jan 21, 2004 3:22 pm
Contact:

Post by vermeer »

happens also in some x viewers I have.

U see, is not th optimal situation. That is: one mesh, one texture for the character. It's much better also for performance in an engine, and usually, the parts produce ugly bbending, as there's no a carefully weighted joint, but just too hierarchical parts, which is good for robots and nothing else..sometimes is done so as the artist anyway does not know how to set weights, or don't have a package that support it (milkshape doesn't) or just the target engine does not support weights.

advice: grab or creat a single mesh character, with one only texture too. Thi sone has only one texture, all the body parts are sharing it...

other problems were happening for the typical non standard x format export.
Finally making games again!
http://www.konekogames.com
andy0482
Posts: 23
Joined: Mon Sep 13, 2004 6:22 pm

Thx but

Post by andy0482 »

I didnt make these models as I stated. I am not an artist. I want to know how I can get irrlicht to load the files. If the DX Mesh viewer can load the file then I think irrlicht should be able to as well.
vermeer
Posts: 2017
Joined: Wed Jan 21, 2004 3:22 pm
Contact:

Post by vermeer »

meshview can, but for example, Ultimate unwrap can't. maybe it's something with left/right handed system, or that is formed of several objects....

I don't like a model that's made in chunks, and even less in a format that actually supports weights...Probably that one was targeted also to seel to dark basic classic users, only supporting dx7 hierarchical rigid rigs.
Finally making games again!
http://www.konekogames.com
andy0482
Posts: 23
Joined: Mon Sep 13, 2004 6:22 pm

But

Post by andy0482 »

I still think Irrlicht should be able to load the file. Also does anyone know how I could fix the file to work?

Thanks
vermeer
Posts: 2017
Joined: Wed Jan 21, 2004 3:22 pm
Contact:

Post by vermeer »

I don't think irrlicht can load a multiple objects x file, but that could be not the problem...

My bets are that or that is using a left/right handed different to whatever uses irrlicht
Finally making games again!
http://www.konekogames.com
JoeWright
Posts: 74
Joined: Mon Dec 08, 2003 3:51 pm

Post by JoeWright »

See:

http://irrlicht.sourceforge.net/phpBB2/ ... hp?p=23666

for multiple onject issues.

Also, Irrlicht doesn't currently support material referencing.

Regards

Joe
Post Reply