   Any software/Library to generate tangents/bi-normals/etc for a mesh?
  Inspired by the post which stated Maya does this for you, I'm looking for a solution to do this for me? Any out there that are free? (Money and me are not on the best of terms. We've not spoken in months) Ideally I've love something that worked like this,   include "MagicalLib.h"   MagicalLib::Mesh * = new Mesh;   mesh.setVertices( myVerticeArray )   mesh.SetTriangles( myTriangleArray)    mesh.SetNormals( myNormalArray )   mesh.GenerateTangents( MyTangentArray,MyBiNormalArray )Anything at all like that? I've never had much like writing something similar myself. Most 3D maths are strange and scary to me.   
  There is Nvidia's MeshMender: http://developer.nvidia.com/object/NVMeshMender.html   ;  Is meshmender an exe or an sdk though? (It's only availiable as part of the huge nvidia sdk demo so it's not easy for me to check. my net speed is crippled lately)If not, can anyone here post their own tagent generation code that works on the above princibles so I can learn from it? I'll give you credit in my app for the original code of course.;  HelloHave you looked at the D3DXMesh API ? (from DirectX) It can generate a lot of things for you (normals, tangent, LOD...) along with optimizing the mesh for rendering. It has been recommended by ATI to professionnal game developpers, too, which means is quite reliable. I dont grant that will suit your needs, but it sure is worth looking at if you havent already.Click it: Mesh support in DirectX 9 (it's a little bit outdated though)Cheers :)Janta   ;  Sounds interesting. Are there any tutorials on there for the C++ version? I can't use mdx for this project.(Not compatible has to be C++);  What let you think it was a MDX version ? it is actually the C++ functions. Maybe you are not familliar with DX style where you dont always have a pMesh->DoSomeStuff, but somtimes a MeshDoSomeStuff(pMesh, ...) ?I think all that functions must be acessible through their ID3DXMesh interface as well like ID3DXMesh::Optimize()...Here it is;Quote:Original post by AntonyCoderIs meshmender an exe or an sdk though? (It's only availiable as part of the huge nvidia sdk demo so it's not easy for me to check. my net speed is crippled lately)If not, can anyone here post their own tagent generation code that works on the above princibles so I can learn from it? I'll give you credit in my app for the original code of course.Here is a link to just the sample & the nvmeshmender code.  You don't need the entire nvidia sdk to use it.  I co-wrote it and use it in my project, so of course I can recommend it... ;)   