Hanz opened this issue on Jun 21, 2003 ยท 21 posts
Hanz posted Sat, 21 June 2003 at 2:39 PM
Hey, Since I can't seem to get DialCleaner to work, I was thinking...It must be possible to make a pythonscript run through your loaded model in Poser, check if the morphdials are set to something other than 0.0000 and delete the morph if that is not the case... Ie. a pythonscript that deletes all morphs not used... I'm sure that must be possible, but can't find the time right now to fiddle with such a script myself. SO: If anybody out there made such a script, I would be very interested... Cheers, -Hanz
ockham posted Sat, 21 June 2003 at 2:47 PM
Attached Link: http://ockhamsbungalow.com/Python/AltDialCleaner.zip
If you mean hiding the dial in the loaded model, I have a script that does that. Some people say that it works when Daz Dialcleaner doesn't work. But it does NOT delete the morph from the CR2. Direct link:Hanz posted Sat, 21 June 2003 at 2:57 PM
Thanks Ockham, ...I don't think (think, not know :) ) that a script that merely hides the dial is what I need. In order to reduce the filesize of the CR2, I would need something that actually deletes the morph from the modelfile and resaves the CR2...? Would that be possible? Anyways, thanks ockham, I'll give your script a go, you are most generous! -Hanz
ockham posted Sat, 21 June 2003 at 2:59 PM
I tried actual deletion and rewriting at one time, but couldn't make it work. Not sure why. Maybe I'll try it again......
Hanz posted Sat, 21 June 2003 at 3:06 PM
Ok, Seems your link doesn't work... How about a script that just deletes, and then you manually resave the CR2 afterwards? That sure beats manually deleting all the unused morphs :) Plus, why is it that DialCleaner doesn't work?! I thought that the sole purpose of the program was to do just what I talk about here... -Hanz
ockham posted Sat, 21 June 2003 at 3:33 PM
Attached Link: http://ockhamsbungalow.com/Python/AltDialCleaners.zip
OOpssss. I mispeled the llinkk. :) As for just deleting, that's impossible for a peculiar reason. Poser does allow Python to delete -some- parameter dials, but morph dials seem to be special. They can't be deleted internally. And I don't know why the Daz cleaner doesn't work sometimes.Hanz posted Sat, 21 June 2003 at 3:40 PM
Thanks ockham, Why, that is perculiar, not being able to script morphdialdeletion... If only the DialCleaner would work! It takes ages saving and reloading 200+ Mb CR2's. Anyways, ockham, thanks for the script. -Hanz
Connatic posted Sat, 21 June 2003 at 6:20 PM
DAZ has an INJ morph tool for V3 that does this very well. I have never tried it on any other INJ-morph objects. It strips a V3 file from >90MB down to ~10MB. I use it for every V3 character I create.
Migal posted Sat, 21 June 2003 at 8:29 PM
Maybe I'm wrong, but I thought this is what Injection Pose Builder did.
Connatic posted Sat, 21 June 2003 at 8:55 PM
Sorry, I was at a loss for the correct name of the app. That is what I am referring to. It works as stated.
Migal posted Sat, 21 June 2003 at 9:34 PM
Sorry if it sounded like I was correcting. I thought that's what IPB did, but really wasn't certain.
Connatic posted Sat, 21 June 2003 at 9:49 PM
No offense taken, Migal. I can never recall the correct name for it. It works well on V3. I need to try it on a few of the other items I have that use Injection Poses.
Migal posted Sat, 21 June 2003 at 10:49 PM
Rob (the author) told me it isn't built to work on anything except V3, yet. It will be set up to work on M3, when he's available. I asked him about supporting other injectible products, but he's a bit busy these days. Okham, have you ever compiled Python into a Windows executable? That's what IPB looks like to me.
Hanz posted Sun, 22 June 2003 at 2:43 AM
=> Migal & Connatic, Does the Injection Pose Builder (that you can buy from Platinum Club) strip CR2's of unused morphs? I thought that was the purpose of the DialCleaner utility (Freebie from the Vic3 page at Daz's)...Ah, well, I'll go take a look at the Injection Pose Builder. Thanks for the tip! -Hanz
Migal posted Sun, 22 June 2003 at 3:36 AM
V3 has "empty dial slots." This is where the injections go when you inject morphs and ERC morph control dials into her. When these empty slots aren't injected, they are still there, but they are hidden. When you save a copy of V3 to the character library, Poser unhides all those empty dial slots. That's why you get the "-" dial names all over the place. If you run a saved V3 cr2 through Dial Cleaner, it hides the empty dial slots that should be hidden, the ones that weren't injected at the time of the save. As I understand it, Injection Poser Builder looks at a V3 cr2 and doesn't really care what's hidden and not hidden. It's looking for morph dial settings. You can inject all the dials into V3, make a character morph with those dials, then remove the injections -- IPB will still be able to see those dial settings, because they are still there. They just aren't acting on anything because all the morph data has been removed. So, make your V3 character morph with injected dials. Remove the injected dials. Save the uninjected character to the character library. IPB can look at that cr2, figure out what the dial settings were prior to injection removal and make INJ pose files that inject only the morphs that character needs, at the proper settings you had. Once IPB has made the INJ pose files for you, you can always get your character back by simply injecting her with the INJ pose files you made in IPB. And she'll only contain the required dials/morphs, so she is optimized as far as RAM goes. BTW, you want to remove the injected dials prior to using IPB because it makes IPB faster -- far less data to parse.
Hanz posted Sun, 22 June 2003 at 9:55 AM
=> Migal Ah, I see. Thanks for the info. I just bought IPB from Daz, and will try it on for size... Still a puzzle to me, though, that you can't script removal of unused morphchannels... -Hanz
sakelsey posted Wed, 25 June 2003 at 9:49 PM
I wrote one a while back. It REMOVES them, not just hides. I'm at work now so I'll have to get it to you tomorrow or Friday. Since I hadn't planned on selling it, it's a bit rough in areas, but it works.
Migal posted Thu, 26 June 2003 at 2:02 AM
Sakelsey, A couple questions: Your program, it runs on cr2 or pz3 files, but doesn't effect figures already loaded into memory, correct? When deciding what channels to remove, is it keying on any valueParm or targetGeom with an external name of "-"?
sakelsey posted Thu, 26 June 2003 at 1:28 PM
It works on the figure on the screen. I considered working on files on the drive, but I like to look at the result before saving. I suppose I could have saved the file with a slightly altered name. It works on both valueParm and targetGeom and having a setting equal to zero. I've provided for skipping morphs that might be used to make walks and other movements a bit more realistic, even though they might be currently set to zero.
Hanz posted Thu, 26 June 2003 at 1:36 PM
=> Sakelsey, sounds interesting, that script of yours. I'd very much like you to send it to me so I can have a look-see. It sounds like it's something like this I'm looking for... -Hanz
Migal posted Thu, 26 June 2003 at 3:00 PM
I'd like to see it, too. :-)