FIRST. You’ll probably need to download Blender as well as Python and some OGRE .xml to .mesh converters, so here are the links:
Ogre Command Line ToolsBefore you get into any sort of meshing, you’re gonna need OGRECommandLineTools. Don’t worry--you don’t need to know any commands or code or anything like that for it to work.
Go
here. Highlighted in red is what you want to download. (The windows one!)
![](http://i.imgur.com/wlaROJs.png)
Once you download the zip, you have to extract it. Its nice to make a folder in C:\ and name it OGRECommandLineTools, but you need admins permissions to do so, so put it wherever you think it will be easy to find.
Blender 2.49
For the sake of following along with my screenshots, as well as it being p easy to use, we’ll be using Blender version 2.49. As I have never tried it on a Mac or Linux, it will be a windows download. Go
here to find the download. Since it's easiest to download the .exe, which is the highlighted link:
Python 2.6.6Next, you’ll need the corresponding version of Python [which is KEY to running Blender because it is a programming language that the scripts in Blender run on. It will make sense, trust me.] Blender 2.49 needs Python 2.6.2, but the most current version of 2.6.x works, so be sure to make your way
HERE and download THIS:
![](http://i.imgur.com/VOzPkA7.png)
Again, once you download the .msi, run and install it without changing any directories.
OGRE Exporter(Specifics for installation too)
Now, you can run Blender all fine and dandy, mesh to your hearts content, but you can’t export it as a .xml.mesh (which converts to a .mesh eventually, you’ll see). So, you need to download the OGRE mesh exporter for Blender [FYI, OGRE is what FH runs on. See definition from the OGRE wiki: OGRE (Object-oriented Graphics Rendering Engine) is an open-source graphics rendering engine that is written and maintained by a small core team, and contributed to by its ever growing community.]
ANYWAY, here is the link you want:
http://www.ogre3d.org/tikiwiki/Blender+Exporter if you scroll down to the “Installation” section, you’ll see “Download and integrate the Blender Exporter. (zip | SVN)” Click on the “zip” in parenthesis, and open it with WinRAR or 7Zip. If you still have the OGRE wiki page open, you’ll see that it says “Copy ogremeshesexporter.py and subfolders to the path ...\blender\.blender\scripts. Note: .blender for Blender 2.49b (latest stable) on Windows 7 is located in C:\Users\<name>\AppData\Roaming\Blender Foundation\Blender\.blender\scripts” If you have previous knowledge of getting to the AppData folder, you probably know how to get there. But if ya don't, SEE PICTURE
![](http://i.imgur.com/8UgnlBx.png)
OK, so now you are in your Roaming folder. Get yourself to your .scripts folder by finding “Blender Foundation” in your Roaming folder. Once you are in BF, enter the “Blender” folder, and then the “.blender” folder inside that. Now, you should see “.scripts” in there. Open that up and bask in the glory of all the other scripts that you will be adding more to momentarily....Get your copy and paste (well, when it’s moving from a rar/zip it’s usually just select all and drag, but you get the point) skills ready, and move ALL of the stuff from the “BlenderExport.zip” to you .scripts folder, which should still be open. Voila. Now, open Blender 2.49…
THIS IS THE FUN PART. THE ACTUAL POSSIBILITY OF EXPORTING OGRE MESHES FROM BLENDER.
Step 1: Open Blender.
The Python command line should come up too. It should say “Compiled with Python version 2.6.2. Checking for installed Python… got it!” as the Blender window pops up. THIS IS A GOOD THING. (If Python is not gotted, then u gots problems. It means Python didn’t install correctly.)
Step 2: Update menus
So we've downloaded everything and opened Blender, but the program doesn’t realize that you put the export scrips in there just yet…
![](http://i.imgur.com/NyEwx6v.png)
When you are at Scripts, the top part of the screen (where the cube and grid was before) should now be completely gray. Right next to the lil green snake (where the green arrow was pointing in da picture) You should see the word “Scripts” plz click on it and at the very top of the lil menu thing that comes up, click on “Update Menus”. Now it may seem like nothing happened…
Step 3: Make sure the menus actually updated
To check that your menus updated to include the new exporter, (quoting Hammy here) “click on the "scripts" button again. From the list, highlight "Export" and from there select "OGRE meshes". This should cause the window to be filled with some text boxes and big buttons. (some blue, others yellow).”
Honestly, this part was the most frustrating for me because “OGRE meshes” didn’t show up so I had to retry it like a billion times and then it finally worked. If at any point in this tutorial something doesn’t work right, CHECK YOUR WORK. Just like in school, kids. Make you you downloaded all the right stuff. Make sure you put it in the right folder. Also, it doesn't hurt to close out of Blender (and Python's command prompt if it doesn't close on its own) and open it again to see if the menus updated.
Step 4: Get comfy with the OGRE export screen and change defaults
Assuming that steps 1-3 work, yay now you can export OGRE meshes. But there is more to it. You need to know what to do once you click on “Scripts>Export>OGRE meshes”. In the previously big gray window, it will change to the export screen below, should you choose to export OGRE meshes...
![](http://i.imgur.com/lkcQx8L.png)
Step 5: Tell Blender where to put your exports!
Now, when you click select, a different kinda window is there instead of the exporting screen--don’t worry, it’s just choosing where the stuff will export. It should start you off in C:\, and if you have admin permissions, your OGRECommandLineTools folder should be there. [But if it is not, you'll have to navigate to where ever you extracted the OGRECommandLineTools through Blender. Ex: if you put in on your desktop, you'll have to click on users, then your user, then desktop.] Click on that folder (where ever your OCLT extracted to) and click on “Export Directory”
![](http://i.imgur.com/dkF4Bbh.png)
Step 6: Click the big export button and see what Blender has to say about untextured cubes...
Now you are back to the OGRE exporting screen. As you can see, the export path is now C:\OGRECommandLineTools (It could be different depending on where you extracted it). So theoretically, if you were to click the big EXPORT button near the bottom left, you would export everything that is in the scene right now (which should be an untextured cube, b/c that is the default thing that loads)
![](http://i.imgur.com/UXqF8sh.png)
Step 7: Find your exports and convert the .xml.mesh to a .mesh file
Now, make your way to your mesh export folder, and you shall see nameofmesh.xml.mesh and nameofmaterial.material. Drag the .xml.mesh onto the OGREXmlConverter. A command prompt should open up and lots of stuff will come up on it. Let it do its thing and then when it closes, look for your .mesh file! Once the .xml is converted to a .mesh, feel free to delete the .xml.
Step 8: Load the Big Scary Untextured Cube into FH
Here it comes. What you've been waiting for. Copy the .mesh and the .material (which you can open with notepad and check out if ya want, even though there shouldn't be much in it) into FeralHeart>Media>Objects>my_objects. Open FH's object maker, and when you load the mesh, type in its name. It should show up with BaseWhite as a texture!
MORE TO COME.