Optimization: Omit sculpt edits older than oldest remaining add when saving
When a sculpt edit that isn't an add becomes older than the oldest remaining add in the sculpt, it's lost, and only with an undo of the deletion of an older add is there any hope of finding it. And the possibility of that undo goes away when you save and exit the creation. At that point, the fate of the sculpt edits older than the oldest remaining add is sealed. Never again can they affect the shape, colour, or looseness of the sculpt. Never again can they be interacted with in sculpt mode.
But by comparing the disk space usage of two creations, whose only difference is that one contains many permanently lost sculpt edits and the other doesn't, it can be shown that permanently lost sculpt edits still consume disk space.
Unless there are plans to add a tool that could recover sculpt edits lost in that way - for example a chronological list of edits with controls for moving them forwards and backwards through the sculpt's construction history - there's no reason to keep them. They could be omitted when saving the creation to reduce disk space usage.
-
Edits only affect edits earlier than them. So if you have a negative edit with no positive edits earlier than it, it doesn't have any effect. And such edits that don't affect anything could be discarded on-exit to optimise. Is that what you're saying?
Sorry, I have to re-read a few times to figure out what the problem was you were describing XD
-
Yes, that's what I'm saying. To observe the problem, create an element consisting of a simple cube sculpt (Element A). Then remix it, edit the cube sculpt, carve a lot of furrows into its surface with the smear tool, and save it as Element B - you can edit Element B and carve more furrows if its disk usage isn't significantly greater than Element A yet. Then remix Element B, edit the sculpt, clone the original cube edit, delete the original cube edit, and save as Element C. When you compare the disk usages, Element C is still almost as large as Element B instead of being the same as Element A.
-
Ah I understand. Yeah, I guess they could say "when you delete the first positive, auto-delete all instructions up to the next positive" as part of that one action. Then have that auto-delete work with undo/redo.
They could also say, "when starting a new sculpt, ignore all edits made until a positive edit is made."
Please sign in to leave a comment.