0
$\begingroup$

Rosanswers logo

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!


Originally posted by vkee on ROS Answers with karma: 127 on 2017-09-26

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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.


Originally posted by Managarm with karma: 28 on 2017-10-13

This answer was ACCEPTED on the original site

Post score: 0


Original comments

Comment by gvdhoorn on 2017-10-13:
It was only implied, but I think @vkee is publishing Markers messages, and trying to use STLs as mesh resources.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.