You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The volume loader is registred in cornerstone and called in createAndCacheVolume. I expect it to display white cube but in viewport it shows nothing (same for Float32Array filled with 1.0).
P.S. Is it possible to add opacity to voxels in this case? One of the workarounds for my use case is to force vtkColorTransferFunction to map scalar colors as identity, i.e. 0xRRGGBB -> 0xRRGGBB, but is it actually possible?
Many thanks!
The text was updated successfully, but these errors were encountered:
Hello!
I'm trying to create custom loader for volume with colors associated to each voxel. I'm doing something like this:
The volume loader is registred in cornerstone and called in
createAndCacheVolume
. I expect it to display white cube but in viewport it shows nothing (same for Float32Array filled with 1.0).P.S. Is it possible to add opacity to voxels in this case? One of the workarounds for my use case is to force vtkColorTransferFunction to map scalar colors as identity, i.e. 0xRRGGBB -> 0xRRGGBB, but is it actually possible?
Many thanks!
The text was updated successfully, but these errors were encountered: