Forum: Poser - OFFICIAL


Subject: Multiple "center of mass"

shuy opened this issue on Jun 27, 2008 · 29 posts


shuy posted Fri, 27 June 2008 at 2:30 PM

First time I must ask for help. 3 years "search" button was sufficient.
I think I've seen such topic on this forum, but cannot find it now.

My figure has 3 center of mass. I do not really care about it, but it is my first self made character and I'm little bit nervous that I did sth wrong.

Do you why it happend? I want avoid misstake in future.
Do you know if I can delete it from cr2 file?

Thanks.


ockham posted Fri, 27 June 2008 at 2:33 PM

Yes, you can delete the extra Centers from the CR2 file.

Poser 7 sometimes creates unnecessary Centers in a PZ3 with
multiple figures.  I don't know why, but it happens often in my scenes.

My python page
My ShareCG freebies


lkendall posted Fri, 27 June 2008 at 5:01 PM

6/27/08

Could someone explain exactly to what the center of mass refers (what is it)? What does it do? Can it be used for anything?

Thanks,

LMK

Probably edited for spelling, grammer, punctuation, or typos.


ockham posted Fri, 27 June 2008 at 5:04 PM

The center of mass was supposed to be a tool similar to "body handles"
that you could use in balancing a figure.  When you turn on the Auto Balance
choice, the figure supposedly will move toward a more balanced and realistic
situation, less likely to fall down.   I've tried it a few times and found it didn't
make any meaningful difference.

My python page
My ShareCG freebies


shuy posted Fri, 27 June 2008 at 5:20 PM

You must make it visible in hierarchy editor first. Later you will find it in props only. I do not know why it is impossible to select using mouse on main posing window..


JHoagland posted Fri, 27 June 2008 at 6:10 PM

I was just about to post a question similar to this. :)

Like Ockham mentioned in his first post, the CenterOfMass props get created for every figure in the scene, and it seems like they get re-created every time you save the scene.
I have some scene files with 4 or 5 CenterOfMass props for every figure: the human figure, the dress, the shoes, etc.

Why in the world do I even need 1 CenterOfMass? And why isn't Poser smart enough to see that the figure already has this prop, so there's no need to add another one... or a third one or a fourth one...

Thanks for the Hierarchy Editor tip- I'll see if I can delete them that way.


VanishingPoint... Advanced 3D Modeling Solutions


lesbentley posted Fri, 27 June 2008 at 6:42 PM

Normally Poser 6 (and above) puts two props in every character you load into a scene, "CenterOfMass", and "GoalCenterOfMass" (at least that's how it's supposed to work). The both of them occur in three places in the cr2 (like any other prop), the declaration section, the definition section, and the figure section. It does no harm to text edit the cr2 to delete all of them, but you should delete all trace of both of them, leaving stray parts behind, or deleting one prop without deleting the other, could cause problems. CR2Builder is a good tool for getting rid of them, but...

...As soon as you load the figure it will put the two props back in there again.

In P6, I have never come across more than one instance of the pair of props in a cr2 that only contained one figure. Perhaps it's a P7 only bug?

These props are a damned pain, it might have made sense to add them to the figure when and if the "Auto Balance" switch was activated (which in my case is never), but to put them in there by default, is the Poser equivalent of spam.


lesbentley posted Fri, 27 June 2008 at 6:58 PM

Oh yes, the Hierarchy Editor, I'm so used to keeping my text editor open, and popping things into that, that I tend to forget about the Hierachy Editor. :blushing:


JHoagland posted Fri, 27 June 2008 at 11:28 PM

Just to let everyone know, deleting the CenterOfMass prop using the Hierarchy Editor is a bad idea.

I opened a scene file where the clothing figures have multiple CenterOfMass props: the dress has 4 of these props, each of the two shoes has 3 props each, the human figure has 3 props, and so on.
I have the feeling the props are re-created every time the scene file is opened and saved.
(As an aside, why do shoes and other conforming clothing even need 4 CenterOfMass props attached to them?)

I opened the Hierarchy Editor, selected a CenterOfMass prop and hit the Delete key.
Poser gave me the usual "Are you sure you want to delete this figure?" message. I clicked OK, then Poser asked again. I clicked OK again and Poser removed the figure from the scene.

Then, the mouse pointer disappeared completely. The mouse still moved the pointer, but the pointer wouldn't appear anywhere over Poser.
I managed to go to File > Revert, but when I tried to click the Revert button, nothing happened. I couldn't even move to the Cancel button.
I had to force-quit Poser using the Task Manager and restart it.


VanishingPoint... Advanced 3D Modeling Solutions


Cage posted Sat, 28 June 2008 at 12:49 AM

