{"action":"created","issue":{"url":"https://api.github.com/repos/highfidelity/hifi/issues/13409","repository_url":"https://api.github.com/repos/highfidelity/hifi","labels_url":"https://api.github.com/repos/highfidelity/hifi/issues/13409/labels{/name}","comments_url":"https://api.github.com/repos/highfidelity/hifi/issues/13409/comments","events_url":"https://api.github.com/repos/highfidelity/hifi/issues/13409/events","html_url":"https://github.com/highfidelity/hifi/pull/13409","id":333465178,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1NjcyMjk3","number":13409,"title":"Include shapeID in RayPick results","user":{"login":"humbletim","id":94753,"node_id":"MDQ6VXNlcjk0NzUz","avatar_url":"https://avatars2.githubusercontent.com/u/94753?v=4","gravatar_id":"","url":"https://api.github.com/users/humbletim","html_url":"https://github.com/humbletim","followers_url":"https://api.github.com/users/humbletim/followers","following_url":"https://api.github.com/users/humbletim/following{/other_user}","gists_url":"https://api.github.com/users/humbletim/gists{/gist_id}","starred_url":"https://api.github.com/users/humbletim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humbletim/subscriptions","organizations_url":"https://api.github.com/users/humbletim/orgs","repos_url":"https://api.github.com/users/humbletim/repos","events_url":"https://api.github.com/users/humbletim/events{/privacy}","received_events_url":"https://api.github.com/users/humbletim/received_events","type":"User","site_admin":false},"labels":[{"id":675876856,"node_id":"MDU6TGFiZWw2NzU4NzY4NTY=","url":"https://api.github.com/repos/highfidelity/hifi/labels/Engine","name":"Engine","color":"A2277C","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/highfidelity/hifi/milestones/30","html_url":"https://github.com/highfidelity/hifi/milestone/30","labels_url":"https://api.github.com/repos/highfidelity/hifi/milestones/30/labels","id":3290828,"node_id":"MDk6TWlsZXN0b25lMzI5MDgyOA==","number":30,"title":"RC70","description":"","creator":{"login":"conklin94122","id":12115653,"node_id":"MDQ6VXNlcjEyMTE1NjUz","avatar_url":"https://avatars2.githubusercontent.com/u/12115653?v=4","gravatar_id":"","url":"https://api.github.com/users/conklin94122","html_url":"https://github.com/conklin94122","followers_url":"https://api.github.com/users/conklin94122/followers","following_url":"https://api.github.com/users/conklin94122/following{/other_user}","gists_url":"https://api.github.com/users/conklin94122/gists{/gist_id}","starred_url":"https://api.github.com/users/conklin94122/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conklin94122/subscriptions","organizations_url":"https://api.github.com/users/conklin94122/orgs","repos_url":"https://api.github.com/users/conklin94122/repos","events_url":"https://api.github.com/users/conklin94122/events{/privacy}","received_events_url":"https://api.github.com/users/conklin94122/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":42,"state":"open","created_at":"2018-04-23T19:27:01Z","updated_at":"2018-06-25T18:45:30Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2018-06-18T23:06:41Z","updated_at":"2018-06-25T18:48:10Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/highfidelity/hifi/pulls/13409","html_url":"https://github.com/highfidelity/hifi/pull/13409","diff_url":"https://github.com/highfidelity/hifi/pull/13409.diff","patch_url":"https://github.com/highfidelity/hifi/pull/13409.patch"},"body":"This PR adds support for referencing `extraInfo.shapeID` as part of scripted RayPick results.\r\n\r\nGiven `extraInfo.shapeID` and the intersected `objectID`, it is then possible to identify the corresponding Material layer using the existing `Graphics.getModel(objectID)` APIs.\r\n\r\nThe PR also includes low-level plumbing for overriding the bounding box used for preflight intersection tests -- see virtual `EntityItem::getRaycastDimensions()` (dynamic mesh PRs will depend on being able to override this method later).\r\n\r\n##### Test Plan:\r\n1) Launch Interface PR build in Desktop mode\r\n2) Load the Client test script from URL: [scripts/developer/tests/raypickTester.js](https://raw.githubusercontent.com/humbletim/hifi/add-raypick-shapeID/scripts/developer/tests/raypickTester.js)\r\n    _(when hovering over nearby entities this script displays a text3d overlay with white text)_\r\n3) Enter the serverless tutorial or domain with rez rights.\r\n4) Use the Create button to rez a new Model Entity: http://mpassets.highfidelity.com/367a5b60-8a92-4d56-a152-a00f3086f02b-v1/M_Espio/M_Espio.fbx\r\n5) Hover over different parts of the Model and verify the displayed:\r\n   * `material` name corresponds with the submesh / part being hovered-over.\r\n   * `shapeID` reflects a number value `>= 0`\r\n\r\n(note: this PR is standalone subset of Leopoly_011)"},"comment":{"url":"https://api.github.com/repos/highfidelity/hifi/issues/comments/400055985","html_url":"https://github.com/highfidelity/hifi/pull/13409#issuecomment-400055985","issue_url":"https://api.github.com/repos/highfidelity/hifi/issues/13409","id":400055985,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDA1NTk4NQ==","user":{"login":"hifi-gustavo","id":4554450,"node_id":"MDQ6VXNlcjQ1NTQ0NTA=","avatar_url":"https://avatars0.githubusercontent.com/u/4554450?v=4","gravatar_id":"","url":"https://api.github.com/users/hifi-gustavo","html_url":"https://github.com/hifi-gustavo","followers_url":"https://api.github.com/users/hifi-gustavo/followers","following_url":"https://api.github.com/users/hifi-gustavo/following{/other_user}","gists_url":"https://api.github.com/users/hifi-gustavo/gists{/gist_id}","starred_url":"https://api.github.com/users/hifi-gustavo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hifi-gustavo/subscriptions","organizations_url":"https://api.github.com/users/hifi-gustavo/orgs","repos_url":"https://api.github.com/users/hifi-gustavo/repos","events_url":"https://api.github.com/users/hifi-gustavo/events{/privacy}","received_events_url":"https://api.github.com/users/hifi-gustavo/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T18:48:10Z","updated_at":"2018-06-25T18:48:10Z","author_association":"NONE","body":"Mac OS X client-only build is available at: https://deployment.highfidelity.com/jobs/pr-build/label%3Dmacos/10865/HighFidelity-Beta-Interface-PR13409-b73a957.dmg"}}
{"actor":{"display_login":"hifi-gustavo"}}