I moved the serialization from the ViewNode to the ControlNode to keep a unified structure. This will also be useful for the batch mode (which cannot use the View nodes).
For the data storage, since you used the base underlying Array object it is much easier to serialize/deserialize the data (and not the HeightMap, which is tiled to allow parallel processing). And this is robust to resolution change: you can load a brush map made with one resolution on another resolution (again very useful for batch mode).
Thanks!
I moved the serialization from the ViewNode to the ControlNode to keep a unified structure. This will also be useful for the batch mode (which cannot use the View nodes).
For the data storage, since you used the base underlying Array object it is much easier to serialize/deserialize the data (and not the HeightMap, which is tiled to allow parallel processing). And this is robust to resolution change: you can load a brush map made with one resolution on another resolution (again very useful for batch mode).