-
Notifications
You must be signed in to change notification settings - Fork 137
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
Different roi colors in webGL #474
Comments
There is a way to do this in pycortex. If you want to change the appearance of an overlay in webgl, make the change you want (e.g. turn it red, make the line dotted, whatever) and then lock the layer and save the overlays file. Once a layer is locked, the style is no longer overwritten by the defaults in the pycortex config file. The config file ( Sorry for the lack of documentation. We original developers built lots of things in a big hurry and for our own purposes, and left the Gallant lab before we could properly document all our tricks. |
Hi there,
As illustrated in the documentation is straightforward to give different ROIs different colors in quickflat mode, as shown below
However, I am unable to replicate this behavior in webGL mode. No matter the color of the path in the svg, it always appears white in the webGL viewer.
Interestingly, adding a colored rectangle (but not path) in the cutouts folder appears to respect the path color (shown in black).
After having read through what I think are the relevant parts of code. I am scratching my head as to why colors are respected in webGL mode for rectangles but not for paths/rois. Could anyone shed any light on how different roi colors could be achieved in webGL mode?
The text was updated successfully, but these errors were encountered: