{"action":"opened","issue":{"url":"https://api.github.com/repos/ospray/ospray/issues/256","repository_url":"https://api.github.com/repos/ospray/ospray","labels_url":"https://api.github.com/repos/ospray/ospray/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/ospray/ospray/issues/256/comments","events_url":"https://api.github.com/repos/ospray/ospray/issues/256/events","html_url":"https://github.com/ospray/ospray/issues/256","id":325700438,"number":256,"title":"Nested models are not supported","user":{"login":"favreau","id":8790943,"avatar_url":"https://avatars1.githubusercontent.com/u/8790943?v=4","gravatar_id":"","url":"https://api.github.com/users/favreau","html_url":"https://github.com/favreau","followers_url":"https://api.github.com/users/favreau/followers","following_url":"https://api.github.com/users/favreau/following{/other_user}","gists_url":"https://api.github.com/users/favreau/gists{/gist_id}","starred_url":"https://api.github.com/users/favreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/favreau/subscriptions","organizations_url":"https://api.github.com/users/favreau/orgs","repos_url":"https://api.github.com/users/favreau/repos","events_url":"https://api.github.com/users/favreau/events{/privacy}","received_events_url":"https://api.github.com/users/favreau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-23T13:16:15Z","updated_at":"2018-05-23T13:16:15Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI recently tried to use nested models by using the following API / pseudo-code:\r\n`\r\nmodel1 = ospNewModel();\r\nmodel2 = ospNewModel();\r\n...\r\ninstance2 = ospAddInstance(model2, (osp::affine3f&)ospcommon::one);\r\nospAddGeometry(model1, instance2);\r\ninstance1 = ospAddInstance(model1, (osp::affine3f&)ospcommon::one);\r\nospAddGeometry(rootModel, instance1);\r\n...\r\nospCommit(rootModel);\r\n`\r\nThe rendering unfortunately fails in the following line of model.ih:\r\n`\r\ngeom->postIntersect(geom,model,dg,ray,flags);\r\n`\r\nIn the model.ih file, the comments make it pretty clear that the feature is not yet supported.\r\n\r\nNote that if I do not have more that 1 level of children under the 'root' model, things work fine.\r\n\r\nWill nest models be fully supported in the future? In OSPRay 2.0?\r\n\r\nMany thanks for you help there.\r\nCyrille"}}
{"actor":{"display_login":"favreau"}}