mesh loaded but not displayed

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
BiZMaN

mesh loaded but not displayed

Post by BiZMaN »

hey out there!

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);
	}
btw im using the opengl renderer...

thx for answers hints solutions
BiZMaN
Posts: 1
Joined: Thu Sep 25, 2003 4:22 pm

Post by BiZMaN »

ok problem solved:
i simply positioned the mesh behind the clipping - plane...

shame on me
"A programmer is just a tool which converts coffein into code" anonym
Post Reply