But there's still some problems with the getMesh() that drives my crazy.
There's the first:
Attempt one:
Code: Select all
video::IImage*
img = drvr->createImageFromFile("Resource/greyscale_64_64.bmp");
scene::IAnimatedMesh*
amesh = smgr->addTerrainMesh ( "greyscale_64_64.msh",
img,
img,
core::dimension2d< f32 >(1.0f, 1.0f),
255.0f,
core::dimension2d< s32 >(16, 16)
);
amesh->getMesh(0);
Code: Select all
ITerrainSceneNode->getMesh()
E.G. use getBoundingBox() method.