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.
Angelus
Posts: 7 Joined: Thu Apr 06, 2006 4:51 pm
Post
by Angelus » Fri Apr 07, 2006 2:22 pm
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 ?
hybrid
Post
by hybrid » Fri Apr 07, 2006 4:20 pm
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 » Sat Apr 08, 2006 8:20 am
thank you