]> git.mxchange.org Git - flightgear-website.git/blob - tutorial-gimp-livery-drawing.html
01ec7a6db81a703a8b3eea2bc080f2f4374c7dda
[flightgear-website.git] / tutorial-gimp-livery-drawing.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3 <head>
4         <title>Quix0r&#39;s FlightGear Webpage - Tutorial: How to get paths for livery drawing in GIMP</title>
5         <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
6         <meta http-equiv="content-style-type" content="text/css" />
7         <meta http-equiv="content-script-type" content="text/javascript" />
8         <meta http-equiv="content-language" content="en-US" />
9         <meta http-equiv="imagetoolbar" content="no" />
10         <meta name="resource-type" content="document" />
11         <meta name="distribution" content="global" />
12         <meta name="copyright" content="2013, Roland Haeder, CC-BY-SA 3.0" />
13         <meta name="keywords" content="FlightGear, Flight, Gear, Aircraft, Airplane, Plane, Flight, Sim, Simulator, FlightSimulator, GPL, FG, FGFS, Earth, Free, Opensource, YASim, JSBSim, Help, Support" />
14         <meta name="description" content="Quix0r&#39;s FlightGear Webpage" />
15
16         <link rel="search" type="application/opensearchdescription+xml" title="YaCy Search 'zulu289'" href="http://yacy-websuche.mxchange.org:8090/opensearchdescription.xml" />
17         <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
18 </head>
19
20 <body>
21
22 <center><big><big><strong>Tutorial: How to get paths for livery drawing in GIMP</strong></big></big></center>
23
24 <p>
25         <strong>Problem:</strong>
26 </p>
27
28 <p>
29         Most airplane constructors (for FlightGear, not the real ones!) provide a
30         so-called &quot;paint kit&quot; which provides the designer an already
31         effective way to draw his/her livery (in GIMP, of course). So if you want to
32         draw a livery for your favorite (real or fantasy) airplane, you still
33         encounter these ugly looking white stripes on the borders. They are being
34         added by GIMP in the process of removing the alpha channel from the image
35         (maybe Skyop asked you to do so? ;-) ). Now you need to get rid of them,
36         because they make your model (this also applies on building, towers, hangars
37         and all other &quot;ground-level&quot; constructions with textures) look
38         unprofessional and not good.
39 </p>
40
41 <p>
42         <strong>Steps to do:</strong>
43 </p>
44
45 <p>
46         I take skyop&#39;s CRJ1000 paintkit from git as an example. It is called
47         <strong>CRJ1000-paintkit.xcf</strong>. I do this tutorial slowy, so for
48         experienced GTK/GIMP/Linux/Computer-in-general users it might be a bit
49         boring. Just head on faster if you feel you already know that step.
50 </p>
51
52 <p>
53         First, startup GIMP. On my desktop it looks like in the picture below.<br />
54         <a href="tutorials/img/livery-paths/001.png" target="_blank"><img
55          src="tutorials/img/livery-paths/001-thumb.png" alt="GIMP has fully started"
56          width="320" height="256" title="GIMP has fully started"></a><br />
57         <em>Image #1: GIMP has fully started up on a FVWM-Crystal desktop</em>
58 </p>
59
60 <p>
61         Load the paint kit (it must be provided or else ask the airplane constructor
62         kindly to provide one for GIMP) into GIMP. Again where you saved that file,
63         I leave that completely up to you. :-) So look for it (btw.: noticed the
64         file selection boxes have a &quot;bookmarking&quot; feature called
65         &quot;Places&quot;? Just in case you want to shortcut a lot clicks into one
66         single ...)<br />
67         <a href="tutorials/img/livery-paths/002.png" target="_blank"><img
68          src="tutorials/img/livery-paths/002-thumb.png" width="320" height="256"
69          alt="GTK selection box with the paint kit file already marked"
70          title="GTK selection box with the paint kit file already marked"></a><br />
71         <em>Image #2: GTK selection box with the paint kit file already marked</em>
72 </p>
73
74 <p>
75         If you have done so, the image got loaded into your computer&#39;s RAM and
76         displayed as similar below (maybe you have a different solution so GIMP will
77         change the zoom factor to match the image into your screen so it may
78         <strong>NOT</strong> look exacly the same).<br />
79         <a href="tutorials/img/livery-paths/003.png" target="_blank"><img
80          src="tutorials/img/livery-paths/003-thumb.png" width="320" height="256"
81          alt="GIMP has loaded the CRJ1000-paintkit.xcf file and displayed it"
82          title="GIMP has loaded the CRJ1000-paintkit.xcf file and displayed it"></a><br />
83         <em>Image #3: GIMP has loaded the CRJ1000-paintkit.xcf file and displayed it</em>
84 </p>
85
86 <p>
87         Now make the layer called <strong>[DEL] UV map</strong> active by simply
88         clicking on it and click the little magic wand in the toolbox. Need a
89         screenshot? Just one more step please: Click in the large white area of
90         that image (maybe between the two fuselage halves?). The result of these
91         three steps is shown below.<br />
92         <a href="tutorials/img/livery-paths/004.png" target="_blank"><img
93          src="tutorials/img/livery-paths/004-thumb.png" width="320" height="256"
94          alt="Magically selected parts of the airplane"
95          title="Magically selected parts of the airplane"></a><br />
96         <em>Image #4: Magically selected parts of the airplane</em>
97 </p>
98
99 <p>
100         Next choose <strong><u>S</u>elect</strong> from the image window&#39;s menu
101         and click <strong><u>I</u>nvert/</strong> or hit CTRL+I. The (animated)
102         selection will now change slightly so I go to next step. Choose
103         <strong><u>S</u>elect</strong> again, but now <strong>S<u>h</u>rink</strong>.
104         You should get a similar box as show below. The invertion step is very
105         import so don&#39;t leave it out. If you miss it you will get a wrong path
106         as the final result.<br />
107         <a href="tutorials/img/livery-paths/005.png" target="_blank"><img
108          src="tutorials/img/livery-paths/005-thumb.png" width="320" height="256"
109          alt="Open Shrink Selection box and inverted selection"
110          title="Open Shrink Selection box and inverted selection"></a><br />
111         <em>Image #5: Open Shrink Selection box and inverted selection</em>
112 </p>
113
114 <p>
115         Now enter 3 to 5 or more as selection shrink value (you have find that out
116         for yourself because it depends on the image and alpha channel) and hit the
117         <strong>OK</strong> button. The selection is now shrinked and may look like
118         mine below. I choosed 3 as shrink value.<br />
119         <a href="tutorials/img/livery-paths/006.png" target="_blank"><img
120          src="tutorials/img/livery-paths/006-thumb.png" width="320" height="256"
121          alt="Shrinked selection with 3 as value"
122          title="Shrinked selection with 3 as value"></a><br />
123         <em>Image #6: Shrinked selection with 3 as value</em>
124 </p>
125
126 <p>
127         Now you <strong>could</strong> start drawing your livery into the layer by
128         adding a new transparent layer, <strong>but</strong> you should save your
129         selection (path! hint, hint!) for later usage (on the same paint kit, of
130         course). To do so, choose <strong><u>S</u>elect</strong> again and hit
131         <strong>To <u>P</u>ath</strong> (here it was the last entry in the menu).
132         GIMP now starts to convert the selection into a path, but after it is done,
133         nothing seems to happen to your image, right? Wrong! You added a path to
134         your image. To make that visible, just bring up the path dialog (which can
135         be accessed through <strong><u>W</u>indows</strong>,
136         <strong><u>D</u>ockable Dialogs</strong>. If you want to shortcut that, hit
137         the last menu entry <strong>Layers, Channels, Paths, Undo</strong> which
138         gives you a similar window like the one in lower right corner of my
139         screenshots. Now just hit that 3rd item in that window and you get a similar
140         view like following screenshot.<br />
141         <a href="tutorials/img/livery-paths/007.png" target="_blank"><img
142          src="tutorials/img/livery-paths/007-thumb.png" width="320" height="256"
143          alt="Paths dialog box selected with the previously generated path"
144          title="Paths dialog box selected with the previously generated path"></a><br />
145         <em>Image #7: Paths dialog box selected with the previously generated path</em>
146 </p>
147
148 <p>
149         Now you may wish to rename it and export it on your hard drive. To do the
150         first step, double-click the current name <em>Selection</em> and type what
151         ever you want to call it. You may want to choose <em>All airplane parts</em>
152         or something descriptive. After that, right click the path and hit
153         <strong>E<u>x</u>port Path ...</strong> (that one with the little disk).
154         Select the desired folder where you want to store it (preferable near the
155         <strong>CRJ1000-paintkit.xcf</strong> file) and e.g. name it
156         <strong>CRJ1000-paintkit-paths.svg</strong> so you can easily look it up for
157         later purposes. I leave this step out, screenshotting it, you will get a
158         similar selection box as above.
159 </p>
160
161 <p>
162         Now you can start drawing liveries for your favorite airplane and reuse (or
163         first create) your exported paths for easy drawing! If you have imported
164         your path, you need to convert it into a selection and keep it invisible.
165         I think you already know, where to do that or didn&#39;t you take a longer
166         look on the path&#39;s context menu, do you? :-)
167 </p>
168
169 <p>
170         <strong>Thank you for participating my tutorial!</strong> If you have
171         feedback to tell me, contact me at my email address, ICQ, Jabber or in IRC
172         channel (Quix0r).
173 </p>
174
175 <p>
176         <strong>By the way:</strong> I used a converted, as path exported selection
177         to blacken my personal things on my screenshots. The path <a rel="external"
178          href="pub/screenshot-anonymizer-fvwm-crystal_1280x1024.svg"
179          target="_blank">can be found here</a>.
180 </p>
181
182 <p>
183         <strong>Used software:</strong>
184         <ul>
185                 <li><a href="http://www.gimp.org" rel="external" target="_blank">GIMP</a> 2.6.11 - GNU Image Manipulation Program</li>
186                 <li><a href="http://gna.org/projects/fvwm-crystal/" rel="external" target="_blank">FVWM-Crystal</a> 3.0.5 - A small, fast and robust desktop for Linux (default with ACPI)</li>
187                 <li><a href="http://www.debian.org" rel="external" target="_blank">Debian</a> <a href="http://www.gnu.org" rel="external" target="_blank">GNU</a>/Linux Unstable AMD64</li>
188                 <li><a href="http://www.flightgear.org" rel="external" target="_blank">FlighGear Flight Simulation</a> Latest GIT - Fly free!</li>
189                 <li><a href="http://www.midnight-commander.org/" rel="external" target="_blank">GNU Midnight Commander</a> - My favorite editor</li>
190                 <li><a href="http://moc.daper.net/" rel="external" target="_blank">Music On Console Player</a> - Background music :-)</li>
191         </ul>
192 </p>
193
194 <p>
195         PS: My manually mirrored download archive for FlightGear can be found
196         <a href="pub/" target="_blank">here</a>. So take a look around. :)
197 </p>
198
199 <p align="center">
200         <small>
201                 Created: <strong>2011-06-11</strong> |
202                 Last update: <strong>2013-02-22</strong> |
203                 Author: <a href="mailto:roland_NOSPAM_@_REMOVE_THIS_mxchange_AND_THIS_.org">Roland H&auml;der</a><br />
204                 <a href="index.html">Home</a> |
205                 <a href="flights.html">My flights</a> |
206                 <a href="fgcom.html">FGCOM</a> |
207                 <a href="fgdata-bundle.html">fgdata.bundle</a> |
208                 <a href="rsync.html">Rsync howto</a> |
209                 <a href="links.html">Links collection</a> |
210                 <a href="imprint.html">Imprint</a>
211         </small>
212 </p>
213
214 <p>
215         <a rel="license" target="_blank"
216          href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US"><img
217          alt="Creative Commons License" style="border-width:0"
218          src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png" /></a><br />
219         <span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text"
220          property="dct:title" rel="dct:type">Quix0r&#39;s FlightGear Website</span> by <a
221          xmlns:cc="http://creativecommons.org/ns#" href="http://flightgear.mxchange.org"
222          property="cc:attributionName" rel="cc:attributionURL">Roland Haeder</a> is
223         licensed under a <a rel="license" target="_blank"
224          href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">Creative Commons
225         Attribution-ShareAlike 3.0 Unported License</a>.<br />
226         Based on a work at <a xmlns:dct="http://purl.org/dc/terms/" target="_blank" rel="dct:source"
227          href="http://flightgear.mxchange.org/repos/flightgear/trunk/">http://flightgear.mxchange.org/repos/flightgear/trunk/</a>.
228 </p>
229
230 </body>
231 </html>