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

Allow use of OSPRay default renderers #239

Merged
merged 9 commits into from
Nov 1, 2017
Merged

Conversation

favreau
Copy link
Member

@favreau favreau commented Oct 31, 2017

And introduces a basic fast BasicRenderer instead of the ExtendedOBJRenderer

@favreau favreau requested a review from tribal-tec October 31, 2017 16:27

BRAYNS_API void lock() { _locked = true; }
BRAYNS_API void unlock() { _locked = false; }
BRAYNS_API bool locked() { return _locked; }
Copy link
Contributor

Choose a reason for hiding this comment

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

const function


BRAYNS_API void lock() { _locked = true; }
BRAYNS_API void unlock() { _locked = false; }
BRAYNS_API bool locked() const { return _locked; }
Copy link
Contributor

Choose a reason for hiding this comment

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

please put a doxygen here 'cause I already forgot what this was for again

Copy link
Member Author

Choose a reason for hiding this comment

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

Doc added

@@ -991,64 +996,60 @@ uint64_t OSPRayScene::_buildMeshOSPGeometry(const size_t materialId)

void OSPRayScene::commitLights()
{
for (auto renderer : _renderers)
size_t lightCount = 0;
Copy link
Contributor

Choose a reason for hiding this comment

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

this is never incremented??

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

@favreau
Copy link
Member Author

favreau commented Nov 1, 2017

Retest this please

@favreau favreau merged commit d6aebc9 into BlueBrain:rockets Nov 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants