You need a function which renders all the objects in Irrlicht of course...

You need to replace this call
Ogre_Render(pD3dDev,pMesh,pSkin,pMaterial,pEffect); // your own render function
with your own function