This is something that drives me nutso.  I, too, have files running around with half a dozen superfluous centers of mass per figure.  I mean, hello?  Bug city.  Harumph.  I don't suppose we can expect another service pack for Poser 7 at this point, can we? 

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


lesbentley posted Sat, 28 June 2008 at 12:08 PM

I did an experiment in P6. I created a scene with 6 figures, 3 characters, and 3 conformed figures. Saved it then reverted, then saved a gain, then a normally reload.

I opend the pz3 in Cr2Builder. The first figure had one pair of props. All the other figures had two pairs of props. 

Then I restarted Poser, opened the scene then saved again. Same result as before, the first figure had one pair of props, all the others had two pairs. Saved and reloaded again. Still the same result. It seems that  for me in P6 the first figure loaded always has the correct one pair of props, and that all other figures always have two pairs of props.

My conclusion after careful logical scientific research is that:

Poser mon im don't work by logic mon, im be possed by debbles mon, im work by voodoo mon. :ohmy:

Will you all please contact you local coordinator for the "Campaign to Ban the CenterOfMass". We are planning rallies for this coming Sunday in all major cities. Please attend, and remember we want this to  be a peaceful demonstration, Victoria's please leave your swords at home!


Khai posted Sat, 28 June 2008 at 12:27 PM

Quote - Harumph.  I don't suppose we can expect another service pack for Poser 7 at this point, can we? 

Service pack 3 has been hinted at several times by ppl connected to CP.


LostinSpaceman posted Sat, 28 June 2008 at 1:38 PM

While these extraneous Props are annoying. They don't harm anything in your CR2. Here's how I delete the extra ones.

Click the Selection Arrow on your viewing Window. Go to Props and select the highest numbered extra CenterOfMass or GoalCenterOfMass prop. Hit the Delete Key. When the popup comes up asking to delete the "Figure" hit Cancel. A Second Popup will come up asking if you want to delete the "Object". Click OK. Extra Prop is now gone. Continue doing this until all extra props are gone. When you get to the one that is not deletable you'll only get the "Figure" deletion Popup. Hit Cancel! You're done.


shuy posted Sat, 28 June 2008 at 4:02 PM

Quote - Click the Selection Arrow on your viewing Window. Go to Props and select the highest numbered extra CenterOfMass or GoalCenterOfMass prop. Hit the Delete Key. When the popup comes up asking to delete the "Figure" hit Cancel. A Second Popup will come up asking if you want to delete the "Object". Click OK. Extra Prop is now gone. Continue doing this until all extra props are gone. When you get to the one that is not deletable you'll only get the "Figure" deletion Popup. Hit Cancel! You're done.

This is answer for my questions! Stupid me - most obvious solution is the best solution. I did not ask clear - I wanted to know WHICH center should I delete. Thanks for answers and interesting.
BTW does somebody use mass center option in his/her scenes? I did not noticed tutorial.

I never use it and do not really care how many centers or how many masses my figures have, but in the future I'm going to post some freebies or maybe place something on the marketplace. I do not want offer bugged figure, because bugs or misstakes are usually most interesting things for users ;)


markschum posted Sat, 28 June 2008 at 4:22 PM

I have always assumed that the centre of mass is for the autobalance feature that no one seems to use .


shuy posted Sat, 28 June 2008 at 4:40 PM

Quote - I have always assumed that the centre of mass is for the autobalance feature that no one seems to use .

I know but only possibilty for using it is human walking againd the wing. Have you any other idea (sample) why this irritating, bugged tool is still avaliable in Poser?
I thought about human supported against wall or table but it is easier to transverse hip (when IK legs and hand are on) then finding where center of mass should be placed.


JHoagland posted Sun, 29 June 2008 at 8:51 PM

I followed LostInSpaceman's instructions and things got screwed up.

His instructions are correct: I selected the CenterOfMass prop, hit the delete key, cancelled deleting the figure, and clicked OK to delete the prop.
This process worked fine and I deleted all the extra props.

I then saved the scene file.

I then clicked on my human figure's arm to pose it and Poser said I selected a ball prop. I could move the arm with the move tool, but the Parameters Dials palette still said "ball_1".

