Gimptalk - Premier Gimp Community: A Better Planet Tutorial - Gimptalk - Premier Gimp Community

Jump to content

  • 8 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

A Better Planet Tutorial

#1 User is offline   Marvin x 

  • Member
  • PipPip
  • Group: Members
  • Posts: 602
  • Joined: 23-April 06

Posted 14 May 2006 - 04:14 AM

Hello, fellow GIMP users. A while ago I was looking around GIMP Talk for a decent planet tutorial, and while there are a few, they didn't answer all my questions. After much Googling and experimenting on my own, I came up with a method which seems to give better results, though it's very long and may be difficult for new users to follow. This is my first tutorial on GIMP Talk, so please excuse anything I may accidentally leave out/not explain well enough. Feel free to ask questions, and please post your results! So, off we go...

Sample results (second one is what I got making this tutorial):
Posted Image
Posted Image

Step 1 - New Image
Ok, first things first. Planets are big. Really big. The canvas you'll be working on should also be really big, but not because planets are big. The reason is becuase this tutorial will make use of Map Object filter, which tends to give blurry/bad results if you don't scale the image down afterwards. As a general rule, make your image about twice the size you want the final result to be. It should also always be square. The canvas size I will be using is 3000x3000 pixels. If you don't think your computer can handle this, feel free to use a smaller size. Just note that you will need to adjust the blur levels/other settings because you have a smaller image. These are the settings for my image:
Posted Image
You may get a message informing you that the image is larger than the Maximum Image Size defined in your preferences. Just click OK and it will create the image anyway.
Fill the background layer with black.
At this point, you should have a completely black image (obviously), so I don't think I need to show you what you should have by now.

Step 2 - Planet Surface
Create a new transparent layer and call it "surface." With this layer selected, go to Filters -> Render -> Clouds -> Plasma.
Posted Image
Don't be surprised if this takes longer than you're used to. You're (probably) working on 3000x3000 pixels, which means 9,000,000 pixels of plasma to render. It's actually a wonder GIMP does it so fast.
Now, Layer -> Colors -> Desaturate, followed by Layer -> Colors -> Colorize.
Posted Image
If this is your first time through the tutorial, I do recommend you use my values (or something close). This will make later steps easier to follow.
The last thing to do for now is to run Filters -> Map -> Make Seamless. This is optional, but it makes your planet surface a bit more uniform in terms of lightness, which I find gives better results. Roughly what you should have right now:
Posted Image

Step 3 - Clouds
Again, create a new transparent layer, but this time name it "clouds." Filters -> Render -> Clouds -> Plasma again.
Posted Image
Layer -> Colors -> Desaturate again.
We will run colorize on the clouds layer later in the tutorial, but for now leave it black and white. This next part is one of the more time-consuming steps. Go to Filters -> Distorts -> IWarp. You should get a window similar to this:
Posted Image
What you're going to do is use the Swirl CCW (counter-clockwise) and Swirl CW (clockwise) to make these a little more turbulent. Make sure you get every part of the image, and try not to swirl too much in any one spot. If you mess up, you can use the remove option. It's ok to leave the deform radius and deform amount at the values shown in my image; that's what I did. By the end you should have something like this:
Posted Image
WAIT! Don't click the OK button just yet. Think for a moment. If you have a slow computer and are using a large canvas size, you may just want to say "Oh, so that's how it's done" and click Cancel. I have a fast computer, but even for me this step takes a long while. If you choose to click OK (I suggest you do if you have the time) be prepared to wait a while. Get something to drink, walk the dog, or read ahead in the tutorial if you need something to occupy you (besides watching GIMP's progress bar).
Once IWarp completes, run Filters -> Map -> Make Seamless just like you did on the surface layer.
By this point you should have something like this:
Posted Image

Step 4 - Bump Map
This step is optional. If you don't care so much, feel free to skip it. I must stronly suggest you do this, however, since I find it's well worth your time.
Create two new layers called "bumpmap 1" and "bumpmap 2." Make sure bumpmap 2 is above bumpmap 1. Select the bumpmap 1 layer and do Filters -> Render -> Clouds -> Solid Noise. Why not plasma? You'll see in a moment.
Posted Image
Now select bumpmap 2 and do Ctrl+F to run the same filter again. If you remembered to check "Randomize," you will get different noise than you did the first time. Change the layer mode on bumpmap 2 to difference, right-click on it in the layers dialogue and choose "Merge Down." Now go to Layer -> Colors -> Invert.
Look at the result you get. We're going to use this as a bumpmap for the surface later. Notice how you have white lines curving all over? Those will be mountains. :w:
You should have something like this right now:
Posted Image
Move the bumpmap 1 layer to just above the background layer so you can see the clouds again.

