HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)

View previous topic View next topic Go down 
AuthorMessage
Raging Gabyte

avatar

Server : Impressive Elements
Female Posts : 25
Join date : 2013-07-24
Location : In the Arctic Circle

PostSubject: Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)   Sun Aug 11, 2013 6:58 pm

This is probably old news, but you DO NOT the need 2.49b version of Blender just to make meshes, you can use later versions, but there is one flaw:

Most of the installation instructions is INCREDIBLY outdated at this point, and therefore, painfully confusing.

So, I'm going to do my own tutorial on how to export .blend files to OGRE .mesh files so you can get your objects and stuff in-game.

Skip steps 1 & 2 if you already have Blender and 7-zip installed on your computer.

Step 1:

Download and install Blender onto your computer. You CAN use the latest version, so don't be shy to get rid of that 2.49b one you have.

Step 2:

Download and install WinRAR, 7-zip, OR any program that can open .zip files.

Step 3:

Download the "blender2ogre-0.5.9.zip" file from this link. It's on the left-hand side of the webpage under the title "Featured Downloads".

http://code.google.com/p/blender2ogre/



**NOTE: DO NOT PUT THIS IN BLENDER YET.

Step 4:

Download the latest Ogre-Command-Lines (1.7.2) tools from here:

http://www.ogre3d.org/download/tools

It's near the bottom of the page, and PLEASE DO NOT download the Mac version. Make sure you got the Windows version.



**DO NOT put this in blender at all. It doesn't need to be in there anyway. Just leave it in your Downloads folder or something so it can be easy to find.

Step 5:

Go to your "blender2ogre-0.5.9" zip folder. Extract the file "io_export_ogreDotScene.py".

Place this file into: Blender Foundation/Blender/2.68/scripts/addons

MAKE SURE you place this file with the other .py files, in case you accidentally put it in one of the subfolders by chance.



Step 6:

Open Blender. Click on "File" on the toolbar at the top of your screen. It'll have a drop-down menu.

Step 7:

On the File menu, click on User Preferences. A window will pop up.



Step 8:

Select the "Addons" tab. Then from there, select the "Import-Export" category on your left.



Step 9:

Scroll down until you see: "Import-Export: OGRE Exporter". This shouldn't be too hard, as everything is in alphabetical order.

Now check the box and Save User Settings.



Step 10:

Close that window and go back to Blender. Click on "File" again, but go to where "Export" is.

Export should show you all the options to export your file. You should now have OGRE3D there now.

Step 11:

Select the object you wish to export.

Please note that if the entire object is "split" into parts, Blender will export them as separate meshes. So it's best to have all objects joined together before exporting.

Once you've selected the object, export.



Step 12:

You will now have a .XML file.

This is where the XML Convertor from Ogre-Command-Lines-Tool comes in.

Step 13:

Extract the convertor into any folder, it doesn't matter where it is as long as you know where it's at. For me, I'd recommend putting it on the Desktop or Downloads folder.

Step 14:

Right-click on the .XML file and hit "Open with..."

Open it with the XML convertor. Make sure it's the default program for that file as well.



Step 15:

After "opening" it with XML convertor, it should automatically turn the .XML into a .mesh

Congratulations! You now have your first mesh!
Scroll down further if you want to know how to put it in-game.


HOW TO PUT MESHES IN-GAME


Step 1:

With your new MESH (and .skeleton if any) file, copy and paste it in:

IT_GAME_HERE/Media/Models

Step 2:

IF you have UV-mapped your object, you can put materials on it, and .materials go into the Materials folder and textures go into the Textures folder.

If you have no material or haven't UV-mapped the object out, that's fine, because we're only testing out the mesh and not the textures.

Take note: Without materials/textures/UV_maps, your object will be textureless and white.

Take note: If you put a material on an un-mapped object, it's going to either:

A.) Remain textureless.
B.) Have a really screwed-up texture on it (as in, major distortion).


Step 3:

Once you have the mesh (and skeleton if any) file in models, go to:

IT_Game/Media/Terrains/Default

Step 4:

Open Default.world with Notepad.

Step 5:

Scroll to the VERY bottom of the text, and type:

[Object]
insert_name_here.mesh                                <---- Name of mesh
3035 30 2660                                               <---- X-Y-Z coordinates
1 1 1                                                            <---- X-Y-Z scale
0 0 0                                                         <---- X-Y-Z yaw

MAKE SURE you place this info ABOVE the "#" in the file before saving.
(and don't type in the green text, obviously)

DO NOT MODIFY THE COORDINATES UNLESS YOU KNOW WHAT YOU ARE DOING
. I put them there so that way you can find your object easily.

Step 6:

Save the .world file, and go in-game. You can test out your mesh in either singleplayer or on your loopback server, whatever.

As long as you spawn in default, look to your left and you should see your object there.

IF YOU DON'T SEE YOUR OBJECT:

A.) You are not using the original IT Default map.
B.) The object is too small to see. Scale it up if that's the case.
C.) It's not there at all, and you didn't follow the instructions well. :U


Step 7:

Jump around with glee.

-------------------------

I AM NOT going to cover how to UV-map objects or how to import .MESH to .BLEND files. I have no idea on importing stuff, while for UV-maps, you should look up tutorials of that on your own since those are very complicated to explain.

Thank you for reading. I hoped this tutorial was helpful for you. o3o

[Posting and uploading more pictures as we speak. So be prepared for this to be refreshed with new pics]


Last edited by Raging Gabyte on Fri Aug 16, 2013 10:05 pm; edited 2 times in total
Back to top Go down
RedEye
Retired
avatar

