digimikeh
21-02-2009 13:37:49
Hi there...
How could i make this? :
I'm using Blender 2.48a to model the scenes, objects, player, and everything, and just coding in python-ogre importing all meshes....
But I have a dude right now... If python supports meshes, ok,, i don't have troubles exporting from Blender the Ogre Meshes with plugin, then i converted with XMLConverter, no problem.. The dilemma is when i want to import a mesh in ogre. How could i do ?
1) In Blender, select all the object and join them (Ctrl+J), that will form only one big mesh, i put mesh name as scene name and then export it, convert it and import from ogre code....
or
2) Export every object separately, creating one file.mesh per object, and the import everyone one per time in ogre code.
The problem in Nº 1, is the lights, i think, some object cast shadows and others not, but we did a one big mesh, so... it is possible to separate them in the code?...
The Nº 2 has the difficulty of positioning every objects in their right place just looking like Blender, because all imported objects from Ogre code are centered to (0 , 0 , 0) coordinates... okey.. is easy to move them, but to get precise location of every object like in Blender was posted will take a very long time to set......
There must be a method to make easier this... how do you make ?
Thanks Friends...
How could i make this? :
I'm using Blender 2.48a to model the scenes, objects, player, and everything, and just coding in python-ogre importing all meshes....
But I have a dude right now... If python supports meshes, ok,, i don't have troubles exporting from Blender the Ogre Meshes with plugin, then i converted with XMLConverter, no problem.. The dilemma is when i want to import a mesh in ogre. How could i do ?
1) In Blender, select all the object and join them (Ctrl+J), that will form only one big mesh, i put mesh name as scene name and then export it, convert it and import from ogre code....
or
2) Export every object separately, creating one file.mesh per object, and the import everyone one per time in ogre code.
The problem in Nº 1, is the lights, i think, some object cast shadows and others not, but we did a one big mesh, so... it is possible to separate them in the code?...
The Nº 2 has the difficulty of positioning every objects in their right place just looking like Blender, because all imported objects from Ogre code are centered to (0 , 0 , 0) coordinates... okey.. is easy to move them, but to get precise location of every object like in Blender was posted will take a very long time to set......
There must be a method to make easier this... how do you make ?
Thanks Friends...