Page 1 of 1
KwXporter
Posted: Wed Jul 18, 2007 7:47 pm
by Goldor
I try export a player from 3ds max 8 to a .X file. When i try to load it in irrlicht engine N that display in the console :
Unknown data object in frame in x file: ObjectMatrixComment
Unknown data object in x file: AnimTicksPerSecond
some1 could explain me why
Re: KwXporter
Posted: Wed Jul 18, 2007 8:08 pm
by bitplane
Goldor wrote:Unknown data object in frame in x file: ObjectMatrixComment
I guess this is just a comment, it is ignored by Irrlicht
Goldor wrote:Unknown data object in x file: AnimTicksPerSecond
Irrlicht doesn't (yet) support loading the default speed from the x file. you need to set it manually.
Does the model look okay?
Posted: Wed Jul 18, 2007 8:36 pm
by Goldor
no model appear
Posted: Wed Jul 18, 2007 8:38 pm
by Goldor
i use the new exporter for 3ds max8. When i try to put my character's .x file in irrlicht i've this following error:
Unknown data object in x file: KeyValuePair
Unknown data object in frame in x file: ObjectMatrixComment
Unknown data object in mesh in x file: DeclData
Unknown data object in frame in x file: ObjectMatrixComment(39 times)
this is my last attemp and those errors
if someone know what i've done wrong, pls msg me!!!
Posted: Wed Jul 18, 2007 10:13 pm
by Goldor
what is the speed in irrlicht I use 15fps
Posted: Wed Jul 18, 2007 10:24 pm
by omar shaaban
Goldor wrote:what is the speed in irrlicht I use 15fps
15 fps and there is no model!!! u have a problem here did u run the examples at a good fps!?
Posted: Wed Jul 18, 2007 11:13 pm
by Goldor
I set the frame rate in 3ds max at 15 fps.
this is the code for my mesh
Code: Select all
IAnimatedMeshX* mesh = (scene::IAnimatedMeshX* )smgr->getMesh("../../media/test_player.X");
IAnimatedMeshSceneNode* node = smgr->addAnimatedMeshSceneNode( mesh );
if (node){
node->setAnimationSpeed(15);
node->setMaterialFlag(EMF_LIGHTING, false);
node->setFrameLoop(0, 310);
node->setMaterialTexture( 0, driver->getTexture("../../media/sydney.bmp") );
}
Posted: Thu Jul 19, 2007 5:31 am
by bitplane
try opening it in
microsoft's x viewer, then save it again.
Also please post a link to your model file so we can use it to test the x loader.
If you know exactly which exporter "the new exporter for 3ds max8" is (like it's name, where you downloaded it, who made it, the version number) that would be useful too.
Posted: Thu Jul 19, 2007 8:41 am
by evilbobthebob
Hmm...to prevent the errors happening, it is possible to just search for the code in the .x file using a word processor such as wordpad. I had the same problem wiht the Blender .x exporter because it shortened the texture names so they couldn't be loaded. I went in, searched, edited the texture names and it worked.
Posted: Sat Jul 21, 2007 6:23 am
by Goldor
my_Xporter = kwxport-070716-max8.msi
Posted: Sat Jul 21, 2007 6:27 am
by Goldor
i've no website but ill find a solution to send u the .x and the .max soon
if you dont have.
Posted: Sat Jul 21, 2007 12:21 pm
by tharshan
if you dont have a website host the file for free on File Sharing sites like this :
www.rapidshare.com ,
www.megaupload.com ,
www.uploading.com ,
www.freewebs.com , etc
Thanks.
Posted: Sat Jul 21, 2007 6:48 pm
by Goldor
thx tharsan
Posted: Sat Jul 21, 2007 7:05 pm
by Goldor
i've already tried with only one texture for the mesh in max 8 and i had the same result in my console. And same with max 9.
I use kwxport-070716-max9.msi.
thx in advance for your help
Posted: Tue Jul 24, 2007 5:36 am
by Goldor
I think the best option it's to use panda for max 9 cause i use it and my .x file works nicely in irrlicht engine
this is the link for panda
http://www.andytather.co.uk/Panda/direc ... loads.aspx