Feral Heart

Help & Guidance => Game Help => Topic started by: DarkmoonNight on July 29, 2011, 06:23:55 pm

Title: Making meshes
Post by: DarkmoonNight on July 29, 2011, 06:23:55 pm
Hey! I got blender to make meshes and I just need an link to the Ogre exporter.Also, when you give me the Ogre exporter please make a tutorial of where to place the files from the Ogre exporter, how to use it etc. Please. Thanks and i hope you will help me :D
Title: Re: Making meshes
Post by: Jayfeather55 on July 29, 2011, 06:32:42 pm
Bah. I have blender also, but I don't understand how python and the OGRE export work together in the NEWSET version of Blender. :33 If someone could help meh with that, I would give you KARMA! :3 Or a preset, map, marking, or object {Made in blender xD}
Title: Re: Making meshes
Post by: Thierry on July 29, 2011, 11:14:40 pm
I don't use blender, so i can't help right now.
I will try it.
but seems the exporter for 2.5 doesn't exist, only for 2.49.
i'm looking for the blender 2.49.
Title: Re: Making meshes
Post by: Jayfeather55 on July 29, 2011, 11:46:36 pm
Derp Ok xDDD And what about the python-ness?
Title: Re: Making meshes
Post by: Thierry on July 29, 2011, 11:57:03 pm
i have succefully installed blender with ogre exporter (in windows)

