From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search

2Dimage-3Dimage.txt(file size: 8 KB, MIME type: text/plain)

Warning: This file type may contain malicious code. By executing it, your system may be compromised.

This is a GIMP script for turning small pixel art images into prettier, pseudo-3D images for making StrategyWiki guides look that much better.

Created and uploaded by najzere (talk · contribs) based on instructions by Procyon (talk · contribs).

Set up[edit]

Download this text file and change the extension to ".scm", so the file is named "2Dimage-3Dimage.scm". Add the script to your normal script folder (\share\gimp\2.0\scripts in your GIMP folder by default), or your personal script folder if you have one. Then refresh your scripts in GIMP (FiltersScript-fuRefresh Scripts in GIMP 2.6).

Usage[edit]

This script works on an open image with one layer and an alpha channel (LayerTransparencyAdd Alpha Channel). The image should already have its unwanted parts cropped out to transparency. For the best results, leave at least 2-3 pixels of empty, transparent padding around the image so the feathered border doesn't get cropped. The script can be found in ImageTransform2D to 3D.... After setting the parameters and clicking "OK" in the dialog box, Undo-ing will undo all changes made by the script.

Parameters[edit]

  • Scale: This increases or decreases the size of the image. No interpolation is used, so scaling is only advisable for true pixel art.
  • 3D thickness: This is the pixel width of the 3-dimensional side in total. This means both the dark and light sections combined.
  • Light edge: This is the pixel width of the light section of the 3-dimensional side.
  • Border size: This is the pixel width of the border that goes around the entire image.
  • Border feather: This determines how sharp or blurred the edges of the border are (0 = no feathering).
  • Border color: The border color. Try to pick something that doesn't blend in with any part of the edges of the image.
  • Gradient opacity: A black to white gradient is applied over the face of the image to lend a more 3D look. This sets how much of that gradient will show through. Higher opacity makes the dark side darker and the light side lighter.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current15:08, 15 March 2010 (8 KB)Najzere (talk | contribs)Category:GIMP scripts