ipyvolume
ipyvolume copied to clipboard
stereo view transparency and fullscreen
When activating the stereo mode and switching to fullscreen the right frame presents strange behavior.
For example, an empty plot results in a completely black right frame
import ipyvolume as ipv
ipv.figure(stereo=True)
ipv.show()
Also, taking a screenshot using the GUI results in a transparent background for the right frame
A few more examples with a volume rendering:
import ipyvolume as ipv
ipv.figure(stereo=True)
aqa2 = ipv.datasets.aquariusA2.fetch()
ipv.volshow(aqa2.data.T, level=[0.1, 0.5, 0.9], opacity=[0.01, 0.03, 0.03])
ipv.show()
The issue also affects the movie() method, the behavior is the same as the fullscreen one, a completely black background for the right frame.
Not sure if it is related, but I have also noticed that the right frame does not respect the selection of a different style. This behavior, unlike the previous ones, appears also in the notebook display
import ipyvolume as ipv
ipv.figure(stereo=True)
ipv.style.use('dark')
aqa2 = ipv.datasets.aquariusA2.fetch()
ipv.volshow(aqa2.data.T, level=[0.1, 0.5, 0.9], opacity=[0.01, 0.03, 0.03])
ipv.show()
My best guess is that there are rendering options that are not being properly set equally for both frames in certain cases.
Tested Using ipyvolume 0.5.1. Python 3.5.2 IPython 6.3.1 notebook server is: 5.4.1 Firefox 62.0
`
Thanks for the detailed report, will look at it soon!
This bug is still present on with firefox 65 on android with an exported html (done with ipv 0.5.1)
bump