06-17-2008 21:12
I didn't see this in search, so here's a quick building tip I find particularly handy for mirroring sculpties along a desired axis or axes in bulk:



* Along the X-axis:
- convert -channel Red -negate -flop <source> <destination>

* Along the Y-axis:
- convert -channel Green -negate -flop <source> <destination>

* Along the Z-axis:
- convert -channel Blue -negate -flop <source> <destination>

* Along the X- and Y-axes:
- convert -channel Red,Green -negate <source> <destination>

* Along the Y- and Z-axes:
- convert -channel Green,Blue -negate <source> <destination>

* Along the X- and Z-axes:
- convert -channel Red,Blue -negate <source> <destination>

* Along all axes:
- convert -channel Red,Green,Blue -negate -flop <source> <destination>


Example:
convert -channel Blue -negate -flop rook_source.png rook_dest.png



This is a command-line operation for ImageMagick:
http://www.imagemagick.org/script/binary-releases.php

... and works in Cygwin for Windows, Terminal.app for OSX, and your favorite terminal for Linux/BSD.



If you're not comfortable with these options, the same effect can be emulated in Photoshop or The GIMP by flipping your image horizontally and inverting the Red (X), Green (Y), or Blue (Z) channels for the desired effect.

These operations may be combined, but you must flip the image horizontally each time you use an axis of rotation. (that is, once for X, Y, or Z, twice (no change) for XY, XZ, and YZ, and three times (once) for all three axes)



Anyway, I figured that'd be a handy little tip and timesaver. :D

PS: Support the JIRA thread for mirroring sculpties in the viewer:
https://jira.secondlife.com/browse/VWR-6682
_____________________
---