Step 5 - A Little More Round
Ok, now it's time to make this look a little more like a planet and less flat. If you want, duplicate all your layers as backups. Change the word "copy" in each one to "backup" so you have "surface backup," "clouds backup," and maybe "bumpmap 1 backup." That's optional, but if you make a mistake later it's easier to fix. With an image this size, GIMP's Undo doesn't go very far back. Be sure to remove visibility on the backups by clicking the eye next to each one in the layers dialogue.
Select your clouds layer and run Filters -> Map -> Map Object. These are my settings. Use them all the way they appear, but feel free to experiment with the Rotation section of the Orientation tab. Your clouds probably came out different than mine and may look better at a different angle.
Posted ImagePosted Image
Posted ImagePosted Image
This is another time-consuming filter if you have a big canvas, but trust me, it's still shorter than the IWarp.
At this point you may be wondering why I set the lightsource to "no light." The reason is because you gain much more control (and generally better results) by doing the light yourself. It may also be faster to do it yourself, since the filter takes much longer when it needs to add light. :w: You may also be wondering why do Map Object at all if you don't want the lighting. The reason is because it will distort the object to look like a sphere and not a piece of paper. The distortion, however, is the reason why you need a large canvas: things near the "equator" of the planet will be stretched and generally won't look as good at 100% size.
Now select the surface layer and do Ctrl+F to run Map Object in the exact same way.
If you skipped the bumpmap step, you can now move on to Step 6. Otherwise, select your bumpmap 1 layer and do Shift+Ctrl+F to show Map Object with the same settings. In the Orientation tab, change the Z value under Position to .91 instead of .90 to make the sphere a little larger. If you don't do this, your surface layer will get some nasty artifacts around the edges.
The reason we're mapping the bumpmap layer and the surface layer instead of doing the bump mapping beforehand is to avoid unnatural lighting. If your sphere gets oriented so that the shadows point toward the light source instead of away, that's not good.
By this point your image should look something like this (those of you without the bumpmap layer won't have the lighter ring around it):
Posted Image

Step 6 - A Little More Spherical
So, your layers are all round now. That's good, but the tricky bit is still to come. This may be difficult to follow, but I'll try my best.
First, the shadow. You want to get an elliptical selection which you will fill with black to make the shadow. How you should drag your mouse is shown (roughly) below.
Posted Image
Create a new layer called "shadow" and fill the selection with black. Deselect and run Filters -> Blur -> Gaussian Blur.
Posted Image
NOTE: If you're using a different size canvas, you will need to use a different blur amount.
Looking better already. :h: Before continuing, remove visibility on the bumpmap 1 layer by clicking the eye next to it in the layers dialogue.
Now do exactly what you did to get the selection for the shadow layer, but start at the bottom right corner of the image and drag holding down only Shift (NOT Ctrl) so that you leave only a sliver of the planet outside your selection. Make a new layer called "highlight."
Select -> Invert, then fill the selection with white, then Select -> None.
Filters -> Blur -> Gaussian Blur with IIR and 50x50. (Again, smaller canvas users must adjust this amount.)
Right click on the surface layer and go to Alpha to Selection.
Select -> Invert. Select the highlight layer and do Edit -> Clear.
You should have something like this:
Posted Image
Make a new layer called "diffuse." Repeat what you did for the highlight layer exactly, except this time select so that the border of the selection lies about halfway between the edge of the shadow and the edge of the highlight. Also, instead of blurring 50x50, blur by just over half what you did for the shadow. I used 300x300. You should now have this:
Posted Image
Now move the diffuse layer below the highlight layer. A thin black line may appear on the edge of the highlight. If so, run Filters -> Colors -> Color to Alpha. Click on the color shown in the dialogue box, and choose complete black instead. The line should disappear.
If you've somehow managed to follow all that, here's what you should have:
Posted Image

Step 7 - Bring It All Together
Here's what you should set your layer modes to:
highlight: Soft Light
diffuse: Soft Light
shadow: Normal
clouds: Hard Light
surface: Normal
That makes everything about 100% better. Observe:
Posted Image
If you have a bumpmap layer, now is the time to use it. Select the surface layer and do Filters -> Map -> Bump Map.
Posted Image
Do Ctrl+F and run it again just for good measure.
Remember I told you we'd colorize the clouds layer eventually? Now's the time. Run Layer -> Colors -> Colorize and choose a hue roughly opposite what your surface layer is. Here are my settings:
Posted Image
Due to the nature of the Hard Light layer mode, this adds some more color variation to the planet surface. Granted, these aren't really clouds anymore, but so sue me. :w:
Posted Image

Step 8 - Final Touches
The first thing I notice is that the diffuse and highlight aren't really all that bright. Duplicate the diffuse layer until it's bright enough and the highlight layer as well. In my case, I wound up with two of each (though in the example at top, I have 3 diffuse layers and 4 highlights).
The last thing you may realize is that, if you were to place this in some kind of scene elsewhere, the shadow layer would interfere with the background. (Draw in white on your background layer if you don't believe me.) To fix this, right click on the surface layer and choose Alpha to Selection. Select -> Invert, then choose the shadow layer. Run Edit -> Clear then deselect and it's fixed.
Final result:
Posted Image

Well, that's that! I hope you managed to follow the entire thing, and I also hope your internet connection didn't catch fire. As a few final notes, when scaling down, it's actually a good idea to use "None (fastest)" as the interpolation type, since it's quicker and sometimes gives better results. Compare the final result to the example at top. The example was scaled using None, the final result was (accidentally) scaled using Linear. Also, this tutorial doesn't cover making a background for this thing (obviously). For now, it's up to you to find a way (or a tutorial).

So farewell, and happy GIMP-ing! :h:
0

#2 User is offline   mentalmagic 

  • Member
  • PipPip
  • Group: Members
  • Posts: 229
  • Joined: 27-January 06

Posted 14 May 2006 - 12:58 PM

Very nice tutorial :)

I'll try it out and post my results when I get time, thanks for sharing.
Posted Image
0

#3 User is offline   philFX 

  • Member
  • PipPip
  • Group: Members
  • Posts: 146
  • Joined: 18-March 06

Posted 14 May 2006 - 03:46 PM

Omg, :o: that was awesome!!! The tut is so well written out,pictures and everything,very easy to follow. A tutorial bravo. THE ONLY TIME I enjoyed watching the progress bar knowing the result. Genius +1
Posted Image go there. GFXunited.com. Where PS and Gimp users live in peace.

Favorite/Current(s)
Posted Image
0

#4 User is offline   Marvin x 

  • Member
  • PipPip
  • Group: Members
  • Posts: 602
  • Joined: 23-April 06

Posted 14 May 2006 - 07:42 PM

Thanks, guys. :h:
I'd love to see your results.
0

#5 User is offline   onionguy92 

  • Member
  • PipPip
  • Group: Members
  • Posts: 173
  • Joined: 09-April 06

Posted 15 May 2006 - 10:43 PM

Wow. Brilliant! As of now I have been just using the 'Sphere Render' plugin, or whatever it's called. If the planet is to have an atmosphere, you can create an elliptical selection the size of the planet using horizontal and vertical guides. Then create a new layer just above your background layer (transparent) and fill the circle with white. Then go Select>Select None. Then Gaussian blur the layer by maybe 400 for the size you used, depends on how big you want the atmosphere to be. Then look at your image. There should be an atmospheric white light around it, like this:

Posted Image

I'm gonna go try this now.
Posted Image
0

#6 User is offline   FunkyFloyd 

  • Member
  • PipPip
  • Group: Members
  • Posts: 378
  • Joined: 26-April 06

Posted 16 May 2006 - 07:56 AM

i followed the steps as best i could and came up with this, while the affect is very cool its not quite the same. also i could NOT get the bumpmap to work with any of the layers let alone the surface layer.

Posted Image
Weird is intresting, who wants to be normal?
0

#7 User is offline   onionguy92 

  • Member
  • PipPip
  • Group: Members
  • Posts: 173
  • Joined: 09-April 06

Posted 16 May 2006 - 09:12 PM

OK. Here were my results:

Posted Image
Posted Image
0

#8 User is offline   FunkyFloyd 

  • Member
  • PipPip
  • Group: Members
  • Posts: 378
  • Joined: 26-April 06

Posted 16 May 2006 - 11:59 PM

k people, what am i doing wrong with the bump map!
Weird is intresting, who wants to be normal?
0

#9 User is offline   sk8brder40 

  • Member
  • PipPip
  • Group: Members
  • Posts: 130
  • Joined: 01-March 06

Posted 17 May 2006 - 01:02 AM

When I do the bump map, it turns out to be a square. Sphere is selected and I did everything it said...
Posted Image
Visit my website at sk8brder40.com
ADMIN: Please use single image in footer.
0

#10 User is offline   Marvin x 

  • Member
  • PipPip
  • Group: Members
  • Posts: 602
  • Joined: 23-April 06

Posted 17 May 2006 - 01:53 AM

Good job, for those of you (just onionguy?) who got it to work out. :h:

Quote

Wow. Brilliant! As of now I have been just using the 'Sphere Render' plugin, or whatever it's called. If the planet is to have an atmosphere, you can create an elliptical selection the size of the planet using horizontal and vertical guides. Then create a new layer just above your background layer (transparent) and fill the circle with white. Then go Select>Select None. Then Gaussian blur the layer by maybe 400 for the size you used, depends on how big you want the atmosphere to be. Then look at your image. There should be an atmospheric white light around it.

Thanks, onionguy. Seems I left that out of the tutorial. :o:

FunkyFloyd: What do you mean by "could NOT get the bumpmap to work"? Did you get the bumpmap layer to look ok? Were you able to run the filter? A little more information would be appreciated, if you can provide it. :a:

Sk8brder: Do you mean Map Object? It could be that you created backup layers and didn't remove the visibility. Check your layers dialogue.

Everyone: I missed one quick thing in the tutorial which I just put in - if you created backup layers before running Map Object (beginning of Step 5), be sure you make them invisible by clicking the eye next to them in the layers dialogue so you can see the changes made to the original layers. Sorry about that.
0

#11 User is offline   FunkyFloyd 

  • Member
  • PipPip
  • Group: Members
  • Posts: 378
  • Joined: 26-April 06

Posted 17 May 2006 - 01:55 AM

could not run the filter, on any layer. it did absotively nothing.
i cant provide a screenshot right now since im not at home but can later.
Weird is intresting, who wants to be normal?
0

#12 User is offline   Marvin x 

  • Member
  • PipPip
  • Group: Members
  • Posts: 602
  • Joined: 23-April 06

Posted 17 May 2006 - 01:59 AM

When you get this box:
Posted Image

Did you make sure to select your bumpmap layer from the very top dropdown menu (titled Bump Map)? I'm not sure what else could be causing this.
0

#13 User is offline   FunkyFloyd 

  • Member
  • PipPip
  • Group: Members
  • Posts: 378
  • Joined: 26-April 06

Posted 17 May 2006 - 03:08 AM

i tried it on all of my layers. nothing. played with modes thinking that may be the issue. nothing. merged down, nothing (undid that of course)

ill try the whole thing over step one when i get home
Weird is intresting, who wants to be normal?
0

#14 User is offline   Marvin x 

  • Member
  • PipPip
  • Group: Members
  • Posts: 602
  • Joined: 23-April 06

Posted 17 May 2006 - 08:03 PM

Hm... that's really weird. :o: Does the preview box on the filter show any kind of change?
0

#15 User is offline   FunkyFloyd 

  • Member
  • PipPip
  • Group: Members
  • Posts: 378
  • Joined: 26-April 06

Posted 18 May 2006 - 03:59 AM

sigh...theres no change in the preview box.

and thats exactly what i was going to post a pic of, the preview window. never had the time though.

you knew exactly what i was going after!
Weird is intresting, who wants to be normal?
0

#16 User is offline   Marvin x 

  • Member
  • PipPip
  • Group: Members
  • Posts: 602
  • Joined: 23-April 06

Posted 18 May 2006 - 06:36 PM

Could you get me a screenshot of the entire filter box just before you clicked OK?
0

#17 User is offline   Gargantuan 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 20-May 06

Posted 20 May 2006 - 09:22 PM

What kind of file did u guys save this as bc I am having to redo the tut right now (IWarp) and the other night I had to go and couldn't find what kind of file it was. So, I lost an hour of work...

~Gargantuan
D:My%20DocumentsMy%20PicturesLaron%20Landry%20sig.xcf
0

#18 User is offline   onionguy92 

  • Member
  • PipPip
  • Group: Members
  • Posts: 173
  • Joined: 09-April 06

Posted 20 May 2006 - 10:56 PM

FunkyFloyd, do you have the surface layer selected when you bump map? Cuz that would do it... If it still doesn't work then your GIMP is either buggy or you need to play with the elevation and depth settings. Here's some more of my work:
Posted Image
Posted Image

And I must say, this tutorial is proving very useful. If you use the bumpmap layer, surface layer, and cloud layer you can make a brushless grungy background. Here's an example:
Posted Image
Posted Image
0

#19 User is offline   JapJap 

  • Member
  • PipPip
  • Group: Members
  • Posts: 91
  • Joined: 03-December 05

Posted 23 May 2006 - 05:27 PM

This tut is just so coool. Maybe you should send this for Ali Imran to put it into Tutorials section. :w:
Posted Image
0

#20 User is offline   jfox 

  • Member
  • PipPip
  • Group: Members
  • Posts: 11
  • Joined: 16-May 06

Posted 23 May 2006 - 09:56 PM

it worked perfectly first try and i have only been using gimp for about a month. yes mine looks very similar to the example shown, but it shows that anyone can do it.
Posted Image

This is one of my personal favourite tuts here cause it has a great result and isnt a sig tut for a change.

I didnt turn the bump map layer invisible because i thought it made a nice haze...

*note* DO NOT miss out the bump map step. it makes so much difference and makes it definatly worth the extra time spent.


Thx for the great tutorial!!!
Posted Image
Did i say you could die? Get up and keep fighting!!!
0

Share this topic:


  • 8 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic