KwXporter

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
Goldor
Posts: 19
Joined: Thu Jan 18, 2007 5:49 am

KwXporter

Post 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
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Re: KwXporter

Post 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?
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Goldor
Posts: 19
Joined: Thu Jan 18, 2007 5:49 am

Post by Goldor »

no model appear :(
Goldor
Posts: 19
Joined: Thu Jan 18, 2007 5:49 am

Post 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!!!
Goldor
Posts: 19
Joined: Thu Jan 18, 2007 5:49 am

Post by Goldor »

what is the speed in irrlicht I use 15fps
omar shaaban
Posts: 616
Joined: Wed Nov 01, 2006 6:26 pm
Location: Cairo,Egypt
Contact:

Post by omar shaaban »

Goldor wrote:what is the speed in irrlicht I use 15fps
:shock: :shock: 15 fps and there is no model!!! u have a problem here did u run the examples at a good fps!?
Goldor
Posts: 19
Joined: Thu Jan 18, 2007 5:49 am

Post 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") );
	}
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post 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.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
evilbobthebob
Posts: 10
Joined: Wed Jul 11, 2007 11:03 am
Location: UK

Post 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.
Bwahahahaha...the world is mine.


Maybe.


Well, maybe not.
Goldor
Posts: 19
Joined: Thu Jan 18, 2007 5:49 am

Post by Goldor »

my_Xporter = kwxport-070716-max8.msi
Last edited by Goldor on Sat Jul 21, 2007 6:30 am, edited 1 time in total.
Goldor
Posts: 19
Joined: Thu Jan 18, 2007 5:49 am

Post by Goldor »

i've no website but ill find a solution to send u the .x and the .max soon
tharshan
Posts: 19
Joined: Sun Jun 17, 2007 1:39 am
Contact:

if you dont have.

Post 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.
Venkadesan V Tharshan
Goldor
Posts: 19
Joined: Thu Jan 18, 2007 5:49 am

Post by Goldor »

thx tharsan
Goldor
Posts: 19
Joined: Thu Jan 18, 2007 5:49 am

Post 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
Last edited by Goldor on Wed Jul 25, 2007 4:00 am, edited 1 time in total.
Goldor
Posts: 19
Joined: Thu Jan 18, 2007 5:49 am

Post 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
Post Reply