Ask Your Question

RVIZ Marker STL Mesh Color and Transparency Issues

asked 2017-09-26 09:14:00 -0500

vkee gravatar image


Has anyone been able to get STL meshes to properly display with the specified color and alpha values when generating the messages in roscpp and visualizing them in RVIZ?

For some reason, I can get the meshes to display but no matter how I change the color and alpha values, it stays the same solid gray color and opacity (I set mesh_use_embedded materials to false).


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-10-13 04:25:33 -0500

Managarm gravatar image

STL files are geometry only, no colors, textures, displacement maps, etc. are included. You can use Collada DAE files instead which include this kind of stuff. See this nice answer for more details.

edit flag offensive delete link more


It was only implied, but I think @vkee is publishing Markers messages, and trying to use STLs as mesh resources.

gvdhoorn gravatar image gvdhoorn  ( 2017-10-13 04:29:24 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2017-09-26 09:14:00 -0500

Seen: 764 times

Last updated: Oct 13 '17