Problems with .3ds ?

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
Angelus
Posts: 7
Joined: Thu Apr 06, 2006 4:51 pm

Problems with .3ds ?

Post by Angelus »

Hello,
i have a problem with loading .3ds files.
I saved this ( http://85.93.9.251/error2b.jpg ) as an .3ds file and tried to load it

Code: Select all

	if (node)
	{
		node->setMaterialFlag(EMF_LIGHTING, false);
		node->setScale(core::vector3df(0.1,0.1,0.1));
		node->setPosition(core::vector3df(100,-30,10));
		//node->setFrameLoop(0, 310);
		//node->setMaterialTexture( 0, driver->getTexture("../../media/sydney.bmp") );
	}
But, in fact, i got this:
http://85.93.9.251/error2a.jpg

Where is the problem ?
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

see this thread-
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=12417

i'm sure hybrid can use all the testers and quirky meshes he can get hold of, so feel free to volunteer to help ;)
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
hybrid

Post by hybrid »

This is a rather simple error. Only one third of the faces are drawn due to a wrong calculation of the face numbers. I think I linked to the corresponding thread in my bug fix thread. This problem is solved, you just have to recompile with the patch applied.
Angelus
Posts: 7
Joined: Thu Apr 06, 2006 4:51 pm

Post by Angelus »

thank you
Post Reply