Page 2 of 2

Re: Normal Maps help.

Posted: Mon Oct 08, 2012 5:10 pm
by Wolfen
Ok, THAT makes sense to me. Thanks for the info. It's much appreciated. =)

Re: Normal Maps help.

Posted: Mon Oct 08, 2012 7:07 pm
by Isaac
JohnWordsworth wrote:However, this data is not saved in OBJ format, so I need to generate this information for imported meshes in the GMT, which I simply haven't got around to yet. I'll be adding a button to the app to generate tangent/bi-tangent data for a mesh sometime soon :).
A curious fact of Blender is that it offers the option to [what appears intended to] export the normals when exporting to OBJ. It does mention that these are ignored if you import the OBJ back into Blender.
Image


When I exported a cube and selected high quality normals, I got an OBJ file.
I've no idea in what way it might differ from a regular OBJ, but this is what Blender exported.
*And here is the link if interested:
https://docs.google.com/open?id=0B2XjRU ... k9oekpZYUk

(I've included a diffuse, specular, and tangent normal map along with it. If nothing else, it would serve as a model to test with.)
Image

Re: Normal Maps help.

Posted: Tue Oct 09, 2012 12:38 am
by JohnWordsworth
Ahh, sorry - I might not have been clear. OBJ files support vertex normals, but not tangents and bi-tangents. Normals are required for realistic lighting, tangents and bi-tangents are specifically required only for bump mapping / applying a normal map.

You will be glad to hear that the latest version of the app now has a button to generate tangent data for a mesh, so you can now apple normal maps to imported models :).