Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix submodel instances due to lack of support in OSPRay; cleanup create- and addModel usage #392

Merged
merged 1 commit into from
May 24, 2018

Conversation

tribal-tec
Copy link
Contributor

No description provided.

@favreau
Copy link
Member

favreau commented May 24, 2018

For the record: RenderKit/ospray#256

@@ -110,6 +110,11 @@ void OSPRayScene::commit()
BRAYNS_INFO << "Committing " << modelDescriptor->getName()
<< std::endl;
_addInstance(_rootModel, impl.getModel(), transformation);

#ifndef OSPRAY_SUPPORTS_SUBMODEL_INSTANCES
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From my understanding, OSPRAY_SUPPORTS_SUBMODEL_INSTANCES will apparently never be true :( Do you still want to keep it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After I read the ticket of course not :) I'm about to push that.

@favreau
Copy link
Member

favreau commented May 24, 2018

Super cool PR overall, looking forward to using the new feature :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants