ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

RVIZ Marker STL Mesh Color and Transparency Issues

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

vkee gravatar image

Hi,

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).

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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

Comments

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

Question Tools

2 followers

Stats

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

Seen: 1,102 times

Last updated: Oct 13 '17