alib022
(Ali B)
22
Yes that way it works.
So I’m trying to find a template *.glance file to change the file name in code to pass for visual.
The problem is, the current.glance file still has the whole image as vtk vector in it.
I managed to manually remove the entire vector and put url instead. But it’s a big file to clean up.
Though maybe if the bug gets fixed, then the save state actually gives json file with urls. Then we can easily use that inside our code.
Thanks for the help.
Oh, right now Glance master should have the fix for saving remote data as a URL rather than the entire vtk array. Does it not work for you?
alib022
(Ali B)
24
No I updated my version, still saves same as before.
Hm, can you post a glance file generated with the latest version? I can have a clearer means of debugging with it.
alib022
(Ali B)
26
Please follow the link, the file is too big for here.
And just as a sanity check for myself: are you loading this data via the name & url parameters, or you are loading via girder?
alib022
(Ali B)
28
I take it back. I re-ran and it’s working fine! I dont know what I was doint wrong. Sorry for confusion.
1 Like
alib022
(Ali B)
30
Yes thank you so much for the quick help.
devngc
(Devang)
31
Hi all,
I am trying to do something similar without going the URL route.
Is there a class in vtk that can help generate the dataset that glance accepts?
devngc
(Devang)
32
Also, what kind of file formats are supported to one is providing the source using the url?