1 download and install blender 2.49b at blender-249 (http://www.blender.org/development/release-logs/blender-249/). direct link: blender-2.49b-windows.exe (http://download.blender.org/release/Blender2.49b/blender-2.49b-windows.exe)

2 download exporter Blender+Exporter (http://www.ogre3d.org/tikiwiki/Blender+Exporter) or direct link: BlenderExport.zip (http://www.xullum.net/lefthand/downloads/temp/BlenderExport.zip) and unzip the file.

3 copy ogremeshesexporter.py, ogrehelp, and ogrepkg and paste where blender is installed at ...\blender\.blender\scripts.
(http://fotos.subefotos.com/62e41cfeca77036f90f0d17bee73397fo.png)

4 download and install python 2.6 (http://www.python.org/download/releases/2.6/)
or direct link:
for x86 computers: python-2.6.msi (http://www.python.org/ftp/python/2.6/python-2.6.msi)
for x86-64 computers: python-2.6.amd64.msi (http://www.python.org/ftp/python/2.6/python-2.6.amd64.msi)

now open blender and export your model.
i assume you know how to export at blender and basic usage of blender.
don't ask me how to use blender, i have never used it before. simply click file->export->ogre meshes and use intuition.

OMG i have forget, not all people are ogre experts and have OgreXmlConverter. well...
at now we have the converted blender model to xml, is correct?
we need to convert from xml to mesh:

5 download OgreXmlConverter (http://www.ogre3d.org/tikiwiki/OgreXmlConverter) or direct link: OgreCommandLineTools_1.6.3.msi (http://sourceforge.net/projects/ogre/files/ogre-tools/1.6.3/OgreCommandLineTools_1.6.3.msi/download)

drag and drop the .xml file in to OgreXmlConverter.exe and surprise!

you have a .mesh file!

if at some step I was not very clear, please let me know.
Title: Re: Making meshes
Post by: Jayfeather55 on July 30, 2011, 12:07:03 am
I'll try it naow!
Title: Re: Making meshes
Post by: Piebaby on July 30, 2011, 01:53:58 am
to the path?
Title: Re: Making meshes
Post by: Thierry on July 30, 2011, 01:56:00 am
to the path?
the path where your blender is installed
ex:
c:\programfiles\blender\.blender\scripts.
Title: Re: Making meshes
Post by: Piebaby on July 30, 2011, 02:07:59 am
Oh I don't have scripts in my file
Title: Re: Making meshes
Post by: Thierry on July 30, 2011, 02:11:54 am
that is rare.
search the folder with the asistant (press F3 at desktop), maybe you aren't looking for at the right place.
if you don't find it, i will test again my tutorial.
Title: Re: Making meshes
Post by: Jayfeather55 on July 30, 2011, 02:34:29 am
I exported the default cube and loaded it in FH :3333
Title: Re: Making meshes
Post by: TigerStar* on July 30, 2011, 06:02:35 am
I'm confused on what exactly what to do. Can you help? (btw I have the first half done)
Title: Re: Making meshes
Post by: DarkmoonNight on July 30, 2011, 06:43:07 am
i have succefully installed blender with ogre exporter (in windows)

1 download and install blender 2.49b at blender-249 (http://www.blender.org/development/release-logs/blender-249/)
2 download exporter Blender+Exporter (http://www.ogre3d.org/tikiwiki/Blender+Exporter) or direct link: BlenderExport.zip (http://www.xullum.net/lefthand/downloads/temp/BlenderExport.zip) and unzip the file.
3 copy ogremeshesexporter.py and subfolders to the path ...\blender\.blender\scripts.
4 download and install python 2.6 (http://www.python.org/download/releases/2.6/)
or direct link:
for x86 computers: python-2.6.msi (http://www.python.org/ftp/python/2.6/python-2.6.msi)
for x86-64 computers: python-2.6.amd64.msi (http://www.python.org/ftp/python/2.6/python-2.6.amd64.msi)

now open blender and export your model.

OMG i have forget, not all people are ogre experts and have OgreXmlConverter. well...
at now we have the converted blender model to xml, is correct?
we need to convert from xml to mesh:

5 download OgreXmlConverter (http://www.ogre3d.org/tikiwiki/OgreXmlConverter) or direct link: OgreCommandLineTools_1.6.3.msi (http://sourceforge.net/projects/ogre/files/ogre-tools/1.6.3/OgreCommandLineTools_1.6.3.msi/download)

drag and drop the .xml file in to OgreXmlConverter.exe and surprise!

you have a .mesh file!

if at some step I was not very clear, please let me know.

   

Um.. Yea... Whats subfolders? :D are they normal folders or?...
Title: Re: Making meshes
Post by: DarkmoonNight on July 30, 2011, 06:53:04 am
I saw a folder 2.58 there. and there was a folder scripts but in scripts are another 5 folders. Should i click any of it or just paste it in scripts?
Title: Re: Making meshes
Post by: Thierry on July 30, 2011, 06:32:08 pm
i don't understand why you are confused, :'(  but i updated some information. i hope now is more clear.

-i put a direct link to download blender, because this will only works with blender 2.49b. not 2.5
-i put some images.

I exported the default cube and loaded it in FH :3333
please help me to solve people questions, it is very hard to me to understand what is wrong.


I'm confused on what exactly what to do. Can you help? (btw I have the first half done)
Where is the problem?


I saw a folder 2.58 there. and there was a folder scripts but in scripts are another 5 folders. Should i click any of it or just paste it in scripts?
2.58? you are using the correct version of blender? (2.49b)
just paste it in scripts
Title: Re: Making meshes
Post by: Jayfeather55 on July 30, 2011, 06:54:29 pm
i have succefully installed blender with ogre exporter (in windows)

1 download and install blender 2.49b at blender-249 (http://www.blender.org/development/release-logs/blender-249/)
2 download exporter Blender+Exporter (http://www.ogre3d.org/tikiwiki/Blender+Exporter) or direct link: BlenderExport.zip (http://www.xullum.net/lefthand/downloads/temp/BlenderExport.zip) and unzip the file.
3 copy ogremeshesexporter.py and subfolders to the path ...\blender\.blender\scripts.
4 download and install python 2.6 (http://www.python.org/download/releases/2.6/)
or direct link:
for x86 computers: python-2.6.msi (http://www.python.org/ftp/python/2.6/python-2.6.msi)
for x86-64 computers: python-2.6.amd64.msi (http://www.python.org/ftp/python/2.6/python-2.6.amd64.msi)

now open blender and export your model.

OMG i have forget, not all people are ogre experts and have OgreXmlConverter. well...
at now we have the converted blender model to xml, is correct?
we need to convert from xml to mesh:

5 download OgreXmlConverter (http://www.ogre3d.org/tikiwiki/OgreXmlConverter) or direct link: OgreCommandLineTools_1.6.3.msi (http://sourceforge.net/projects/ogre/files/ogre-tools/1.6.3/OgreCommandLineTools_1.6.3.msi/download)

drag and drop the .xml file in to OgreXmlConverter.exe and surprise!

you have a .mesh file!

if at some step I was not very clear, please let me know.

     

Um.. Yea... Whats subfolders? :D are they normal folders or?...

Sub-folders are the folders in-side the folder :3 So, put the exporter {ogremeshesexporter.py}  and the sub-folders {ogrehelp and ogrepkg} into {C:\blender-2.49b-windows\.blender\scripts}
Title: Re: Making meshes
Post by: TigerStar* on July 30, 2011, 10:57:59 pm
Ok so I did the first half and moved the folders and I also downloaded the and setup the second part but I'm confused on how to get a .xml file and really mostly all the second part.
Title: Re: Making meshes
Post by: Thierry on July 30, 2011, 11:05:07 pm
if all is done corectly, you can see this menu: OGRE meshes
(http://fotos.subefotos.com/959f37fdf72d16c6cbad511626ac02e2o.png)

you can see it?

then do this:
(http://fotos.subefotos.com/6156d41a9574ebb3d5801c835bd42f4fo.png)

goto to the selected output directory, and you will see the xml file.

be sure your Operating System show name extensions
Title: Re: Making meshes
Post by: Piebaby on July 31, 2011, 05:06:12 am
I have the 2.49 version..
Title: Re: Making meshes
Post by: DarkmoonNight on July 31, 2011, 07:44:22 am
Im using the good blender. And ok.
Title: Re: Making meshes
Post by: Hamilton on July 31, 2011, 06:47:59 pm
Export materials is how you want your material file to be created. It is best to at least change "scene" to match your mesh. otherwise, every-time you export, the scene.mat file will keep overwriting itself and mess up older meshes.

Rendering materials is the option you want if the mesh has 1 texture. But you'll have to punch in the right code after the file is created. (I usually snag one from FH lol)

Game Engine Materials works best for multiple textures but will give you a pretty long mat name for each texture. (ex: tex/aplha/imagefile.png)
Title: Re: Making meshes
Post by: Thierry on August 01, 2011, 04:44:27 pm
Thanks Hammy