Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripted importers (Unity 2020.2+) + prefab support for datasets #183

Merged
merged 8 commits into from
May 3, 2023

Conversation

mlavik1
Copy link
Owner

@mlavik1 mlavik1 commented Apr 27, 2023

Datasets can now be saved as assets, either by:

  • Dragging file into project (only RAW, NRRD, NIFTI and VASP) - Only in Unity 2020.2+
  • Right clicking in project view, and selecting "Volume Rendering"->"Import Dataset"

These datasets can easily be dragged and dropped into the scene. (Only in Unity 2021.2+)
You can also reference them in some script, and spawn them at runtime.

#171

image

Dataset can be imported from here:
image

Imported dataset asset will be available in the project folder:
image

You can drag and drop it into the scene.

@mlavik1 mlavik1 added enhancement New feature or request feature labels Apr 27, 2023
@mlavik1
Copy link
Owner Author

mlavik1 commented Apr 27, 2023

Hi @capgemini-labs , here's a proper fix for the task you asked about.
Would you mind testing it, and letting me know if it works fine for your use case? (see description above for how to use)

@mlavik1 mlavik1 changed the title Scripted importers + prefab support for datasets Scripted importers (Unity 2020.2+) + prefab support for datasets Apr 27, 2023
@mlavik1
Copy link
Owner Author

mlavik1 commented May 2, 2023

Update: Merge in some changes from master. Will test more, and probably merge tomorrow (unless there are any issues, of course)

@mlavik1 mlavik1 merged commit 0a38133 into master May 3, 2023
@mlavik1 mlavik1 deleted the scripted-importer branch June 24, 2023 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant