In the past I was making levels in Serious Editor, a WE for game Serious Sam First/Second Encounter. Its great editor and I can manage everything in it like managing things in my home - I got used to it so much.
I'm now learning Irrlich, its great engine but it lacks decent World Editor (Irrlich is still great, I am not complaining!).
So I decidec to use Serious Editor for making levels. There is an option to export it to .RAW 3d model, which I have converted to .3ds with Milkshape.
I have loaded node like in example number 2, "Quake Level", and of course I positioned it at x/y/z 0,0,0. When I ran my program, well it loaded my level model correctly but it was WAY too small (I used Serious Sam units). So i enarged it 16 times using milkshape and I tried again. It was good now (though strangely oriented - Serious Editor "down" is Irrlich "left", but its no problem to rotate model in Milkshape after importing and scaling).
What is my question - about texturing. Because Serious Editor does not export it with textures, I'd like to texture it manually.
-----------
creating simple world in serious editor:
importing crap in milkshape
my level in irrlich
-----------
As u can see my world is loaded correctly, collided correctly, its great. But its untextured (I have added light scene node with circle fly'er because without lighting node was unreconizable - it was plain shape with extact color everywhere). Now I'm looking after ideas about texturizing that.
I though about creating something like "Level editor", which would have option to import those mesh'es created in Serious Editor, adding lighting nodes, textures and other stuff. I have already ideas about lighting/nodes, it could be xml file with stored positions and propeties of nodes, well thats not my problem.
Problem is in texturing - how should I texture those polygons and how I should save it? I really dont have idea, AFAIK I can texture only full mesh with one texture calling
Code: Select all
q3node->getMaterial(0).setTexture(0, driver->getTexture("../../media/wall.jpg"));
q3node->setMaterialFlag(video::EMF_LIGHTING, true);
Thanks in advance for all replies and so