The floor has disappeared along with one of the columns on the right.
code for the node and camera
Code: Select all
scene::ISceneNode* node = smgr->addMeshSceneNode( mesh );
if (node)
{
node->setAutomaticCulling (irr::scene::EDS_BBOX);
node->setMaterialFlag(EMF_LIGHTING, false);
node->setMaterialTexture( 0, driver->getTexture("media\\temple\\ColumnTex.jpg") );
node->setMaterialTexture( 1, driver->getTexture("media\\temple\\FloorTex.jpg") );
node->setScale(vector3df(50,50,50));
}
/*
To look at the mesh, we place a camera into 3d space at the position
(0, 30, -40). The camera looks from there to (0,5,0).
*/
ICameraSceneNode* camera = smgr->addCameraSceneNodeFPS();
camera->setPosition( vector3df(-10,5,0));
camera->updateAbsolutePosition ( );
camera->setTarget( vector3df(0,5,0));