Cutaway panels in GIMP

From PioneerWiki
Revision as of 21:54, 14 March 2013 by Mikehgentry (talk | contribs)
Jump to: navigation, search

The outline

Draw your outline in another program - GIMP isn't really suited to this. LibreCAD is pretty good, Inkscape would also work. You're going to use it for selections, so make sure all the lines meet up. Leave a border - you can trim it off later if you don't want to include it in the final texture.


Cutaway.panels.cad.png


Import the file into GIMP. Duplicate the layer, and erase any stray lines that shouldn't be visible (useful to keep an intact backup, so you can still select the full shape of any component easily).

Once done, if you have a black or white background, turn it transparent with 'Colours' -> 'Colour to alpha'. You might want to create a blank black or white layer to put behind your outline as an editing aid to make the lines stand out.

Defining paths

Use 'Fuzzy select' (Shift + left click to add to selection) to select a group of components that you imagine should be of the same height.


Cutaway.panels.paths.png


In the 'Paths' dialogue, select 'Selection to Path'. Repeat, until you have a path for each height group.


Drawing shadows

First, set the parameters for the 'Airbrush' tool so it looks like a shadow, something like black at 60 - 80% opacity, with a round brush set at double the size you really want. Create and activate a new transparent layer. Select a group's path, and choose 'Path to Selection'. Select a path for a higher up group, and choose 'Paint along the path' -> 'Stroke with a paint tool' in the 'Layers' dialogue. Choose 'Airbrush' and hit 'Stroke'.

As you can see, you've projected a shadow from one height group onto another. By going through each combination that needs to project a shadow, and using different opacities and widths, you can create a reasonable illusion of depth fairly quickly and precisely.

Cutaway.panels.shadows.png