I opened the Pose library, selected a pose, and applied it to the human figure. The figure posed, but the clothing came off- the first time this has ever happened (so it wasn't an un-conforming issue).
I then tried to select the clothing, but my mouse pointer disappeared. The mouse still worked, but the pointer vanished whenever it moved over the Poser window.

I closed Poser, restarted it, re-opened the scene, and everything worked fine.

So, I would recommend NOT deleting any CenterOfMass props within Poser. Or if you do, make sure to close Poser and re-start it if you want to do any work.


VanishingPoint... Advanced 3D Modeling Solutions


LostinSpaceman posted Sun, 29 June 2008 at 9:52 PM

Sorry I neglected to add that deleting CenterOfMass props does tend to do screwy things to memory. As I said though, deletion really isn't neccesary unless as the OP stated, you're creating something for redistribution as a freebie or a product. Poser's weird memory handling doesn't want to let go of these props even after they've been deleted.


BastBlack posted Mon, 30 June 2008 at 8:48 PM

Yeah, deleting CenterOfMass is a bad idea.

I always wondered what those pestsy things were about.

Some content (not mentioning any names) loads into the scene with 4 CenterOfMasses by default. OO!


LostinSpaceman posted Mon, 30 June 2008 at 9:02 PM

Quote - Yeah, deleting CenterOfMass is a bad idea.

I always wondered what those pestsy things were about.

Some content (not mentioning any names) loads into the scene with 4 CenterOfMasses by default. OO!

Not a bad idea. Just something that has to be done properly, resaved and then reloaded.


BastBlack posted Tue, 01 July 2008 at 12:29 AM

But isn't it strange when a hair prop, from the hair prop library, has 4 CenterOfMasses?
How do non-figures aquire CenterOfMasses? scratches head


LostinSpaceman posted Tue, 01 July 2008 at 12:40 AM

LOL! It's a mystery!


lesbentley posted Fri, 04 July 2008 at 10:27 PM

If you are going to delete the "CenterOfMass" prop, I highly recommend that you also delete the corresponding hidden "GoalCenterOfMass" prop as well. If you do this in a text editor, or use a cr2 editor such as CR2Builder, as long as both are removed, then it's completely safe to do so. But remember that these props occur in three places in the cr2, and you must delete all three parts of the pair of props. As to trying to delete them from within the Poser interface, I don't know, but it sounds risky.

Quote - But isn't it strange when a hair prop, from the hair prop library, has 4 CenterOfMasses?
How do non-figures aquire CenterOfMasses? scratches head

Are you sure they are props? Some things in the props folders are actually figures, even though they are filed under props, and have a pp2 (or ppz) file extension.


BastBlack posted Sat, 05 July 2008 at 2:54 PM

Quote -
Are you sure they are props? Some things in the props folders are actually figures, even though they are filed under props, and have a pp2 (or ppz) file extension.

I wonder about that. some P6 clothes are in the props folder but they act like figures. How it that possible, is the extension meaningless?


nruddock posted Sat, 05 July 2008 at 5:26 PM

Quote - I wonder about that. some P6 clothes are in the props folder but they act like figures. How it that possible, is the extension meaningless?

The extension only determines what files show up in each section.
It has no bearing on the content of the file, Poser is more or less fine with processing anything from any file.

The only special processing is for HR2 files (remove current parented hair prop), HD2 files (ask which hand you want to apply to) and possibly PZ2 files (can't be used for figures IIRC).


LostinSpaceman posted Sat, 05 July 2008 at 7:26 PM

Quote - If you are going to delete the "CenterOfMass" prop, I highly recommend that you also delete the corresponding hidden "GoalCenterOfMass" prop as well. If you do this in a text editor, or use a cr2 editor such as CR2Builder, as long as both are removed, then it's completely safe to do so. But remember that these props occur in three places in the cr2, and you must delete all three parts of the pair of props. As to trying to delete them from within the Poser interface, I don't know, but it sounds risky.

I've been deleting those CenterOfMass props the same way for years now with no ill effects. They started cropping up in Poser 6 and I started deleting them as soon as I noticed multiples. I've never had any problems. Period.


Tguyus posted Thu, 31 July 2008 at 1:41 PM

This won't help with scenes you want to load over and over, but my solution for my base figures is the same one suggested by Ockham near the top of this thread:  open the CR2 for any new version of a figure I create in a text editor and manually delete all references to --and prop info groups related to-- "control" props.  This way, when I load a character from my figure library, only a single set of CenterOfMass props is loaded and I can navigate the hierarchy without all the superfluous prop clutter.  Also, I tend now to do less saving of scenes and more saving of poses which can then be applied to clean figures and props when I want to generate a scene for rendering.  Saves disk space too since my PZ3s tend to be very large.


ockham posted Thu, 31 July 2008 at 2:02 PM

Supposedly this bug was fixed in SR3.  I haven't been able to check this,
because SR3 was overstressing my CPU and I had to de-install it.

My python page
My ShareCG freebies


Tguyus posted Thu, 31 July 2008 at 2:08 PM

Hey Ockham... long time no see!

I haven't installed SR3 either, largely because I don't use P7 at all anymore.  I just got tired of the lousy cloth room performance.  (hmmm... wonder if SR3 was supposed to fix that too?)

I've since discovered Vue 6 Infinite for renders, so P6 works just fine for setting up scenes to be rendered in V6I.  Plus, all those great scripts you've created work great in P6.

cheers...