-
Notifications
You must be signed in to change notification settings - Fork 343
Closed
Labels
issue: bug (minor)Bug affecting only some users or with no major impact on the frameworkBug affecting only some users or with no major impact on the framework
Description
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
Metadata
Metadata
Assignees
Labels
issue: bug (minor)Bug affecting only some users or with no major impact on the frameworkBug affecting only some users or with no major impact on the framework

