i got a problem with mesh displaying in irrlicht.
i create my meshes with 3dsmax and the mesh i want to display
is loaded (node is true) but not displayed.
to keep error sources low its a simple box with no textures...
heres my code:
Code: Select all
IAnimatedMesh *mesh = smgr->getMesh("models/test.3ds");
ISceneNode *node = smgr->addAnimatedMeshSceneNode(mesh);
if(node)
{
node ->setPosition(vector3df(20,50,0));
node ->setRotation(vector3df(0,0,0));
node ->setMaterialFlag(EMF_LIGHTING,FALSE);
node ->setMaterialFlag(EMF_WIREFRAME,FALSE);
smgr->addLightSceneNode(0,
vector3df(0,0,0),
SColorf(20,20,20,20),
1000,
1);
}
thx for answers hints solutions