Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For collada meshes alpha of multiple RobotModel interfere #1385

Closed
simonschmeisser opened this issue Jul 12, 2019 · 2 comments · Fixed by #1387
Closed

For collada meshes alpha of multiple RobotModel interfere #1385

simonschmeisser opened this issue Jul 12, 2019 · 2 comments · Fixed by #1387

Comments

@simonschmeisser
Copy link
Contributor

We noticed today that adding a second RobotModel display (or derived MoveIt ones) with alpha = 0.2 changes the display of the primary RobotModel to also have transparency. This only happens for Collada meshes, not STL

I first enable one RobotModel with alpha = 1, the robot uses individual collada meshes while gripper and camera are stl meshes

image

now I enabled a second RobotModel where alpha=0.2 and it will (visually) override the value for both (the input field is not affected)

image

Notice how both robots now have alpha=0.2 except for the gripper and camera

I suspect this is due to non unique material names, any idea @rhaschke ?

Your environment

  • OS Version: Ubuntu 18.04
  • ROS Distro: Melodic
  • RViz, Qt, OGRE, OpenGl version as printed by rviz:
    [ INFO] [1562941360.215562081]: rviz version 1.13.3
    

[ INFO] [1562941360.215614003]: compiled against Qt version 5.9.5
[ INFO] [1562941360.215624573]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1562941360.431414141]: Stereo is NOT SUPPORTED
[ INFO] [1562941360.432597198]: OpenGl version: 3 (GLSL 1.3).
```

@rhaschke
Copy link
Contributor

Could you please check whether the issue was introduced in #1294, i.e. validate the version before this merge?

@simonschmeisser
Copy link
Contributor Author

image

seems to have regressed after commit c7b2daa

I disabled some links from both RobotModels to show that two alpha values are supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants