Gazebo | Ignition | Community
Ask Your Question
1

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

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

azazdeaz gravatar image

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

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
0

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

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: https://github.com/gazebosim/gz-commo... and https://github.com/gazebosim/gz-commo...

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 426 times

Last updated: Jan 12 '23