vHexMagnet v1.34
What it does

Creates a new image containing a custom grid designed to aid in UVW map alignment. Sizes available are standard sizes for game textures. Note: the width of the grid lines is always exactly 1 pixel, so you can assess your texture density easily.

Examples

Getting Started

Run the script from Photoshop's File/Scripts menu. You can also set up a keyboard shortcut for the script through the Edit/Keyboard Shortcuts... menu.

Options

Style
Chooses the technique used for creating the hexagons. For more information on this see below.

Hexagon Width
This is the width you wish for the hexagons to be. The smallest is 4px, the largest 128px. You only need to set the width of the hexagon as the script will calculate the height from this value.

Image Size
This is the size of the output image - you can change the width and height seperately for odd sized textures. The valid range of sizes is from 64px up to 2048px.

Tile Vertically
This sets whether the hexagons at the top of the image, and those at the bottom will match when the image is offset or tiled. Checking this means the hexagons will no longer be "true" hexagons, as they need to be stretched vertically in order to tile across the borders in both dimensions.

Hex Count/Progress
The Hex Count simply shows the final number of hexagons that are left for the script to create. The number will alter basedon your settings, and when the script is run the number will count down - when the number reaches 0 the image is complete. The progress bar simply shows how far along the hex drawing process is.

Note: The script can get very slow with higher numbers of hexagons, even on fast machines.

Hexagon Styles

Primary Color
All the hexagons will be coloured either primary colours (Red, Green, Blue), or secondary colours (Cyan, Magenta, Yellow).

Shaded Color
The hexagons may be any random color or shade.

Greyscale
The hexagons may be any random shade of grey.

Mono
The hexagons will either be Black or White, with no intermediate shades.

From Image
The hexagons will draw their colours from the currently selected image. If no image is selected and the script is run with this option it will either exit without doing anything or give an error.

Note: For reasons I won't go into here, using the From Image style will mean the resulting image will not tile correctly chromatically, even if the original image does. This is something that may be addressed in future versions.

Grid
Simply draws a hexagonal grid in black on a white background.

 

 

 
 
 

 

vTools © James A. Taylor 2007