Open Anatomy Export of a 3D Slicer segmentation (gltf file) and drop the file in the browser window of 3Dviewer.net is a cool feature for sharing results in a working group.
Has somebody made 3dviewer work with an URL to a file in a shared Google Drive folder yet?
I use this functionality as a routine. It’s really good to share the 3D models with the surgical team and even open in the operating room.
I use Dropbox to store the .gltf and generate the link. Never used G drive.
There is some dificulties in hiding parts by the cell phone. We need to use desktop mode in the browser. Also the 3D model is somewhat undefined, without texture.
I’m not sure if texture are needed to make the shapes a bit better defined. It would be nice if you could check if you can get the desired result by switching to PBR interpolation and tuning the shading parameters:
Export the segmentation to models
Go to Models module
Choose a model that you want to improve the appearance of
Open Display / 3D Display / Advanced section
Set Interpolation → PBR and adjust Diffuse, Metallic, Roughness parameters
Export the model folder (not the original segmentation) using OpenAnatomy export
If we find that this results in significant improvement in appearance then we can expose some more shading settings in OpenAnatomy export (e.g., slider to make the models more or less shiny).
A patient with pulmonary sequestration that was operated last week.
It’s not a bad result but in the 3D Slicer itself we have a better image quality.
It’s not necessary that others users have any software instaled or dropbox account. I just send the link like that:
And they are able to open.
Most of time I open in my laptop because I need to connect in the robot console to use the Tilepro. Using the hospital wi-fi I never had any problems. However most of time I use the hospital open web (for guest and patients)… maybe if your hospital have some firewall block to Dropbox it’s possible that you have some difficulty.
You don’t need to have a dropbox account (as the receiving user). The data poster should be able to put in a place where the full URL of the model is visible. So that leaves out google drive and box. E.g., Gor_template_low_res.ply - Google Drive you can see the ply file, but if you paste this URL to 3D viewer like this
Also I would encourage people to suggest Kitware to add load data from URL option to their Glance viewer.
Compared to 3Dviewer, you can embed volumes and other things in. Currently it works only with local data, or data posted to their cloud infrastructure.
GitHub would have been my next try, thanks. I can confirm your example works well. Where exactly do you upload your > 25 MB files in which UI? I get error messages in the GitHub Web interface if I drop files > 25 MB.
Probably the issue is just that the default image-based lighting in 3dviewer.net is a too bright. I’ve created an issue in the SlicerOpenAnatomy extension and described a few tips that may solve your remaining lighting issues:
Doesn’t seem to work for me, at least for github. On 3D viewer: https://kovacsv.hu/3dviewer.net/#model=https://github.com/SlicerMorph/SampleData/blob/master/Gor_template_low_res.ply
3dviewer.net has two very important features that I cannot seem to find in Kitware Glance:
object hierarchy (select, expand/collapse, show/hide group of objects)
3D picking (click in the 3D view to see its name, see where is it in the hierarchy, and adjust properties)
If these features could be added to Glance then it could become a useful web viewer for segmentations and atlases.
3D image volume/slice view rendering is a nice feature in Glance and although the 2D image slice viewer is very limited (there are no slice intersections, crosshair, etc.), this viewer is still better than most 3D web viewers, as they usually cannot display 3D image data at all.
The above demo link one of a 10 MB gltf file is only active for 12 h per definition on a non-public S3 bucket from now, which is great because afterward, it expires in case you would use half sensitive data. And it saves access costs.