This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [Question] Textures stretched during Obj/M2 conversion  (Read 1066 times)

Insanity

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 40
    • View Profile
[Question] Textures stretched during Obj/M2 conversion
« on: January 14, 2015, 02:36:24 pm »
I was hoping someone could give me some advice.  I am having some uv mapping issues that are not showing themselves in Blender but turn up in WMV and in game.  Nothing appears out of the ordinary in blender, I even re-created this object and re mapped it to see if that was an issue (I had mirrored some of the mapping originally) but the re-make still had this stretching problem…though not as bad.  I am using OBJ to M2 and following Filipsons’ tutorial viewtopic.php?f=20&t=5825  (awesome tutorial I might add!)
The odd part is that there is a pattern to the stretching too…every three railroad tie has the same type of texture stretching…so
1st and 4th ties display just fine,
2nd and 5th ties are fine on the right side face but everything else is an issue
and the 3rd  and 6th ties are just a mess.

I can turn this same model into a wmo using 3ds/OBJ to WMO without any issues, but of course the export is a 3ds and not an OBJ file.
The export to OBJ options I’m setting are: Apply modifiers, Include edges, Include normal, Include UV, write materials and Objects as OBJ Object.  This model was created using Blender 2.7.
Let me know if anyone has any ideas, I have a feeling it sometime about my OBJ export that is causing the issue.

On a side note what is the rule of thumb on what object should be m2 and which should be wmo (barring objects with animations)?  Is seems the structures or objects with insides and outsides are wmo but is that the only real requirement?  Sorry, I digressed from my own topic.
« Last Edit: January 15, 2015, 01:30:38 pm by Admin »

Laduguer

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 144
    • View Profile
Re: [Question] Textures stretched during Obj/M2 conversion
« Reply #1 on: January 14, 2015, 02:40:41 pm »
This is a common issue. First, export your model to .3ds from Blender. Then import the .3ds file back into Blender. -Then- export to OBJ and convert using OBJtoM2. Your issue should be fixed.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Insanity

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 40
    • View Profile
Re: [Question] Textures stretched during Obj/M2 conversion
« Reply #2 on: January 15, 2015, 01:31:57 pm »
Thank worked like a charm.  Thank you very much Laduguer.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »