I have no 3d programming experience at this kind of level and have only just touched Irrlicht today!
Basically I wanted to manipulate the hello world tutorial to use an obj instead of md2 since I don't really want to go to the trouble of compiling Quake 2 models.
What I have written is:
Code: Select all
IMesh* mesh = smgr->getMesh("data/models/brick.obj");
if (!mesh)
{
device->drop();
return 1;
}
IMeshSceneNode* node = smgr->addMeshSceneNode( mesh );Also, I had to guess at the functions to load a static mesh. Is there any documentation that lists every function in Irrlicht?
Thanks