If I understand correctly, visual materials are currently read and written but not rendered. Loading e.g. the Upkie URDF we get the dark "ninja" version:
Trimesh can render materials so getting them to yourdfpy is a matter of plugging the right info. This PR starts to do so:
For now it only works for materials that contain an actual color tag (i.e. no named materials).
If I understand correctly, visual materials are currently read and written but not rendered. Loading e.g. the Upkie URDF we get the dark "ninja" version:
Trimesh can render materials so getting them to yourdfpy is a matter of plugging the right info. This PR starts to do so:
For now it only works for materials that contain an actual color tag (i.e. no named materials).