Kevin Reid
Kevin Reid
Another note on troubleshooting: it's easy to change mesh generation to count all vertices as “transparent” vertices, thus causing depth sorting instead of depth buffer testing to be used. This...
Commit 9e723292fe695d633c6a1fc011114efa2d21ba21 adds overwriting deallocated texels; this color does appear for some animation frames, showing that the problem is indeed that meshes are outliving tiles.
It's also possible to trigger this bug by toggling the transparency option (which currently causes all meshes to be rebuilt).
> Behaviors should in general be able to “occupy” certain regions of space and influence what happens in them. This is now implemented; the "attachment" field stores a bounding box....
Partial proof-of-concept serialization support is pushed. Still to do: * Hook up deserialized `URef`s to the `Universe`, and handle them being temporarily not ready during deserialization * Serialize all data...
Commit f570656ad93f9f9b10f5c52156955e1b319ad293 adds load (but not save) within `all-is-cubes-port`. Saving is tricky in this context because `all-is-cubes-port` has the idea of exporting an `ExportSet` of `URef`s, but serialization wants a...
Commit 1b7dfdb394f625b45b134433e905fc3302e97fdd solves the above problem using a new type `PartialUniverse`. Commit 7c13ef89230fb4e85f62339189ef58faad7da5b3 adds hooking up deserialized `URef`s. Remaining work: * Serialize all data fields and types * Compress `Space`...
Commit 219f4216ae49c4e9e126832dc4e344ce4a760b6e adds compression.
On a quick scan, the pieces that are still not serialized are: * `Behavior`s (this will require some kind of extensible registry, or a rethink) * `BlockAttributes::tick_action` (which has lots...
As of commit f603e121d78683023fc81c41db4adc22abb852ef, behaviors are theoretically serializable. However, none of the _specific_ behaviors currently existant are serializable, so there isn't much test coverage. We will need an extension-registry mechanism...