{"action":"created","issue":{"url":"https://api.github.com/repos/ros-visualization/rviz/issues/995","repository_url":"https://api.github.com/repos/ros-visualization/rviz","labels_url":"https://api.github.com/repos/ros-visualization/rviz/issues/995/labels{/name}","comments_url":"https://api.github.com/repos/ros-visualization/rviz/issues/995/comments","events_url":"https://api.github.com/repos/ros-visualization/rviz/issues/995/events","html_url":"https://github.com/ros-visualization/rviz/issues/995","id":147472302,"number":995,"title":"Transparency from Collada/DAE meshes is ignored","user":{"login":"VictorLamoine","id":5566160,"avatar_url":"https://avatars.githubusercontent.com/u/5566160?v=3","gravatar_id":"","url":"https://api.github.com/users/VictorLamoine","html_url":"https://github.com/VictorLamoine","followers_url":"https://api.github.com/users/VictorLamoine/followers","following_url":"https://api.github.com/users/VictorLamoine/following{/other_user}","gists_url":"https://api.github.com/users/VictorLamoine/gists{/gist_id}","starred_url":"https://api.github.com/users/VictorLamoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VictorLamoine/subscriptions","organizations_url":"https://api.github.com/users/VictorLamoine/orgs","repos_url":"https://api.github.com/users/VictorLamoine/repos","events_url":"https://api.github.com/users/VictorLamoine/events{/privacy}","received_events_url":"https://api.github.com/users/VictorLamoine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-04-11T15:51:10Z","updated_at":"2016-10-18T17:38:03Z","closed_at":null,"body":"I attach an end-effector to a robot and set the transparency channel to 0.5 in one of the two materials of my meshes (visual DAE mesh).\r\nThe transparency property is ignored by RViz and the mesh is dislayed 100% opaque:\r\n\r\n![eff](https://cloud.githubusercontent.com/assets/5566160/14432878/55e85528-000c-11e6-92aa-a8ff270c683f.png)\r\n\r\nSuzanne monkey should be transparent.\r\n\r\nHere is what the DAE mesh file looks like:\r\n```xml\r\n    <effect id=\"Material_001-effect\">\r\n      <profile_COMMON>\r\n        <technique sid=\"common\">\r\n          <phong>\r\n            <emission>\r\n              <color sid=\"emission\">0 0 0 1</color>\r\n            </emission>\r\n            <ambient>\r\n              <color sid=\"ambient\">0 0 0 1</color>\r\n            </ambient>\r\n            <diffuse>\r\n              <color sid=\"diffuse\">0.1567682 0.1241165 0.8000001 1</color>\r\n            </diffuse>\r\n            <specular>\r\n              <color sid=\"specular\">0.5 0.5 0.5 1</color>\r\n            </specular>\r\n            <shininess>\r\n              <float sid=\"shininess\">50</float>\r\n            </shininess>\r\n            <transparency>\r\n              <float sid=\"transparency\">0.5</float>\r\n            </transparency>\r\n            <index_of_refraction>\r\n              <float sid=\"index_of_refraction\">1</float>\r\n            </index_of_refraction>\r\n          </phong>\r\n        </technique>\r\n      </profile_COMMON>\r\n    </effect>\r\n```\r\n\r\nHere is a repo containing a full example: (with the Blender file)\r\nhttps://github.com/VictorLamoine/rviz_mesh_transparency\r\n"},"comment":{"url":"https://api.github.com/repos/ros-visualization/rviz/issues/comments/254582404","html_url":"https://github.com/ros-visualization/rviz/issues/995#issuecomment-254582404","issue_url":"https://api.github.com/repos/ros-visualization/rviz/issues/995","id":254582404,"user":{"login":"wjwwood","id":100427,"avatar_url":"https://avatars.githubusercontent.com/u/100427?v=3","gravatar_id":"","url":"https://api.github.com/users/wjwwood","html_url":"https://github.com/wjwwood","followers_url":"https://api.github.com/users/wjwwood/followers","following_url":"https://api.github.com/users/wjwwood/following{/other_user}","gists_url":"https://api.github.com/users/wjwwood/gists{/gist_id}","starred_url":"https://api.github.com/users/wjwwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wjwwood/subscriptions","organizations_url":"https://api.github.com/users/wjwwood/orgs","repos_url":"https://api.github.com/users/wjwwood/repos","events_url":"https://api.github.com/users/wjwwood/events{/privacy}","received_events_url":"https://api.github.com/users/wjwwood/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T17:38:03Z","updated_at":"2016-10-18T17:38:03Z","body":"Thanks for the report. Assuming assimp exposes this information for us, it should be relatively simple to make Ogre render the mesh transparently.\r\n\r\nI don't have time to look into this enhancement, but I should have time to review a pull request if you decide to implement it."}}
{"actor":{"display_login":"wjwwood"}}