-
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
Reworked simulations renderers #512
Conversation
@@ -1,9 +1,7 @@ | |||
/* Copyright (c) 2015-2016, EPFL/Blue Brain Project | |||
/* Copyright (c) 2015-2017, EPFL/Blue Brain Project |
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.
2018
uint32 transferFunctionSize; | ||
|
||
// Alpha correction | ||
float alphaCorrection; | ||
}; | ||
|
||
inline varying vec4f |
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.
A similar function is used also for the simulation renderer, can they be merged?
30f2623
to
7ffcb6f
Compare
Retest this please |
namespace brayns | ||
{ | ||
/** | ||
* The AbstractRenderer class implements a base renderer for all Brayns custom |
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.
Fix documentation.
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.
Done
// Value offset is out of range, return error color | ||
return color; | ||
|
||
// Normalize the value according colormap size |
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.
according (to) colormap
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.
Done
|
||
struct BasicSimulationRenderer | ||
{ | ||
SimulationRenderer abstract; |
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.
Is there a better name than abstract, like simulation_renderer or something?
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.
Renamed to super (to remain consistent with OSPRay)
{ | ||
AbstractRenderer abstract; | ||
SimulationRenderer abstract; |
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.
Is there a better name than abstract, like simulation_renderer or something?
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.
Dito
retest this please |
Why is tests/files/images/testdataallmini50color.png updated? Should it not be the same still? |
…g speed