-
Notifications
You must be signed in to change notification settings - Fork 47
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
Conversation
brayns/common/material/Material.h
Outdated
|
||
BRAYNS_API void lock() { _locked = true; } | ||
BRAYNS_API void unlock() { _locked = false; } | ||
BRAYNS_API bool locked() { return _locked; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const function
brayns/common/material/Material.h
Outdated
|
||
BRAYNS_API void lock() { _locked = true; } | ||
BRAYNS_API void unlock() { _locked = false; } | ||
BRAYNS_API bool locked() const { return _locked; } |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is never incremented??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Retest this please |
And introduces a basic fast BasicRenderer instead of the ExtendedOBJRenderer