Page 1 of 1

Problems with .3ds ?

Posted: Fri Apr 07, 2006 2:22 pm
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 ?

Posted: Fri Apr 07, 2006 3:42 pm
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 ;)

Posted: Fri Apr 07, 2006 4:20 pm
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.

Posted: Sat Apr 08, 2006 8:20 am
by Angelus
thank you