Spent a bit more time to make it a bit more automated. So now you create your volume property in Slicer and upload it directly from a module.
If you want to try out, you can try the vp-submit branch in the SlicerMorph git clone --branch vp-submit https://github.com/SlicerMorph/SlicerMorph.git
After that you can:
-
Load a volume and enable volume rendering and create one VolumeProperty preset in the scene (or edit one of the existing preset to make it different).
-
While strictly not necessary, I suggest renaming it different from the original preset name.
Submitting a preset
-
Open the SubmitVolumeRenderingPreset module (under SlicerMorph Utilities).
-
Select your vp from the dropdown. You can hit refresh to get all the volume property loaded in the scene Fill in an optional description and author name.
-
Choose a 3-D view and arrange it as you want it to appear in the gallery.
-
Click – Upload and submit to GitHub. The module uploads both vp.json and the captures screenshot automatically (saved to a temp location) and opens a pre-filled GitHub issue in your browser.
-
Click Submit new issue
This would create a PR for me to take a quick look and once merged it will be shown at GitHub - SlicerMorph/VPs: trial repo for sharing volume rendering properties · GitHub
Note that I decided to use the new JSON based volume rendering property file as opposed to old txt file. Make sure you are trying with a preview version.
Suggestions are welcomed.