Author Topic: Importing/exporting Meshes?  (Read 5496 times)

Elohi Adanvdo

  • Guest
Importing/exporting Meshes?
« on: April 04, 2013, 09:43:44 pm »
I wanted to start a few projects, and I would really like to be able to take the models from FH and use them as... well, models so I can properly fit items onto them, such as masks. I would also like to modify some object meshes as well to make them more natural.

I have Sculptris and Blender, and I have Blender equipped with the Blender-to-Ogre exporter. However, I would love to also find a Ogre-to-Blender importer that is legit as well. I found one, but... I can't seem to make it work.

One last thing, I'm guessing that to get something from Sculptris into FH, I would have to transfer it into Blender to convert it, am I correct?

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Importing/exporting Meshes?
« Reply #1 on: April 04, 2013, 10:25:09 pm »
To import meshes, you first have to download a version of OgreCommandLineTools that allows .xml.mesh to .mesh, but also .mesh to .xml.mesh, which can then be imported to Blender.
I believe that is OGRE CommandLineTools 1.6.0 that you'd be looking for then..
and as for the actual importer script, you'll need import for Torchlight, which allows import of .mesh.xml... let me find a site for you..
Here;
https://code.google.com/p/torchlight-to-blender/
this should help clear things up a bit.
If that's what you could not seem to make work, then I'd offer to help if you could provide a more detailed explanation? c:

And yes, Sculptris to FH will not be possible unless you can find a OGRE exporter plugin for Sculptris, so you'll have to export from Sculptris as an .obj which can be imported to Blender, then exported again as a .mesh

Elohi Adanvdo

  • Guest
Re: Importing/exporting Meshes?
« Reply #2 on: April 04, 2013, 11:24:48 pm »
To import meshes, you first have to download a version of OgreCommandLineTools that allows .xml.mesh to .mesh, but also .mesh to .xml.mesh, which can then be imported to Blender.
I believe that is OGRE CommandLineTools 1.6.0 that you'd be looking for then..
and as for the actual importer script, you'll need import for Torchlight, which allows import of .mesh.xml... let me find a site for you..
Here;
https://code.google.com/p/torchlight-to-blender/
this should help clear things up a bit.
If that's what you could not seem to make work, then I'd offer to help if you could provide a more detailed explanation? c:

And yes, Sculptris to FH will not be possible unless you can find a OGRE exporter plugin for Sculptris, so you'll have to export from Sculptris as an .obj which can be imported to Blender, then exported again as a .mesh

Aaaah, yes, I have everything however, I don't know how to set it up. This includes Python, the OgreXML thing, and the torchlight-to-Blender. I've read everything, but the jargon tends to throw me off since I've just started to do this stuff, really. ;u;
I would like to know how to install and set up everything please- I do know how to navigate Blender in a better-than-expected way.
I have Blender 2.65, blender2ogre-0.5.9, Python 3.0, OgreCommandLineTools_1.7.2, and io_mesh_TL.

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Importing/exporting Meshes?
« Reply #3 on: April 05, 2013, 02:43:39 am »
Ah, right then, okie.
First of all, I'd recommend old Blender. It's much easier to use, and it still works for FH. Blender 2.49b scripts are all complete n all that jazz. This quote has all the required downloads and directions for installation.
Quote from: Myself
I. - Required Downloads & Installation
-If you have newer versions of any of these, move/delete them, they won't work. You MUST have the exact downloads below.
**If you do not have a program that can open .rar files, you'll need 7-Zip.

Python
Blender

Download and install Python and Blender first.

Secondly, you'll need these scripts for Blender.

Exporter
Script Bundle

Once you have the scripts downloaded, you'll need to EXTRACT the contents, and copy them to the scripts folder, located in
C:\Program Files\Blender Foundation\Blender\.blender\scripts
OR
C:\Users\AppData\Roaming\Blender Foundation\Blender\.blender\scripts

Conclusively, you'll need the

Old OgreCommandLineTools.
Pass: ITOCLT

Once you have downloaded the .rar, extract it directly to your C: drive. Don't worry, there is a folder inside the rar, so extracting it directly won't cause the contents to spill all over your C: drive.
Blender and Python should just be install-able by launching, and then this explains the rest of the stuffs.
Then on the link I posted previously, scroll down to 2.49b and you'll be able to install the importer.
I'd also recommend Notepad++ for easier editing of scripts, xmls, and other files.
-
I know this probably seems like quite a lot to be going through for meshing, but I assure you, after you get all your installs situated, it gets easier.
Let me know when you get this far?

Elohi Adanvdo

  • Guest
Re: Importing/exporting Meshes?
« Reply #4 on: April 06, 2013, 07:12:35 pm »
Ah, right then, okie.
First of all, I'd recommend old Blender. It's much easier to use, and it still works for FH. Blender 2.49b scripts are all complete n all that jazz. This quote has all the required downloads and directions for installation.
Quote from: Myself
I. - Required Downloads & Installation
-If you have newer versions of any of these, move/delete them, they won't work. You MUST have the exact downloads below.
**If you do not have a program that can open .rar files, you'll need 7-Zip.

Python
Blender

Download and install Python and Blender first.

Secondly, you'll need these scripts for Blender.

Exporter
Script Bundle

Once you have the scripts downloaded, you'll need to EXTRACT the contents, and copy them to the scripts folder, located in
C:\Program Files\Blender Foundation\Blender\.blender\scripts
OR
C:\Users\AppData\Roaming\Blender Foundation\Blender\.blender\scripts

Conclusively, you'll need the

Old OgreCommandLineTools.
Pass: ITOCLT

Once you have downloaded the .rar, extract it directly to your C: drive. Don't worry, there is a folder inside the rar, so extracting it directly won't cause the contents to spill all over your C: drive.
Blender and Python should just be install-able by launching, and then this explains the rest of the stuffs.
Then on the link I posted previously, scroll down to 2.49b and you'll be able to install the importer.
I'd also recommend Notepad++ for easier editing of scripts, xmls, and other files.
-
I know this probably seems like quite a lot to be going through for meshing, but I assure you, after you get all your installs situated, it gets easier.
Let me know when you get this far?

(I'm quoting so you'll be notified easier)
I have actually figured it out with the latest Blender; download the latest compatible Python, extract files, then place files in it's own folder in the Blender files as is. Then get the tools... I forgot how I did those, but then I got the Blender Importer, the io_TL or whatever. I had to keep it in the .zip file type, then type in a different path inside of the io file so it would connect to the converter tool. After that, I extracted it and placed it into the add on scripts in it's own io file (it was suggested by the 'READ ME' file because even though I saw the add on in Blender, I couldn't select it). It works awesomely, and I AM SO EXCITE. Thanks for your time and help anyways, it's nice to know that someone's willing to help. :3

Now all I have to do is figure out how to actually USE Blender- I know how to use Sculprtis, just not Blender (I'll find tutorials myself for that XD ). Last question: Is it possible to just make a .obj file in Sculptris and open it in Blender, or are the Blender and Sculptris .obj files two different file types?

Offline Ruby1234

  • Mean Tutorial Queen
  • Elder Grey Pelt
  • ****
  • Posts: 2,794
  • Country: us
  • Floof-O-Meter: 297
  • aka Phloxenfree.
    • View Profile
Re: Importing/exporting Meshes?
« Reply #5 on: April 06, 2013, 07:17:54 pm »
Glad you got it working. Hopefully you'll have better luck with the new interface than I. xD

You should be able to do the whole .obj thing, yes. I've converted a few .obj files from other programs into .mesh files for FeralHeart so it should be all good. c: