Creating Models in Unity

By Shreya D'Souza

This tutorial goes through how to view models of medical data (in this case MRIs) in Unity. Viewing medical files in Unity has been explored, but I have yet to see a tutorial online that does not require several plugins that are potentially not compatible with all types of operating systems. The reason for this is that many medical data models are saved as .vtk files, which cannot be directly imported into Unity without using some sort of downloaded asset (the ones currently recommended include VTKUnity-MedicalViewer, which is only available on Windows). 


This tutorial relies on the fact that Slicer allows users to save models as .stl files and assumes that a model has already been created in Slicer. To learn how to create a model in Slicer follow the following tutorials:

EXPORTING SLICER MODELS AS .STL FILES

Saving.mov
A quick note:Slicer allows for different parts of a model to be saved directly as  .obj files. However, when imported into slicer, these parts are in the wrong orientation most of the time. Because the model I made is made up of 4 different parts, the best way to preserve the position of the parts relative to each other is to use Blender. If you have a model that only needs one file, then the quickest way to view it on Unity would be to export it directly as an .obj file and then change the orientation accordingly in Unity. 

USING BLENDER

Blender.mov

USING UNITY

Unity Model.mov

PORTING TO THE YURT

Follow Loudon's Tutorial on how to port Unity to the YURT!