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

Is it possible to change the transparency(opacity) of main brain surface? #353

Open
iPsych opened this issue Jan 22, 2020 · 1 comment
Open

Comments

@iPsych
Copy link

iPsych commented Jan 22, 2020

In the mriview.js and mriview_surface.js of webGL viewer, Is there any variable can be change the opacity of main brain surface?
The transparency menu of UI only seems to change the data overlaid on the surface.

@marklescroart
Copy link
Contributor

Very belatedly: Unfortunately, no. If you mess with things in JavaScript, you may be able to get an effect like this, but IIRC the issue is that calcluating depth - distance from camera - for all elements of the scene that are un-occluded by making the base mesh transparent is a big pain in the butt to do correctly. If James Gao didn't want to touch it, I don't think any of the rest of us do...

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

No branches or pull requests

2 participants