Code: Select all
Driver->drawMeshBuffer(mesh->getMeshBuffer(0));
Code: Select all
Driver->drawMeshBuffer(mesh->getMeshBuffer(0));
Code: Select all
IAnimatedMesh* mesh = SceneManager->getMesh("human.obj");
// next I add nodes, position etc...
scene::IMeshBuffer* mb = mesh2->getMeshBuffer(0);
// Now test function:
if(!mb)
printf("Error");
// Other code from application...
Code: Select all
scene::IMeshBuffer* mb = mesh->getMeshBuffer(0);
Code: Select all
IAnimatedMesh* mesh = SceneManager->getMesh("human.obj");
Code: Select all
IMesh* m = mesh->getMesh(0, 255, 0, 0);
Code: Select all
IMeshBuffer* mb = m->getMeshBuffer(0);
Code: Select all
Driver->drawMeshBuffer(mb);