Open OlehKSS opened 6 years ago
i agree it would be neat but let's shoot for the 90% use cases. So maybe views=['lat', 'med'] is not necessary at this stage
my 2c
I think it might fit within that. I frequently use hemi='split', views=['lat', 'med']
to look at data. You see the whole brain (approximately) at once), rather than 1/4 of it.
If it's not supported easily in ipyvolume
, though, I agree that it should be a low priority because of the amount of work likely necessary to make it work.
Do you think this can be closed, since in pull request #25 support for multiple views and hemi='split'
were added?
Let's wait until the views
actually works. IPyvolume needs some camera fix, right?
Yes, there is a bug https://github.com/maartenbreddels/ipyvolume/issues/156
Is it worth you looking into it to see if you can fix it?
I have no idea how hard can it be. As far as I understand, the bug appeared due to the switch to threejs
camera. I will ask whether anyone working on it right now.
In PySurfer you can do hemi='lh' | 'rh' | 'both' | 'split', as well as views='lat' or views=['lat', 'med'].
Hopefully IPyvolume gives you some way of having multiple sub-panels/sub-scenes in a single rendering context (i.e., a 2x2 grid where each panel in the grid has its own objects and camera controls). If it already has these mechanisms the translation should be straightforward.
If it does not, then please open an IPyvolume issue discussing this use case so we can discuss potential solutions.