I'd like to ask about how to load a Map into Irrlicht
that is if i have draw a map in 3dsmax, so in the tutorial 2
it said that to load the .pk3 file
so i'd like to ask is that i need to load a pk3 file or just load a obj file from the 3dsmax to make a map?
if i need to load the pk3 file, how can i make this file from 3dsmax?
thanks for any solution and suggestion
About Tutorial 2: Quake 3 Map
//for example: look for a similar line in the quake example:
scene::IAnimatedMesh* mesh = smgr->getMesh("../../media/OAB3D/OpenArena2.b3d");
// we used a Blitz 3d file, but I believe u can use .3ds as well. You need to make sure your path is correct. And, since your not using a zip... or pk3 I think you can use this
if (mesh)
node = smgr->addAnimatedMeshSceneNode(mesh);
// rather than
// node = smgr->addOctTreeSceneNode(mesh->getMesh(0));
// which caused an error for me when I loaded from B3d file.
scene::IAnimatedMesh* mesh = smgr->getMesh("../../media/OAB3D/OpenArena2.b3d");
// we used a Blitz 3d file, but I believe u can use .3ds as well. You need to make sure your path is correct. And, since your not using a zip... or pk3 I think you can use this
if (mesh)
node = smgr->addAnimatedMeshSceneNode(mesh);
// rather than
// node = smgr->addOctTreeSceneNode(mesh->getMesh(0));
// which caused an error for me when I loaded from B3d file.
MACK