{"action":"closed","issue":{"url":"https://api.github.com/repos/Kitware/vtk-js/issues/544","repository_url":"https://api.github.com/repos/Kitware/vtk-js","labels_url":"https://api.github.com/repos/Kitware/vtk-js/issues/544/labels{/name}","comments_url":"https://api.github.com/repos/Kitware/vtk-js/issues/544/comments","events_url":"https://api.github.com/repos/Kitware/vtk-js/issues/544/events","html_url":"https://github.com/Kitware/vtk-js/issues/544","id":292801915,"node_id":"MDU6SXNzdWUyOTI4MDE5MTU=","number":544,"title":"Bonds should use atom colors in molecule rendering","user":{"login":"cryos","id":42214,"node_id":"MDQ6VXNlcjQyMjE0","avatar_url":"https://avatars3.githubusercontent.com/u/42214?v=4","gravatar_id":"","url":"https://api.github.com/users/cryos","html_url":"https://github.com/cryos","followers_url":"https://api.github.com/users/cryos/followers","following_url":"https://api.github.com/users/cryos/following{/other_user}","gists_url":"https://api.github.com/users/cryos/gists{/gist_id}","starred_url":"https://api.github.com/users/cryos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryos/subscriptions","organizations_url":"https://api.github.com/users/cryos/orgs","repos_url":"https://api.github.com/users/cryos/repos","events_url":"https://api.github.com/users/cryos/events{/privacy}","received_events_url":"https://api.github.com/users/cryos/received_events","type":"User","site_admin":false},"labels":[{"id":369864433,"node_id":"MDU6TGFiZWwzNjk4NjQ0MzM=","url":"https://api.github.com/repos/Kitware/vtk-js/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-30T14:27:21Z","updated_at":"2018-06-04T18:08:57Z","closed_at":"2018-06-04T18:08:57Z","author_association":"MEMBER","body":"Adding this to track the issue, I don't have any time to do it right now. Virtually all molecular rendering uses the connected atom colors in the bonds - vtk.js currently uses a [single color](https://kitware.github.io/vtk-js/examples/PDBReader.html) for all bonds (white). See the ParaView/VTK rendering shown a [blog post](https://blog.kitware.com/new-features-paraview-chemistry-pettt/) about new features for example, and also [PDB examples](http://www.rcsb.org/3d-view/5NNK).\r\n\r\nThe rendering code should be modified to either use two solid colors as in the VTK example, or to linearly blend from the first atom color to the second along the tube's length. This should become the default once implemented."}}
{"actor":{"display_login":"jourdain"}}