odf opened this issue on Aug 20, 2009 · 49 posts
odf posted Thu, 20 August 2009 at 9:19 AM
So, the DAZ idea sounds really good at first sight: use 'readScript' instructions in each actor to include the bits that changed. So the base CR2 stays the same all the time and only the included files change. Excellent, no? Ooh, wait a minute...
Again, two problems, right here at this stage:
2) We need an include file - several actually - for each actor. That's a large number of files. And it gets worse because for each morph set, we need another bunch of files for each actor which the included files can include. And then we need an installer to rewrite the level 1 include files in order to include all the level 2 include files.
Now wait a minute. The whole reason for us to invent the 'readScript' scheme was to avoid rewriting Poser files. But now we realize we have made everything immensely complicated and still have to rewrite Poser files. So why not rewrite the original CR2 and be done with it?
So here comes my wicked plan - and please tell me if I'm completely crazy: I propose to write a program - probably a Python script that can run inside or outside of Poser - that reads a CR2 figure file and an injection PZ2 and produces a new CR2 file and a new PZ2. The new CR2 will have the combined channel grouping from the original CR2 and the original PZ2. It will also include all the channels from the original CR2 plus enough empty morph channels to inject all the morphs from the original PZ2.
Now the twist: since some of the channels the original PZ2 wants to inject into might collide with ones already used in the original CR2, we rename those channels. That's reason one why we also have to create a new PZ2. Reason two is that we have to remove all channel grouping from the PZ2 so that it doesn't destroy the nice grouping that we've created in the output CR2.
The nice thing about this plan is that people can simply continue to work with figures and injection poses like they have before until they run into trouble with conflicting morph sets. Only then do they have to use my CR2/PZ2 rewriting script.
So far so good. Now tell me how I'm wrong. :laugh:
-- I'm not mad at you, just Westphalian.