Convert mesh to tangent mesh

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
MikeDee
Posts: 35
Joined: Wed Nov 18, 2009 11:41 pm

Convert mesh to tangent mesh

Post by MikeDee »

So, I need to convert the mesh to tangent mesh so that I can use normal mapping in animated meshes, but do I do that ?
CuteAlien
Admin
Posts: 9933
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

Check the MeshManipulator documentation: http://irrlicht.sourceforge.net/docu/cl ... lator.html

I think createMeshWithTangents is probably the function to use for that. And you get the IMeshManipulator interface from the scenemanager.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply