This software is under copyright of the CMMC and no license is offered at the moment. It is used for the Proof of Concept and GFI bioreactor project by the CMMC.
Show animation from VTK files produced by ABM-Microcarriers model
Requires the folder of data created by running the ABM-Microcarriers model using biocellion. NOTE: Must tack on the suffix .bytes to all files in that directory due to Unity's insistence that a rose is NOT a rose by any other name.
Two possibilities for ingesting that data by the DataReader script:
-
You are running only on your own computer, whether from the unity editor or from your browser. You can set the public variable DataReader::data_files_are_external to true and set the DataPath in the corresponding branch of DataReader::Start to the absolute path of the directory as in
DataPath = "/Users/simonkahan/CMMC POC/Assets/Resources/output60b/";
-
In addition to running on your own computer, you'd like to install the binary elsewhere, say, as a web demo on simmer.io. You can set DataReader::data_files_are_external to false, import the directory (here called output60b) using the unity editor into Resources, and set the name of that directory in the second branch of the DataReader::Start, as in
DataPath = Application.dataPath + "/Resources/" + "output60b" + "/";
_all_files = Resources.LoadAll("output60b");