RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.35k stars 1.27k forks source link

RenderEngineVtk fails to parse this mtl file? #16143

Closed RussTedrake closed 1 year ago

RussTedrake commented 2 years ago

The attached urdf/obj/mtl trio renders differently in our different renderers:

To reproduce, it is enough to add the urdf into the rendering_multibody_plant tutorial with:

table = parser.AddModelFromFile("AirHockeyTable.urdf")
plant.WeldFrames(plant.world_frame(), plant.GetFrameByName("table"))

Expected: The table should be grey in the matplotlib rendered color image produced by ax[0].imshow(color). Actual: The table appears red.

AirHockeyTable.zip

RussTedrake commented 1 year ago

@rpoyner-tri is right, this is a duplicate of #11949