Game username : -redeye-
Server : KITO
Male Posts : 2575
Join date : 2011-07-24
Age : 30

PostSubject: Re: Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)   Sun Aug 11, 2013 7:13 pm

"Blender to Mesh Export Tutorial" goes into tutorial forum section

________________________________
Retired
Back to top Go down
Raging Gabyte

avatar

Server : Impressive Elements
Female Posts : 25
Join date : 2013-07-24
Location : In the Arctic Circle

PostSubject: Re: Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)   Sun Aug 11, 2013 7:22 pm

I couldn't see "Tutorials" because I didn't scroll all the way down the forum index page like a dumb bell. X____X

Sorry about that.
Back to top Go down
WindRunner

avatar

Posts : 60
Join date : 2013-03-25

PostSubject: Re: Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)   Fri Aug 16, 2013 3:11 pm

WHOA WHOA you can do this with the new blender!?

that will make things SOOOOOOOOOOOOOO much better for me
Back to top Go down
ThylaSteve

avatar

Game username : Steve
Server : It's a secret (for now)
Male Posts : 129
Join date : 2014-04-24
Age : 20
Location : United States

PostSubject: Re: Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)   Thu Dec 11, 2014 2:20 am

You lost me at the "You will now have a .XML file". There is no xml file of my object, as far as i can see.
Back to top Go down
ShadoWolfozo

avatar

Game username : ShadoWolfozo
Server : GROWL: Spirits
Male Posts : 875
Join date : 2012-01-22
Age : 21
Location : Australia

PostSubject: Re: Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)   Thu Dec 11, 2014 3:51 am

If You don't have a .xml file, you've done something wrong. It may appear as object.mesh.xml < that is your XML file. Go back and re-read the tutorial.
Back to top Go down
ThylaSteve

avatar

Game username : Steve
Server : It's a secret (for now)
Male Posts : 129
Join date : 2014-04-24
Age : 20
Location : United States

PostSubject: Re: Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)   Thu Dec 11, 2014 11:29 pm

I keep getting this thing that says 'texface conversion problem'. Does that have anything to do with why I cant get an xml?
Back to top Go down
Khaao

avatar

Male Posts : 261
Join date : 2014-09-07
Age : 20

PostSubject: Re: Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)   Tue Mar 10, 2015 9:23 pm

it says no modula named "ctypes..
Back to top Go down
Alpha Wolf

avatar

Game username : Alpha Wolf or Alpha Wolf HU
Server : The Last Chance (owner)
Female Posts : 41
Join date : 2013-09-26
Age : 18

PostSubject: Re: Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)   Sun Nov 29, 2015 6:58 pm

I have 2.49b Blender, then what to do with it?
Back to top Go down
-INACTIVE-
Texture Artist
Texture Artist


Male Posts : 447
Join date : 2014-05-03

PostSubject: Re: Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)   Sun Nov 29, 2015 7:19 pm

Alpha Wolf wrote:
I have 2.49b Blender, then what to do with it?

Then use this tutorial
Back to top Go down
Alpha Wolf

avatar

Game username : Alpha Wolf or Alpha Wolf HU
Server : The Last Chance (owner)
Female Posts : 41
Join date : 2013-09-26
Age : 18

PostSubject: Re: Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)   Mon Nov 30, 2015 6:11 pm

But it can not be downloaded .xml.mesh importer

http://sourceforge.net/p/ogreaddons/code/HEAD/tree/
Back to top Go down
-INACTIVE-
Texture Artist
Texture Artist


Male Posts : 447
Join date : 2014-05-03

PostSubject: Re: Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)   Mon Nov 30, 2015 7:46 pm

Alpha Wolf wrote:
But it can not be downloaded .xml.mesh importer

http://sourceforge.net/p/ogreaddons/code/HEAD/tree/

Here it is
Back to top Go down
Alpha Wolf

avatar

Game username : Alpha Wolf or Alpha Wolf HU
Server : The Last Chance (owner)
Female Posts : 41
Join date : 2013-09-26
Age : 18

PostSubject: Re: Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)   Mon Nov 30, 2015 8:55 pm

How to download on site?
(sorry im a beginner)
Back to top Go down
-INACTIVE-
Texture Artist
Texture Artist


Male Posts : 447
Join date : 2014-05-03

PostSubject: Re: Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)   Mon Nov 30, 2015 9:16 pm

Alpha Wolf wrote:
How to download on site?
(sorry im a beginner)

Click on Download this file on that site.
Back to top Go down
Alpha Wolf

avatar

Game username : Alpha Wolf or Alpha Wolf HU
Server : The Last Chance (owner)
Female Posts : 41
Join date : 2013-09-26
Age : 18

PostSubject: Re: Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)   Mon Nov 30, 2015 9:24 pm

okay
Thank you!
Back to top Go down
ЩΛЯ

avatar

Game username : ThisIsWar
Server : Eclipse
Female Posts : 373
Join date : 2015-03-02
Age : 17

PostSubject: Re: Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)   Sun Mar 06, 2016 8:13 am

What about the .skeletons
Back to top Go down
ЩΛЯ

avatar

Game username : ThisIsWar
Server : Eclipse
Female Posts : 373
Join date : 2015-03-02
Age : 17

PostSubject: Re: Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)   Mon Mar 14, 2016 6:27 pm

Sorry for double posting >n> I know this is an old thread but the 'OGRE Exporter' isn't highlighted.
Back to top Go down
 
Blender to Mesh Export Tutorial (WARNING: IMAGE HEAVY)
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Tutorials-
Jump to: