pycortex icon indicating copy to clipboard operation
pycortex copied to clipboard

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

Open iPsych opened this issue 6 years ago • 1 comments

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.

iPsych avatar Jan 22 '20 08:01 iPsych

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...

marklescroart avatar Nov 01 '21 23:11 marklescroart