Author Topic: Help with converting .obj to .mesh OGRE IS NOT WORKING.  (Read 3406 times)

Offline ShadowMT13

  • Dedicated Supporter
  • ***
  • Posts: 373
  • Country: 00
  • Floof-O-Meter: 24
  • I gave up on this FH since I was let down...
    • View Profile
Re: Help with converting .obj to .mesh OGRE IS NOT WORKING.
« Reply #10 on: January 08, 2018, 06:05:23 am »
Did you follow the tutorial that I provided before? If you follow that everything should work smoothly.  You have to have .obj importer installed in order to open the .obj in Deled.
I appreciate the tutorial but it does not help much since I am not doing WoW meshes I am making my own, I tried following the steps that would apply to me though no success, and yes I made sure I had the OBJ importer and was using it.

Offline Kynvuu

  • #Grimstagram
  • Elder Grey Pelt
  • ****
  • Posts: 2,538
  • Country: us
  • Floof-O-Meter: 212
  • I'm not saying that it was aliens but...
    • View Profile
Re: Help with converting .obj to .mesh OGRE IS NOT WORKING.
« Reply #11 on: January 08, 2018, 03:06:03 pm »
Hmm it should not matter if you are not using Wow meshes, as I convert my own meshes made in sculptris using the same method. So let's go step by step and see where its giving ya an error.

