Forum: Poser - OFFICIAL


Subject: Mirroring an object: a scripting problem.

AntoniaTiger opened this issue on Apr 24, 2005 ยท 6 posts


AntoniaTiger posted Sun, 24 April 2005 at 2:37 PM

Many props can be fairly easily mirrored on an axis to make an opposite-handed staircase. I did this around a year ago with a stairs prop. The original, looking from the foot of the stair, had the banister on the left and the wall on the right. For the scene I was working on, putting the banister on the right made the background look better.

In this case it was a fairly simple change of sign on the x-coordinates in the .obj file of the prop.

Since the x-coordinate is the first, the change could be done in a text editor using the "v " at the start of the line as a key.

You'd have to do the same to morph deltas. Not too difficult on a prop.

After seeing some asymmetric clothing items, I wondered if comething similar could be done for figures. PhilC's Classical Wrap is an example.

There are a couple of extra complications.

1: You're going to have to change group names. lshldr for rhldr and so on. So what works for clothes designed for one figure might not work for clothes used with another figure. The group names seem similar for all figures, but I expect there are exceptions.

2: UVmapping. Well, unless there's text or the like visible, I'm not sure that it's worth bothering with changing it.

3: Non-centred items. If the boning is adjusted to compensate for an off-centre mesh, things are going to go badly wrong.

So, does anyone have any thoughts? Would you find a use for a utility which did a left/right swap?

Message edited on: 04/24/2005 14:43