ipyvolume icon indicating copy to clipboard operation
ipyvolume copied to clipboard

multiple quickvolshow

Open c-amow opened this issue 6 years ago • 4 comments

it seems like this should be supported now(?) https://github.com/maartenbreddels/ipyvolume/issues/20

but when I do multiple quickvolshow (each works independently) the cell execution never finishes executing (* shows and rendering never finishes)

is this as expected?

c-amow avatar Jan 05 '19 03:01 c-amow

just before I posted i saw something in the suggested list about quickvolshow too big being an issue, the volumes I am trying to combine and show are each 512, 512, 110

c-amow avatar Jan 05 '19 03:01 c-amow

here is a modified example i did as an experiment

import numpy as np
import ipyvolume as ipv

V = np.zeros((128,128,128)) # our 3d array
W = np.zeros((128,128,128)) # our 3d array
# outer box
V[30:-30,30:-30,30:-30] = 0.75
V[35:-35,35:-35,35:-35] = 0.0
# inner box
W[50:-50,50:-50,50:-50] = 0.25
W[55:-55,55:-55,55:-55] = 0.0
# ipv.quickvolshow(V, level=[0.25, 0.75], opacity=0.03, level_width=0.1, data_min=0, data_max=1)
# ipv.quickvolshow(W, level=[0.25, 0.75], opacity=0.03, level_width=0.1, data_min=0, data_max=1)

ipv.volshow(V, level=[0.25, 0.75], opacity=0.03, level_width=0.1, data_min=0, data_max=1)
ipv.volshow(W, level=[0.25, 0.75], opacity=0.03, level_width=0.1, data_min=0, data_max=1)
ipv.show()

c-amow avatar Jan 07 '19 08:01 c-amow

Hi,

Any progress on this issue?

Thank you.

ahof1704 avatar Apr 29 '20 16:04 ahof1704

Hi, is this feature implemented already? Can we use this tool to display two volumes?

Thanks

ahof1704 avatar Jul 21 '20 18:07 ahof1704