Code: Select all
scene::IMeshSceneNode* node = smgr->addMeshSceneNode(smgr->getMesh("tree.obj"),0,-1,core::vector3df(1922.f,360.f,450.f),
core::vector3df(0.f,0.f,0.f),core::vector3df(75.0f,75.0f,75.0f));
node->setMaterialFlag(video::EMF_LIGHTING, false);
node->setMaterialTexture(0,driver->getTexture("tree.mtl"));
I'm sure I've done something wrong, and it's probably ridiculously simple, too. Anyone have any ideas what's going on, or need more information?
I've searched these forums, I've Googled it, and I've been fiddling with this for two hours, before I finally broke down and posted this. Any help would be much appreciated.