Page 1 of 1

normalmap seems not to work for me

PostPosted: 07 Oct 2013, 21:11
by rubberduck
i see that in my objects normalmap don't work, what i am doing wrong?

i used the same material as the other stone rock_n2 (i added a material named rock_n2 to my stone)
i also found out that i don't have a normalmap-effect on any other self-added objects.

Re: normalmap seems not to work for me

PostPosted: 07 Oct 2013, 21:42
by CryHam
Ah. This is because of missing tangents in mesh.
I actually had a problem with it, even with enabled tangents in Blender Ogre exporter options, it wasn't there.
Because of that, I use OgreXmlConverter to convert the exported .mesh to .mesh.xml and then again to convert it back to .mesh but with -t -e options (add tangents and no edges list).

Re: normalmap seems not to work for me

PostPosted: 08 Oct 2013, 14:45
by rubberduck
could i use the mesh.xml file that is generated by the normal exporter
and where is the ogreXmlConverter

Re: normalmap seems not to work for me

PostPosted: 08 Oct 2013, 17:04
by Tapio
rubberduck {l Wrote}:where is the ogreXmlConverter

If you are using Ubuntu ogre packages, install "ogre-1.8-tools". If you have built ogre yourself, it should be installed to the prefix you installed ogre, /usr/local/bin by default. Note that since case matter on linux, the exact executable name is OgreXMLConverter.