How to correctly export UV coordinates from Blender

Posted by KlashnikovKid on Game Development See other posts from Game Development or by KlashnikovKid
Published on 2012-04-01T22:13:48Z Indexed on 2012/04/01 23:40 UTC
Read the original article Hit count: 334

Filed under:
|
|

Alright, so I'm just now getting around to texturing some assets. After much trial and error I feel I'm pretty good at UV unwrapping now and my work looks good in Blender.

However, either I'm using the UV data incorrectly (I really doubt it) or Blender doesn't seem to export the correct UV coordinates into the obj file because the texture is mapped differently in my game engine. And in Blender I've played with the texture panel and it's mapping options and have noticed it doesn't appear to affect the exported obj file's uv coordinates.

So I guess my question is, is there something I need to do prior to exporting in order to bake the correct UV coordinates into the obj file? Or something else that needs to be done to massage the texture coordinates for sampling. Or any thoughts at all of what could be going wrong?

(Also here is a screen shot of my diffused texture in blender and the game engine. As you can see in the image, I have the same problem with a simple test cube not getting correct uv's either)

http://www.digitalinception.net/blenderSS.png

http://www.digitalinception.net/gameSS.png

© Game Development or respective owner

Related posts about textures

Related posts about blender