Problem
When passing an .obj file and texture .png to OglModel, they are correctly loaded and mapped.
visual_node.addObject(
"OglModel",
filename="mesh.obj",
texturename="texture.png",
)

For the MeshOBJLoader the UV coordinates are ignored.
loader = visual_node.addObject(
"MeshOBJLoader",
filename="mesh.obj",
handleSeams=True,
)
visual_node.addObject(
"OglModel",
texcoords=loader.texcoords,
texturename="texture.png",
)

Environment
Context
- System: Ubuntu 20.04
- Version of SOFA: master branch at commit 06899d4
- State: Install directory
Problem
When passing an
.objfile and texture.pngtoOglModel, they are correctly loaded and mapped.For the MeshOBJLoader the UV coordinates are ignored.
Environment
Context