Fri, Jan 10, 4:06 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Jan 09 3:46 am)



Subject: Change a joint's rotation order - SCRIPTED! - Any help?


pikesPit ( ) posted Fri, 08 January 2016 at 1:15 PM · edited Fri, 10 January 2025 at 4:01 AM

G'day all,

I hope someone can help me with this rather special problem.

I'm currently working on a weight-mapped figure loosely based on V4's rig, and for specific reasons which would be too long-winded to explain here, I changed the "hip" actor's "rotation order" from the standard "YZX" to "XZY". It works as expected so far - no problems with the nude figure.

However, the problem occurs when I load some items of conforming clothing - especially with skirts and gowns: the skirt's "hip" suddenly bends 90° to the right! (Funnyly though, it works flawless with all the pants I tried hitherto)

For a *quick & dirty" fix I can click "Copy Joint Zones From..." in Poser's "Figure" menu, and the problem is solved. However, that would mean that - besides the basic joint setup - the weight maps are copied into the clothing too, even if I'd prefer to keep the clothing's original joint zones setup.

Some time ago I already wrote a .pz2 file to inject the (different from the original V4) new origins into any piece of clothing, hair, etc., and it works fine. No problem with fitting anything to my figure. Just load, apply "Joint Centres" from the .pz2, conform, done.

EXCEPT for that bloody "hip" "rotation order" thing!

I usually change the "rotation order" for any item with Poser's Joint Editor, in a few seconds. But I also know that others can't, or won't (or don't want to learn) to use the Joint Editor in a million years.

So I'm looking for a simple, one-click solution for those "click-pointers".


THE CHALLENGE IS:

Change the rotation order of the "hip" actor on a figure loaded in Poser - using a simple "click-pose" in the library!


Of course a basic .pz2 file would be best, though I doubt it's as easy as that.

Maybe a Python script? I know a little bit about Python, but certainly not enough to achieve this goal.

  • I KNOW that it's probably easier to change the rotation order from within Poser.
  • But I also KNOW that most of the basic users out there are "reluctant" (to say the least) to use any other Poser features except "load library pose" and "render".

And it's for these "basic users" who never visit any forums, for whom this "one-click" function is intended.

Thank you for your time.

Regards,

Peter


bagginsbill ( ) posted Fri, 08 January 2016 at 1:37 PM · edited Fri, 08 January 2016 at 1:38 PM

Experimenting with the Andy figure, I saved it to my library, changed the hip order from YZX to XYZ, and saved a second copy to my library. Then I compared the two CR2 files using WinDiff.

The change was recorded by moving the entire rotateX xRotate section from after the Z section to before the Y section. So I'm guessing that a PZ2 cannot do this generically since it would require that you actually list, in the PZ2, all the settings of the three rotation sections. That would make it potentially different for each figure. But -- I'm no expert on this stuff. Maybe a pz2 that just listed empty hip joint parameters in the order you want would trigger the change.


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)


EldritchCellar ( ) posted Fri, 08 January 2016 at 1:50 PM · edited Fri, 08 January 2016 at 1:55 PM

Shame LesBentley still doesn't post here... he could probably come up with something. I've changed joint orders before, after the fact, and other than the nag I didn't really have to adjust anything. It was from standard to curve and it wasn't the hip... probably alot more troublesome with the hip. I'm not sure why you are attempting to put your fundamental error (the hips order? That's something you would want to be high on your checklist) onto the end user. Fix it by any means necessary so it's correct out of the box for the user. Or start over. That's what I would do, if at all possible. I hope you don't get bent out of shape for my opinion, it's a valid one. After all, it's not even an original rig in the first place.



W10 Pro, HP Envy X360 Laptop, Intel Core i7-10510U, NVIDIA GeForce MX250, Intel UHD, 16 GB DDR4-2400 SDRAM, 1 TB PCIe NVMe M.2 SSD

Mudbox 2022, Adobe PS CC, Poser Pro 11.3, Blender 2.9, Wings3D 2.2.5


My Freestuff and Gallery at ShareCG




EldritchCellar ( ) posted Fri, 08 January 2016 at 2:09 PM

"Loosely based on v4's rig"? That sounds like a hornet's nest when developing an original figure.



W10 Pro, HP Envy X360 Laptop, Intel Core i7-10510U, NVIDIA GeForce MX250, Intel UHD, 16 GB DDR4-2400 SDRAM, 1 TB PCIe NVMe M.2 SSD

Mudbox 2022, Adobe PS CC, Poser Pro 11.3, Blender 2.9, Wings3D 2.2.5


My Freestuff and Gallery at ShareCG




pikesPit ( ) posted Sat, 09 January 2016 at 1:10 PM

Well, what can I say?

I'm sorry - I should have looked deeper under the hood before posting this!

Though it worked quite well for me for about a month now, I examined various options today and found out that strange things are happening:

  • The hip's End Point is moved to the figure's right (just as some skirts behave, now we know why - they use the end point for orientation)
  • Even if my life depended on it, I can't move the end point - Joint Editor, Setup Room, manually editing the file - all zilch... There must be other, unknown, rig internals affected.

So I'll probably discard the idea for now; sorry for having wasted your time!

Regards,

Peter

P.S.:

@ EldritchCellar,

thank you for your warning about "The Wrath Of DAZ".

Actually, it's another weight mapped version of V4 - that's what I meant by "loosely based..." because of course the rig is my own, but has to fit the V4 geometry.

IF I should decide to share my figure, then it would be in the same way as the "PoserPlace" or "Alphaseed"s versions were shared: "Possession of original V4 mandatory, and no actual mesh data included; just offsets for morphs, and weight maps."

-P-


EldritchCellar ( ) posted Sat, 09 January 2016 at 1:26 PM

Just being an obnoxious Devil's Advocate as usual, PikesPit. As far as changing the end point on the hip? You should be able to just grab the end point with the translate tool (while in set up room) and move into position. Or enter numeric values in the joint editor end point axis fields. If neither of those options are working I'm totally stumped... you mentioned editing the values in the .cr2 to no effect, which in most cases is a brute force tactic. I'm really curious as to why none of these options are working with your figure... Good luck.



W10 Pro, HP Envy X360 Laptop, Intel Core i7-10510U, NVIDIA GeForce MX250, Intel UHD, 16 GB DDR4-2400 SDRAM, 1 TB PCIe NVMe M.2 SSD

Mudbox 2022, Adobe PS CC, Poser Pro 11.3, Blender 2.9, Wings3D 2.2.5


My Freestuff and Gallery at ShareCG




pikesPit ( ) posted Sat, 09 January 2016 at 1:36 PM

EldritchCellar posted at 8:31PM Sat, 09 January 2016 - #4248122

Just being an obnoxious Devil's Advocate as usual, PikesPit. [...]

Ah, no problem with this - better safe than sorry. Thank you!


EldritchCellar posted at 8:31PM Sat, 09 January 2016 - #4248122

[...]As far as changing the end point on the hip? You should be able to just grab the end point with the translate tool (while in set up room) and move into position. Or enter numeric values in the joint editor end point axis fields. [...] editing the values in the .cr2 to no effect, which in most cases is a brute force tactic. [...]

Yes that's indeed the case - none of this works, the end point stays pinned to the right - no idea why.

Regards,

Peter


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.