Sat, Nov 30, 11:16 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 29 7:57 am)



Subject: MorphSqueeze Utility Posted


bushi ( ) posted Fri, 31 March 2000 at 4:43 PM · edited Sat, 30 November 2024 at 11:14 PM

Attached Link: http://www.bushi3d.com

file_124425.JPG

I think Traveler's technique for reducing the size of MT .obj files is a great idea. I built a little utility to take some of the work out it. MorphSqueeze takes the MT .obj, stripes out everything but the 'v' lines and lets you save the result to a new .obj file. I've tried it on a bunch of morphs including some of Trav's and it works great. I'm seeing 40-50% reductions in file sizes. You can get to it from the homepage on my site.


PilotHigh ( ) posted Fri, 31 March 2000 at 5:34 PM

Can I use this utility on a Mac?


f91 ( ) posted Fri, 31 March 2000 at 5:35 PM

Thanks for the cool tool!


Traveler ( ) posted Fri, 31 March 2000 at 5:45 PM

Awsome Bushi! -Trav


Ikyoto ( ) posted Fri, 31 March 2000 at 6:19 PM

Bushi - you are wonderful! The words HOT and DAMN come to mind. What did you make this in? InterDev, VisualInterdev, C++... What??? (between this and the freebie bikini and the fact I got f9's boots to work I feel like dancing around and yelling "I'm the king of the world!!)


bloodsong ( ) posted Fri, 31 March 2000 at 6:39 PM

wohooo!! just what i like, something un-technical i can handle! ;D


Ede ( ) posted Fri, 31 March 2000 at 6:46 PM

morphsqueeze :) funny name for a GREAT tool thanks bushi! btw did anyone think of ways to make poser use less space on the harddisk ? there might be a lot of unnecessary data -Ede


Imaginos ( ) posted Fri, 31 March 2000 at 9:05 PM

Seeing as you are such an awesome programmer would you create a program to add many MT's to a figure at once? Thank You Imaginos


Nance ( ) posted Fri, 31 March 2000 at 10:22 PM

Thanks Bushi, now maybe I can put off adding that next HDD for another month or two. - Imaginos, the last few versions of MorphManager do allow you to move all the morphs in a single body part from one .cr2 to another with a single click.


ARADTech ( ) posted Fri, 31 March 2000 at 10:42 PM

Very nice Bushi, and Ikyoto it looks like another great Delphi app, Long live Delphi ;-)) Chris


Ian Porter ( ) posted Sat, 01 April 2000 at 3:42 AM

Bushi, Thanks, this will save a lot of time with the old text editor. Cheers Ian


LoboUK ( ) posted Sat, 01 April 2000 at 6:41 AM

Bushi Thanks for posting this, this is going to be another one of those must-have apps. Paul


steveshanks ( ) posted Sat, 01 April 2000 at 8:59 AM

Bushi ..you the man..........Steve


bushi ( ) posted Sat, 01 April 2000 at 12:32 PM

Thanks for the feedback and comments everyone. There are a few questions so here goes ... PilotHigh - No, sorry, this is a Windows application. I would like to have these utilities for the MAC too but the compiler I'm using doesn't have one for the MAC. Imaginos - I think that Nance has the right idea here. 'Manager has the tools to do that for you. I think that the updated P4 also has so tools for that too. Ikyoto & ARADTech - Yes it is a Delphi3 application. I'm still on D3 since I haven't seen anything in D4 or D5 that has really pushed me to update it. OK, one problem has been reported to me by e-mail. It appears that running this on WIN2000 can cause it to throw an error message. I think this is the result of the target location I selected for a temp file. If this proves to be true, I'll make some changes to add a .ini file to define the file location. This way folks can change the temp file location if necessary. Did I mention the special programming I included in this utility. If you start the input file name with a specific code, the program will subtly alter the output MT by adding or subtracting a small random value to the last three digits of each of the vertices. This small change will make each MT run through 'Squeeze totally unique. This small change will insure that there are plenty of new MTs for everyone to share. The code to use is 0401.


