Restoring a scene.
Just when I begin to fall in love with Daz it does something like CTD when I select gemetry editor> select> edges.
Wham it's gone, tough luck ... but saving again and again can get tired.
In the middle of this I realized there's a Daz feature that lots of us complain about.
You know the one where Daz takes ten minutes to release all the stuff in ram when you close a scene?
So does that just magically go away instantanously with a crash?
Or it still there? And instead of Crash Reports wouldn't it be nice if the crash module went in and immediately started saving the crashed scene?
The scene didn't crash, an operation couldn't be completed.
---
Actually that might not be too hard to program.
The program is (in 2020 one would assume) modular
There's already an exception crash handler that cheerfully annouces "I crashed"
why not add the code to go and get the daz assets in ram?
Comments
Yes, I like one program I've got which will say that it closed unexpectedly, would I like to continue editing the file I was working on, nothing lost!
My 3d gaming program ESO can pick right up after a CTD.
What does that entail?
Okay, I can be running my fully rigged Character and a companion and a pet and if a magic user two different familiars.
Now the last three are vanilla in that they look the same for everyone.
Now for the companion character the system has to keep track of 7 pieces of armor and one weapon and what they look like. It also has to keep track of 3 pieces of Jewelry (but they don't have a physical presense so not texture).
For the character the system keeps track of the armor and jewelry and up to four weapons what they look like, how worn or damaged they are.
Has to keep track of the scene around the character and any changes right up to the time of the crash.
Oh, and did I mention the 200 space character inventory? Think of it as the content library.
And of course there's constant comunication between my computer and the server ... usually at very high latency via satelite.
Obviously this system just keeps a table of idCodes for all items and updates that regularly.
Doesn't seem like so complex to have the same thing in Daz. All the recovery program has to "rescue" is one table with a 1000 8bit codes ... less then a second?
---
Daz doesn't have to rescue all the shaping stuff that isn't used... just saving the code for the character would key that data.
---
hmm, and this quality render at 4kx2k in real time.
---
And if I crash the scene is restored except for other people who obviously have moved while I'm off line.
An 8 bit code would allow for only 256 entries. A game engine is doing some very differnt things from an application like Daz Studio, and would still depend on having the correct add-ons (mods) installed to make such a recovery if you were not using default items.
It's not a question of what either program is doing.
In fact most of the time Daz isn't doing a lot unless I'm rendering.
When I'm not rendering, I'm modifing "one" piece of data at a time.
---
Everytime you do a save or load a scene ... daz accesses the duf file to find out what objects are in the scene.
What takes time is not reading the duf it's the execution of loading the coded entries in the duf file.
I may take a while for a computer to rotate a scene but I'm pretty certain it's not rotating each item
but rather a pointer at the group named 'scene'.
---
when I open an older duf and start working on changing that scene
all the program needs to do is create a "changesTooDuf" log ... as something is changed (like the log file)
Program crash, instead of a crash report that one file is saved.
Open a scene (any scene) opening sequence checks for a "save extra data file"
if there is one than it compares the two and updates the items that have changed.
Would this be possible ... look at all the data in a logfile every thing that is recorded
error checking on files etc.
---
If the log file tracked the changes in a scene then opening a crashed scene
would again have the change list available.
---
======
the game file that ESO picks up and restores a scene with is constantly updated.
When I change an outfit... it's updated, when I change a weapon, when the character moves.
And this is being done across the net (and in my case with a crappy connection).
But it is picking frrom a limited list, it doesn't have the open-ended content list that Daz Studio has, nor do the items have the individual configurations variables that Daz Studio content has. The idea of a metafile is not new - .max works that way, I believe, but even there it isn't the anti-crash panacea you hope for.