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: [SOLVED][QUESTION] OBJ -> M2 Converter Messing Up UV Map?  (Read 1514 times)

Laduguer

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 144
    • View Profile
[SOLVED][QUESTION] OBJ -> M2 Converter Messing Up UV Map?
« on: February 27, 2014, 04:13:47 pm »
Hey guys,

Having a bit of trouble here with the OBJ to M2 converter made by Garthog. The UV map works fine in Blender, but when I convert it to .M2 many of the UVs get deformed. They're all within the 0,1 space and i'm pretty sure they're per vertex as required.

Anyone have any ideas?

I can upload screens / the .OBJ if need be.

(apologies for posting this here instead of in the converter thread, but I figure this may be more of a general error)
« Last Edit: February 28, 2014, 12:48:36 am by Admin »

Alastor

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1105
    • View Profile
Re: [QUESTION] OBJ -> M2 Converter Messing Up UV Map?
« Reply #1 on: February 27, 2014, 05:09:45 pm »
so ... UV cant be out of Image for 1st ...
like this -
http://prntscr.com/2wbh8w
and at last ...
just convert OBJ to 3DS and back to OBJ then convert into M2
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
No matter how fast light travels it finds the darkness has always got there first and is waiting for it
Star Citizen Referral Code : STAR-XNFS-HVL9

Laduguer

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 144
    • View Profile
Re: [QUESTION] OBJ -> M2 Converter Messing Up UV Map?
« Reply #2 on: February 27, 2014, 05:15:17 pm »
Quote from: "dahaga"
so ... UV cant be out of Image for 1st ...
like this -
http://prntscr.com/2wbh8w
and at last ...
just convert OBJ to 3DS and back to OBJ then convert into M2

The UVs are all inside the image. Thanks for your OBJ>3DS>OBJ idea, i'll try that, but it shouldn't be necessary to do that in the first place. Anyone got any other ideas?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Rangorn

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 291
    • View Profile
Re: [QUESTION] OBJ -> M2 Converter Messing Up UV Map?
« Reply #3 on: February 27, 2014, 10:12:57 pm »
I think you have to fix it with 010 editor.


Try to open your m2 with 010 editor and m2 templates.
Check for struct_textures, for each texture, set the Textureflags, (not the texturetype) to 3

Like that :
http://puu.sh/7cLdo.png
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Laduguer

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 144
    • View Profile
Re: [QUESTION] OBJ -> M2 Converter Messing Up UV Map?
« Reply #4 on: February 28, 2014, 12:48:20 am »
Managed to fix it by doing Dahaga's suggestion of OBJ>3DS>OBJ>M2. Thanks anyway Rangorn!
« Last Edit: January 01, 1970, 01:00:00 am by Admin »