Imaginos ( ) posted Sat, 01 April 2000 at 1:05 PM

Bushi, Nance, Yes MM4 lets you move from existing figure to another but I am talking about adding MT obj files straight from the file into a figure, say for instance you have suffered from a HD crash and have now reinstalled Poser and dled all of the Traveller MT's you now have to painstakenly add over 100 MT's to the figure one at a time. A utility to let you add many at once would be very useful Imaginos


bushi ( ) posted Sat, 01 April 2000 at 1:48 PM

I see what you're getting at now. Adding them directly to a figure in P4 can't be done at this point since there isn't a SDK available. Adding them to a .cr2 however could be done. The main problem I see just off the top is how to set the group that the MT is meant to change. Let me look at some MT .objs and I'll add more on this after I check it out.


Traveler ( ) posted Sat, 01 April 2000 at 2:27 PM

How about doing them by vert count as thats one constant. For right and left side parts, check to see what side of the Y axis they are on. -Trav


wyrwulf ( ) posted Sat, 01 April 2000 at 2:50 PM

Bushi, this is a great utility. Thank you. I would like to see a .ini file to allow changing the default "open" folder.


bushi ( ) posted Sun, 02 April 2000 at 3:00 AM

Imaginos - After looking at some MT .objs and some .cr2s, I think this can be accomplished. There is one parameter that appears in the .cr2 that I'll have to track down. It's called 'trackingScale' and I'm pretty certain it has to do with how far the MT steps with each increment. I'll have to find out exactly how it's derived though. Trav - That's a good idea! Getting the vertex count shouldn't be hard since the .obj file is specified in the .cr2 file. wyrwulf - It looks like a .ini file is in since the Win2000 problem was as I thought. I'll set it up so the .ini specifies the default folder for the temp file, the default 'open' folder and the default 'save' folder. That should cover all the bases. As to the user interface, do you think it would be better to drag and drop the morphs from an on-screen list, do the adds from a list make in a text editor or take all the morphs in a specified folder? Each one has it's plus and negitive side so give me some ideas.


Traveler ( ) posted Sun, 02 April 2000 at 8:17 AM

I think either drag and drop or everything in a folder would be best. If you go with the darg and drop it would be easy to use, but the folder would be easier in the long run, just set up a folder of morphs you want and then power load them. And if the trackingScale is the same thing as the dial sensitivity it could be set at a defualt number for all of the morphs really.


Imaginos ( ) posted Sun, 02 April 2000 at 3:31 PM

As Traveller said drag and drop is nice but the mass adding is easier in the long run. Can you make it so the dial will have the name of the MT obj added or allow us to name the added MT's after they are added? Imaginos p.s. Thank you for doing this, it will be a great help for everyone


bushi ( ) posted Mon, 03 April 2000 at 1:01 AM

Thanks for your feedback. I was leaning toward the 'everything on a folder' too since this is suppose to add the MTs on a large scale. As to adding a name during the process, I don't know how that would work since there isn't anyway good way to relate the filename to the dial. It could be an abbreviation of the filename but even that has some problems if the filename is long. I could write a .txt file that lists which dial is the result of adding which file. At least that way you could use the list to change the dial name by hand. Do you think having a mass remove as part of this would be a useful feature? Say taking all the MTs off a figure and saving each as a seperate file.


Traveler ( ) posted Mon, 03 April 2000 at 7:22 AM

a mass extractor too? Hell yeah! The naming for that could be bodypart_dialname.obj :)Bushi you rock man!


Imaginos ( ) posted Mon, 03 April 2000 at 3:03 PM

How do you rename a Dial in Poser? I though you had to name it as the MT was added. I echo Traveler, You Rock Man! Imaginos


bushi ( ) posted Mon, 03 April 2000 at 11:27 PM

From what I've seen of this so far the extractor would be easier to build then the mass add. You can rename a dial by double clicking on it. You'll get a pop-up window that lets you do things like set limits and the sensitivity. There is a name parameter you can use to rename the dial.


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.