.x exportation

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

.x exportation

Post by Goldor »

someone know when i load a mesh i saw 2 mesh

one in y axis and the other is like a mirror on the z axis

this the code i write

Code: Select all

IAnimatedMeshX* mesh = (scene::IAnimatedMeshX* )smgr->getMesh("../../media/player.X");
	
	cout << "animation count = " << mesh->getAnimationCount() << endl;
	for (int i = 0; i != mesh->getAnimationCount(); i++)
	{
	cout << mesh->getAnimationName(i) << endl;
	}

               ISceneNode* node = smgr->addAnimatedMeshSceneNode( mesh );
	node->setMaterialTexture(0,driver->getTexture("../../media/irrlicht2_dn.jpg"));
	mesh->getDrawableSkeleton(0);
Post Reply