When you export the .blend to a .obj in blender, it should give you the mesh output as a .obj, correct? If you mesh has a texture, you should also be sure to export this as a .png (https://blender.stackexchange.com/questions/23878/saving-texture-painted-material-externally)

Now if you open Deled, you should go to the Plugins menu and use the Wavefront OBJ importer and load in the .obj file that blender had given you. Ignore the texture for now, and make sure in the Scale is set to 10.

Now if that worked, go back to the Plugin menu and use Ogre Mesh Exporter. The box will already have a file name, but you have to type .MESH at the end otherwise it won't work. Hit okay and then it should export.

Then it will output a .mesh and a .material folder. You need to move both of these files as well as the .png texture into your FeralHeart>>Media>>Objects>>My_Objects folder. Then you have to open up the material file and type the exact name of the .png in after the space in the code that says "texture" and make sure you save it. From there, the object should appear in the Feral Heart object maker when you type in the name of the mesh and hit add new.

If this does not work for you, please pinpoint the point along these steps where you receive an error so I can try and figure out what is not working correctly.
On a temporary leave. Please contact other members of staff if you need assistance.

Offline ShadowMT13

  • Dedicated Supporter
  • ***
  • Posts: 373
  • Country: 00
  • Floof-O-Meter: 24
  • I gave up on this FH since I was let down...
    • View Profile
Re: Help with converting .obj to .mesh OGRE IS NOT WORKING.
« Reply #12 on: January 09, 2018, 02:32:00 am »
Hmm it should not matter if you are not using Wow meshes, as I convert my own meshes made in sculptris using the same method. So let's go step by step and see where its giving ya an error.

When you export the .blend to a .obj in blender, it should give you the mesh output as a .obj, correct? If you mesh has a texture, you should also be sure to export this as a .png (https://blender.stackexchange.com/questions/23878/saving-texture-painted-material-externally)

Now if you open Deled, you should go to the Plugins menu and use the Wavefront OBJ importer and load in the .obj file that blender had given you. Ignore the texture for now, and make sure in the Scale is set to 10.

Now if that worked, go back to the Plugin menu and use Ogre Mesh Exporter. The box will already have a file name, but you have to type .MESH at the end otherwise it won't work. Hit okay and then it should export.

Then it will output a .mesh and a .material folder. You need to move both of these files as well as the .png texture into your FeralHeart>>Media>>Objects>>My_Objects folder. Then you have to open up the material file and type the exact name of the .png in after the space in the code that says "texture" and make sure you save it. From there, the object should appear in the Feral Heart object maker when you type in the name of the mesh and hit add new.

If this does not work for you, please pinpoint the point along these steps where you receive an error so I can try and figure out what is not working correctly.

Okay thanks, will do, I will follow the steps you stated. Though I do know it would not matter if it was a WoW mesh, I just could not following along easily because it was explaining something a bit different then I was trying to do. I will let you know what happens after I follow your steps.

Offline ShadowMT13

  • Dedicated Supporter
  • ***
  • Posts: 373
  • Country: 00
  • Floof-O-Meter: 24
  • I gave up on this FH since I was let down...
    • View Profile
Re: Help with converting .obj to .mesh OGRE IS NOT WORKING.
« Reply #13 on: January 10, 2018, 10:11:49 am »
Hmm it should not matter if you are not using Wow meshes, as I convert my own meshes made in sculptris using the same method. So let's go step by step and see where its giving ya an error.

When you export the .blend to a .obj in blender, it should give you the mesh output as a .obj, correct? If you mesh has a texture, you should also be sure to export this as a .png (https://blender.stackexchange.com/questions/23878/saving-texture-painted-material-externally)

Now if you open Deled, you should go to the Plugins menu and use the Wavefront OBJ importer and load in the .obj file that blender had given you. Ignore the texture for now, and make sure in the Scale is set to 10.

Now if that worked, go back to the Plugin menu and use Ogre Mesh Exporter. The box will already have a file name, but you have to type .MESH at the end otherwise it won't work. Hit okay and then it should export.

Then it will output a .mesh and a .material folder. You need to move both of these files as well as the .png texture into your FeralHeart>>Media>>Objects>>My_Objects folder. Then you have to open up the material file and type the exact name of the .png in after the space in the code that says "texture" and make sure you save it. From there, the object should appear in the Feral Heart object maker when you type in the name of the mesh and hit add new.

If this does not work for you, please pinpoint the point along these steps where you receive an error so I can try and figure out what is not working correctly.

Okay I am happy to say I can get my meshes in the game now and they don't crash it or anything, but now remains another issues. I tested the process using the basic cube modal that blender starts up with and certain textures are not displaying properly, it all just looks one color and not like the texture I have chosen, I have tried multiple textures I have to see if any may work right but none do. Can you tell me what to do about this problem? I am trying not to get stressed since, being able to get meshes in the game (Textured or not) is a huge step forward from where I was before you helped me, but problems still remain, I need to get textures to show up properly on the meshes.

Offline Kynvuu

  • #Grimstagram
  • Elder Grey Pelt
  • ****
  • Posts: 2,538
  • Country: us
  • Floof-O-Meter: 212
  • I'm not saying that it was aliens but...
    • View Profile
Re: Help with converting .obj to .mesh OGRE IS NOT WORKING.
« Reply #14 on: January 10, 2018, 05:16:16 pm »
Glad that you were able to get them into the game! Can you explain to me how you texture your objects? Do you paint them in the blender, or texture them by another method? If not, I would recommend using this method and then exporting the texture map as a .png. Here's a video tutorial on how to paint within blender https://www.youtube.com/watch?v=LcCQKuWPhXk

If you already have a painted texture that you exported as an image format, such as .png or .jpg, let me know.
On a temporary leave. Please contact other members of staff if you need assistance.

Offline ShadowMT13

  • Dedicated Supporter
  • ***
  • Posts: 373
  • Country: 00
  • Floof-O-Meter: 24
  • I gave up on this FH since I was let down...
    • View Profile
Re: Help with converting .obj to .mesh OGRE IS NOT WORKING.
« Reply #15 on: January 11, 2018, 03:32:19 am »
Glad that you were able to get them into the game! Can you explain to me how you texture your objects? Do you paint them in the blender, or texture them by another method? If not, I would recommend using this method and then exporting the texture map as a .png. Here's a video tutorial on how to paint within blender https://www.youtube.com/watch?v=LcCQKuWPhXk

If you already have a painted texture that you exported as an image format, such as .png or .jpg, let me know.

I use Blender Nodes and then tried using FeralHeart default textures like the oak leaf and oak bark, when I tried to bring them to the game the only one that seemed to work right was the oak leaf texture, the others where just showing the color, not the image, I followed some video tutorials on youtube to figure out how to do it.

Offline ShadowMT13

  • Dedicated Supporter
  • ***
  • Posts: 373
  • Country: 00
  • Floof-O-Meter: 24
  • I gave up on this FH since I was let down...
    • View Profile
Re: Help with converting .obj to .mesh OGRE IS NOT WORKING.
« Reply #16 on: January 11, 2018, 03:50:31 am »
Also I have another issue, my mesh did not come out properly when I took it to DeleD, some of the things on it are messed up.

What it is suppose to look like in blender:


What it come out as when importing it to DeleD and exporting to .mesh:


As you can see some of the holes I made in it did not come out when importing and exporting properly...

Offline Kynvuu

  • #Grimstagram
  • Elder Grey Pelt
  • ****
  • Posts: 2,538
  • Country: us
  • Floof-O-Meter: 212
  • I'm not saying that it was aliens but...
    • View Profile
Re: Help with converting .obj to .mesh OGRE IS NOT WORKING.
« Reply #17 on: January 11, 2018, 03:18:21 pm »
I'm not too familiar with Blender Nodes, but if possible, try to export the texture map as a .png. This will give you the UV map of the texture which is necessary for Feral Heart use.

As for the mesh, I'm not quite too sure why it wouldn't maintain the same properties while converting. It could be possible that you have too many vertices in the original blender mesh and DelEd does not recognize all of them. Perhaps try to merge some vertices together in blender and try re-converting.
On a temporary leave. Please contact other members of staff if you need assistance.

Offline ShadowMT13

  • Dedicated Supporter
  • ***
  • Posts: 373
  • Country: 00
  • Floof-O-Meter: 24
  • I gave up on this FH since I was let down...
    • View Profile
Re: Help with converting .obj to .mesh OGRE IS NOT WORKING.
« Reply #18 on: January 12, 2018, 03:18:33 am »
I'm not too familiar with Blender Nodes, but if possible, try to export the texture map as a .png. This will give you the UV map of the texture which is necessary for Feral Heart use.

As for the mesh, I'm not quite too sure why it wouldn't maintain the same properties while converting. It could be possible that you have too many vertices in the original blender mesh and DelEd does not recognize all of them. Perhaps try to merge some vertices together in blender and try re-converting.


I connected ever bit of the object making the whole thing one object. Any advice on how to connect stuff that I may not of?

Offline Kynvuu

  • #Grimstagram
  • Elder Grey Pelt
  • ****
  • Posts: 2,538
  • Country: us
  • Floof-O-Meter: 212
  • I'm not saying that it was aliens but...
    • View Profile
Re: Help with converting .obj to .mesh OGRE IS NOT WORKING.
« Reply #19 on: January 12, 2018, 01:54:42 pm »
I'm not too sure I understand your question. If you have already merged the most of the vertices, I would try to re-convert the .obj through DelED again and see if the mesh comes out as it was intended to appear. I wouldn't be concerned if you missed merging some vertices, as long as you decreased the amount you originally had.
On a temporary leave. Please contact other members of staff if you need assistance.