Rotation of mars textures
Posted: 22.12.2002, 23:57
Hello:
In other posts it has already been discussed that different Mars textures are out there with different assumptions about where the 0 meridian is located (either the middle of the bitmap, or the edge of the bitmap.)
This is wreaking havoc for me with the hi-res Mars textures, in particular. Even after I rotated my bump map 180 degrees to follow the same convention as my surface texture map, the resulting maps were mis-aligned by a slight amount both vertically and horizontally. And I am having a devil of a time getting the specular map aligned, too.
I would like to edit these files to "rotate" the meridians on all of my mars textures to the same place. (To be clear, I don't mean "rotate" clockwise or counter-clockwise, but rotate left-to-right, with wraparound.) However, I have found this to be very difficult to accomplish precisely in Photoshop Elements.
I am particular ignorant about .dds files containing MIP maps, since when I open these I am presented with multiple copies of the same image, decreasing progressively in size from left to right. Would I need to rotate/shift each sub-image?
Does anyone know of a macro or an easy automated way of rotating an image left-to-right by 180 degrees? For example, if an image looked like this before the rotation:
ABCDEFGH
It would look like this after the rotation:
EFGHABCD
I would actually love to find a command-line tool that would do this, so I don't even have to mess with Photoshop. I don't have enough memory to open 8k or 16K .dds files in Photoshop, so the command-line tools that don't pull the whole image into memory at once would be ideal for this. But I have not found any tools that provide this particular operation.
Thanks for any advice
Tim Crews
In other posts it has already been discussed that different Mars textures are out there with different assumptions about where the 0 meridian is located (either the middle of the bitmap, or the edge of the bitmap.)
This is wreaking havoc for me with the hi-res Mars textures, in particular. Even after I rotated my bump map 180 degrees to follow the same convention as my surface texture map, the resulting maps were mis-aligned by a slight amount both vertically and horizontally. And I am having a devil of a time getting the specular map aligned, too.
I would like to edit these files to "rotate" the meridians on all of my mars textures to the same place. (To be clear, I don't mean "rotate" clockwise or counter-clockwise, but rotate left-to-right, with wraparound.) However, I have found this to be very difficult to accomplish precisely in Photoshop Elements.
I am particular ignorant about .dds files containing MIP maps, since when I open these I am presented with multiple copies of the same image, decreasing progressively in size from left to right. Would I need to rotate/shift each sub-image?
Does anyone know of a macro or an easy automated way of rotating an image left-to-right by 180 degrees? For example, if an image looked like this before the rotation:
ABCDEFGH
It would look like this after the rotation:
EFGHABCD
I would actually love to find a command-line tool that would do this, so I don't even have to mess with Photoshop. I don't have enough memory to open 8k or 16K .dds files in Photoshop, so the command-line tools that don't pull the whole image into memory at once would be ideal for this. But I have not found any tools that provide this particular operation.
Thanks for any advice
Tim Crews