## ENGLISH VERSION BELOW ##
Liebe EM-Community,
momentan arbeite ich an einem Gebäude für EM5 - ohne weiter groß etwas darüber verraten zu wollen. Ich habe jedoch erhebliche Probleme mit den Texturen (PBR).
Um resourcenintensives UV-Mapping zu umgehen, nutzt das Material für die Fassade ein Texture Coordinate Mapping, um das PBR Material auf das Mesh zu projizieren.
Exportiere ich nun den ganzen Spaß und importiere ich ihn im EM Editor bzw. dem OGRE Meshviewer, so war die Textur immer fehlerhaft bzw. über die ganze Mesh gestretched.
Da dies noch mit der "alten" OGRE Version war, habe ich jetzt auf die Version 2.1.0 gewechselt und exportiere im LEGACYV1 Format, wie es ja auch die anderen Mesh Files von EM5 oder LDS machen.
Jedoch lässt sich die Mesh-File nun nicht mehr in den Editor importieren (Fehlermeldung siehe unten). Leider werde ich weder aus dem Fehler, noch aus klassischer sowie KI-Recherche nicht schlauer, sodass ich hoffe, hier auf hilfreiche Tipps zu stoßen.
Fehlermeldung:
[QSF error] OGRE EXCEPTION(5:ItemIdentityException): Cannot locate an appropriate 2D texture coordinate set for all the vertex data in this mesh to create tangents from. in Mesh::suggestTangentVectorBuildParams at G:/Projects/qsf-external-source/ogre/ogre_v2-1-ofenberg/OgreMain/src/OgreMesh.cpp (line 1875)
[QSF error] QSF failed to build the tangent vectors of OGRE mesh "(...)testcube.mesh". As a result lighting might look wrong on this mesh. Exception caught : OGRE EXCEPTION(5:ItemIdentityException): Cannot locate an appropriate 2D texture coordinate set for all the vertex data in this mesh to create tangents from. in Mesh::suggestTangentVectorBuildParams at G:/Projects/qsf-external-source/ogre/ogre_v2-1-ofenberg/OgreMain/src/OgreMesh.cpp (line 1875)
Ich freue mich über jede Hilfe und hoffe, dass ich das Problem halbwegs verständlich schildern konnte. Ansonsten gerne nachfragen!
PS: Im Anhang sind noch zwei Screenshots. Einmal das Model im Blender und einmal im Meshviewer mit besagtem Problem.
## ENGLISH VERSION ##
Dear EM community,
I'm currently working on a building for EM5 - without wanting to reveal much more about it. However, I am having considerable problems with the textures (PBR).
To avoid resource-intensive UV mapping, the material for the facade uses a texture coordinate mapping to project the PBR material onto the mesh.
If I now export the object and import it in the EM Editor or the OGRE Meshviewer, the texture was always incorrect or stretched over the entire mesh.
As this was still with the ‘old’ OGRE version, I have now switched to version 2.1.0 and export in LEGACYV1 format, as the other mesh files from EM5 or LDS do.
However, the mesh file can no longer be imported into the editor (see error message below). Unfortunately, I can't figure out what's wrong with the error, nor can I figure it out from classic and AI research, so I'm hoping to find some helpful tips here.
Error message:
(see above)
I appreciate any help and hope that I was able to describe the problem in a reasonably understandable way. Otherwise feel free to ask!
PS: Attached are two screenshots. One of the model in Blender and one in Meshviewer with the said problem.