Debian Codegraph @

utils/gimp/mkplanet/README

raw
1 This is a readme for the planet.scm script included in this directory of the source.
2
3 0.) INSTALLATION
4
5 In order to use this script you must copy it into the proper directory.
6 In most cases that directory will be '~/.gimp-2.6/scripts/'. Take note: if you have a
7 different version of gimp the directory may be different. Once the script has been
8 copied it should be installed and ready to go! Just start up Gimp (or if you already
9 have it running go to 'Xtns -> Script-Fu -> Refresh Scripts').
10
11 1.) USEAGE
12
13 Using the script is fairly straight forward. If it has been loaded properly it
14 should have created a menu in your toolbar named 'NAEV.' Load it up and a window will
15 pop up. Here you have a few different options:
16
17 0.1) PLANET SIZE
18 Obviously this is the size of the planet. So far the standard in the is 80 pixels,
19 but depending on the system the planets may be smaller/larger.
20
21 0.2) PLANET COLOR
22 Fairly self-explanatory. Choose the color of your planet here.
23
24 0.3) SUN OREINTATION
25 This is where the main light source will be coming from. Right now 0 degrees is
26 at the top, and increasing the orientation goes in a clockwise direction. So 90
27 degrees would be coming from the right, 270 from the left, and so on.
28
29 0.4) SUN TILT
30 This changes how much of the planet is illuminated by the sun. A value between
31 8 and 9 makes a planet that is pretty much halt lit and half darkened. Again,
32 this can be played around with.
33
34 0.5) GLOW SIZE
35 This function changes how much glow there will be around the planet. 4 creates a
36 decent amount of glow, 0.1 makes very very little, and 10 makes a ton. 4 is the
37 default, but Bobbens thinks that the glow looks funny, so maybe turn it down to
38 a low value unless its a gaseous planet.
39
40 Hit 'OK' and see what happens! Hopefully you will generate a planet that can be
41 used in game. Remember to save it as a .png with transparency on.
42
43 2.) ADDITIONAL INFORMATION
44
45 If you are so inclined you can add textures to your planets as well. It really does
46 make them look a lot better. This is a brief tutorial on how to do so, taken from the
47 website of the guy who originally wrote the script.
48 http://home.tele2.fr/auroreblender/gimp/planet_en.html
49
50 0.1) First step is to find a good texture image.
51
52 0.2) Open up the image in Gimp and from the menu select 'Layer -> Transparency -> Add
53 Alpha Channel'
54
55 0.3) In the menu select 'Filters -> Light and Shadow -> Apply Lens'. When the menu
56 comes up click on 'Make surroundings transparent' and make the Lens Refraction Index
57 to 1.6. Hit OK.
58 For older gimps the script is in 'Filters -> Glass Effects -> Apply Lens'.
59
60 0.4) The web tutorial says to scale the image down by half, but that doesn't really
61 make any sense when you're just going to scale it down to the size of the planet.
62 That said, scale the image to the size of your planet (default is 80 pixels).
63
64 0.5) Select everything in the texture image and copy it over. Place that layer
65 between the 'planet atmosphere' and 'planet base' layers. Then, change the layer
66 mode to whichever looks best. (Grain merge is a good choice.)
67
68 Yay! Hopefully you just made a purdy planet. Now get it into cvs so we can do
69 something with it.
70
71 3.) THE END
72
73 More thanks to Rore for his script and his tutorials. You can find his website at:
74
75 http://home.tele2.fr/auroreblender/index_en.html
76
77 [email protected]
78
79
80 Whew this is quite the README. Wolorf is quitting for now.