Sat, Nov 30, 12:29 AM CST

Renderosity Forums / Poser Technical



Welcome to the Poser Technical Forum

Forum Moderators: Staff

Poser Technical F.A.Q (Last Updated: 2024 Nov 13 12:50 am)

Welcome to the Poser Technical Forum.

Where computer nerds can Pull out their slide rules and not get laughed at. Pocket protectors are not required. ;-)

This is the place you come to ask questions and share new ideas about using the internal file structure of Poser to push the program past it's normal limits.

New users are encouraged to read the FAQ sections here and on the Poser forum before asking questions.



Checkout the Renderosity MarketPlace - Your source for digital art content!



Subject: How to get rid of unused morhps


kyraia ( ) posted Mon, 13 June 2005 at 7:29 AM · edited Fri, 08 November 2024 at 8:22 PM

Is there an (easy) way to remove unused morphs (initValue 0) and their belonging data out of a cr2-file?
I tried it myself and wrote a PERL script, but the result isn't a valid Poser-6-file any more. That's at least, what Poser says.
I could continue poking around in these files but maybe a solution already exists.

Message edited on: 06/13/2005 07:31


Ken _Gilliland ( ) posted Thu, 16 June 2005 at 12:32 PM · edited Thu, 16 June 2005 at 12:33 PM

The easiest way I know is to bring the .cr2 into a text editor and hunt down the offending morph such as:

targetGeom OffendingMorph
{
name OffendingMorphk
initValue 0
hidden 0
forceLimits 4
min -1
.....
deltas
{
d 0 0.0033799 0.0003319979 -0.001543805
d 1 0.003927298 0.002131999 -0.001614101
.....
}

and delete that section

Message edited on: 06/16/2005 12:33

Songbird ReMix


kyraia ( ) posted Sat, 18 June 2005 at 11:51 PM

Thank you, KenG.

I've tried, but with a cr2-file of 50 MByte this is very tiresome :-(
I also tried Morph Manager, but after removing many morphs the file got even bigger rather than smaller.
Is ist possible to do this with Python? Maybe it would be interesting to learn it.


mateo_sancarlos ( ) posted Thu, 23 June 2005 at 4:56 PM

It's also possible to delete them in the Hierarchy Editor. I don't know why MM would make the file size increase, unless it's just hiding the morphs like that free Daz app does.


nruddock ( ) posted Thu, 23 June 2005 at 5:52 PM

I think MM causes the file size to increase because it replaces tabs with spaces and / or writes the file with CR/LF at the end of each line where the original may have had only CR or LF.

CR = carriage return (0x0D)
LF = line feed (0x0A)


mateo_sancarlos ( ) posted Fri, 24 June 2005 at 1:46 PM

Yeah, that might do it. In OS X we have an app that will delete those things, called BBEdit. It's the "zap gremlins" command, BION.


Smoker1000 ( ) posted Fri, 01 July 2005 at 10:46 AM

FYI for Mateo- removing a morph in the hierarchy table is only a quick fix, it doesn't clear the .CR2. :)


davidhp ( ) posted Tue, 12 July 2005 at 8:13 PM

Get a tool called MorphManager, load up the character however large the file and delete the morphs you don't want from it then save the result (actually a big text file) as a new character. It's out there someplace! However, I haven't used it in ages but I did once make some morphless figures for pose testing and for de-morphing poses. I don't know if it works with the new texture format in P5/P6 but it could handle mutiple figures in a set in the same file.


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.