Gazebo | Ignition | Community
Ask Your Question

Can Gazebo import normal, roughness and other maps of a Wavefront OBJ object?

asked 2023-01-08 11:48:16 -0500

azazdeaz gravatar image

updated 2023-01-10 01:26:03 -0500

When I use an .obj as mesh in the SDF file, Ignition Gazebo only uses the albedo map from the .mtl file. Should i change something to make Gazebo load other maps (like normal, roughness, transparency) or is this the expected behavior? Setting these maps in the SDF file is possible, but not ideal. Especially when the object has multiple textures.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2023-01-12 21:21:15 -0500

azeey gravatar image

Gazebo can import the maps you mentioned, but the format it expects them might be different than what is exported by the 3d tool you're using. Here's the code if it helps: and

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2023-01-08 11:48:16 -0500

Seen: 383 times

Last updated: Jan 12 '23