KwXporter
KwXporter
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
Unknown data object in frame in x file: ObjectMatrixComment
Unknown data object in x file: AnimTicksPerSecond
some1 could explain me why
Re: KwXporter
I guess this is just a comment, it is ignored by IrrlichtGoldor wrote:Unknown data object in frame in x file: ObjectMatrixComment
Irrlicht doesn't (yet) support loading the default speed from the x file. you need to set it manually.Goldor wrote:Unknown data object in x file: AnimTicksPerSecond
Does the model look okay?
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!!!
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!!!
-
- Posts: 616
- Joined: Wed Nov 01, 2006 6:26 pm
- Location: Cairo,Egypt
- Contact:
I set the frame rate in 3ds max at 15 fps.
this is the code for my mesh
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") );
}
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.
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.
-
- Posts: 10
- Joined: Wed Jul 11, 2007 11:03 am
- Location: UK
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.
Bwahahahaha...the world is mine.
Maybe.
Well, maybe not.
Maybe.
Well, maybe not.
if you dont have.
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.
www.rapidshare.com , www.megaupload.com , www.uploading.com , www.freewebs.com , etc
Thanks.
Venkadesan V Tharshan
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
I use kwxport-070716-max9.msi.
thx in advance for your help
Last edited by Goldor on Wed Jul 25, 2007 4:00 am, edited 1 time in total.
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
this is the link for panda
http://www.andytather.co.uk/Panda/direc ... loads.aspx