{"action":"created","issue":{"url":"https://api.github.com/repos/IntelVCL/Open3D/issues/608","repository_url":"https://api.github.com/repos/IntelVCL/Open3D","labels_url":"https://api.github.com/repos/IntelVCL/Open3D/issues/608/labels{/name}","comments_url":"https://api.github.com/repos/IntelVCL/Open3D/issues/608/comments","events_url":"https://api.github.com/repos/IntelVCL/Open3D/issues/608/events","html_url":"https://github.com/IntelVCL/Open3D/issues/608","id":368751057,"node_id":"MDU6SXNzdWUzNjg3NTEwNTc=","number":608,"title":"Is it necessary to display the window from create_window()?","user":{"login":"benjiebob","id":17785299,"node_id":"MDQ6VXNlcjE3Nzg1Mjk5","avatar_url":"https://avatars1.githubusercontent.com/u/17785299?v=4","gravatar_id":"","url":"https://api.github.com/users/benjiebob","html_url":"https://github.com/benjiebob","followers_url":"https://api.github.com/users/benjiebob/followers","following_url":"https://api.github.com/users/benjiebob/following{/other_user}","gists_url":"https://api.github.com/users/benjiebob/gists{/gist_id}","starred_url":"https://api.github.com/users/benjiebob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjiebob/subscriptions","organizations_url":"https://api.github.com/users/benjiebob/orgs","repos_url":"https://api.github.com/users/benjiebob/repos","events_url":"https://api.github.com/users/benjiebob/events{/privacy}","received_events_url":"https://api.github.com/users/benjiebob/received_events","type":"User","site_admin":false},"labels":[{"id":493292420,"node_id":"MDU6TGFiZWw0OTMyOTI0MjA=","url":"https://api.github.com/repos/IntelVCL/Open3D/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-10-10T16:33:37Z","updated_at":"2018-11-26T14:15:26Z","closed_at":null,"author_association":"NONE","body":"Hi there,\r\n\r\nI am currently using Open3D's PointCloud support in a training loop for a neural network. The goal is to save 10 different point clouds as images, so that I can send to Tensorboard for visualization as fast as possible.\r\n\r\nCurrently, my process is to create the 10 point clouds and then use:\r\n\r\n```\r\nimage_list = []\r\nfor pcd in pcd_list:\r\n   vis = Visualizer()\r\n   vis.create_window()\r\n   vis.add_geometry(pcd)\r\n   vis.poll_events()\r\n   vis.update_renderer()\r\n   image_list.append(vis.capture_screen_float_buffer())\r\n   vis.destroy_window()\r\n```\r\nHowever, the annoying (and I guess slow?) part is that the create_window() command creates a GLX window which is quickly displayed and closed. This results in a 'flickering' window during training time. Even just creating it in a 'hidden' mode would be better than nothing.\r\n\r\nIn another issue report, I read that you do not recommend editing geometries added to the visualizer so at the moment, this code creates and destroys 10 windows quite a few times during training.\r\n\r\nIs there a method more in keeping with your design philosophy?\r\n\r\nThanks,\r\nBen\r\n"},"comment":{"url":"https://api.github.com/repos/IntelVCL/Open3D/issues/comments/441652920","html_url":"https://github.com/IntelVCL/Open3D/issues/608#issuecomment-441652920","issue_url":"https://api.github.com/repos/IntelVCL/Open3D/issues/608","id":441652920,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTY1MjkyMA==","user":{"login":"lelouedec","id":16105109,"node_id":"MDQ6VXNlcjE2MTA1MTA5","avatar_url":"https://avatars3.githubusercontent.com/u/16105109?v=4","gravatar_id":"","url":"https://api.github.com/users/lelouedec","html_url":"https://github.com/lelouedec","followers_url":"https://api.github.com/users/lelouedec/followers","following_url":"https://api.github.com/users/lelouedec/following{/other_user}","gists_url":"https://api.github.com/users/lelouedec/gists{/gist_id}","starred_url":"https://api.github.com/users/lelouedec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lelouedec/subscriptions","organizations_url":"https://api.github.com/users/lelouedec/orgs","repos_url":"https://api.github.com/users/lelouedec/repos","events_url":"https://api.github.com/users/lelouedec/events{/privacy}","received_events_url":"https://api.github.com/users/lelouedec/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T14:15:26Z","updated_at":"2018-11-26T14:15:26Z","author_association":"NONE","body":"I have the same issues as mention above, the Headless example code create a window that stays open until the end of the code. And when setting visible as False, the capture is either black or the context selected (Any other application selected).\r\nHeadless rendering is a good and important feature, especially for scientific purpose, when it takes some times to render on screen a scene and we just want a capture of it saved for later analysis. "}}
{"actor":{"display_login":"lelouedec"}}