View Full Version : [GIMP Plug-in] Render a Planet or Moon

11-15-2008, 05:05 PM
Beta Release 0.8

Ok so here is the render planet script. It aint complete by now cause I didnt find time to add shadow/light but the script allready renders a nice planet (at least imo).

I will add the shadow/light thing as soon as possible, but I decided to post the script now to get some feedback. I'd like to know how you like the script and what could be improved. The shadow/light thing wont change much in the end so tell me now what you dont like :)

The script itself is pretty much sell-explanatory so go ahead and render some planets :) I suggest using a black background layer for better results or even better a starfield. You would find my starfield script here (http://www.cartographersguild.com/showthread.php?t=3395).

Be warned that if you have a slow comp, this could take a bit. In addition please be sure to have the image about twice as big as the planet you want to render, because the planet is rendered twice the size you enter and scaled down for better results and I simply havent tested what happens if you dont do this. Though I guess the rendered planet could end up outside the image. This will be taken care of in the next release.

Again, please be aware that this is a beta release :)

If you choose to use a texture be sure that it is either seemless or the texture is twice the planet size you want to render.

You find the script in your Filters Menu at Sci-Fi/Add planet or moon. If you do not see the script, please read here (http://www.cartographersguild.com/showthread.php?t=3060), what you have to do.

Attached is an image with 3 rendered planets: Top left is a texture with an atmosphere, bottom left is without a custom texture and an atmosphere and the right one is a 'earth type' planet including an atmosphere and clouds.

Steel General
11-16-2008, 09:09 AM
Nice job Sage!

If I were to switch over to GIMP I would definitely use this.

Just out of curiosity, how many times do you run the "Spherize" (photoshop jargon) filter? I've found in most of the tutorials I've seen on the web and my own experience with it that running it twice seems to give better results. Was wondering if it was the same for GIMP?

11-16-2008, 12:10 PM

You're right about the slower computers. I need more excuses to get a newer machine. *grin*

11-16-2008, 02:30 PM
Hmm if you mean by "Spherize" the step where you map the layer to a sphere than I'll do that once per layer. Using the map to sphere filter again on the same object would mess it up completly.

Though the map to object(sphere) filter aint perfect, thats why I render it twice the size you select, because when all is done I scale the object down by 50%. Looks much better, the only drawback is that it is more time consuming.

If you wanted to know how many layers I map to the sphere, that would be at least 1 if you use a texture and dont add an atmosphere or clouds nor bumping your texture or max 5 if you dont use a texture but choose two colors, add an atmosphere and clouds and bumping it.

Thank you very much :)

Yeah I thought that it would take some time on slower machines.

Steel General
11-16-2008, 04:13 PM
Your first response answered my question.

11-16-2008, 05:14 PM
sagen, what filter are does this use to spherize the planets?

Whenever I make my planets I use Filters--> Light and Shadow --> Apply Lens, with a lens of 1.8.

11-17-2008, 06:46 AM
The script uses the Filters -> Map -> map to object (Sphere) filter.

11-17-2008, 03:07 PM
okay that works to, i just find that it works best for me to use the Apply Lens, as it keeps most of the detail most of the way I want it, without adding any light i dont want on it :)

11-17-2008, 05:30 PM
You can deactivate the light when you use the map to object filter, thats what I do. Sure apply lens does something similar.

11-18-2008, 11:45 PM
You can deactivate the light when you use the map to object filter, thats what I do. Sure apply lens does something similar.


okay smarty :lol:

I have to pay attention to these things from now on...

heh, that also saves the ammount of time it takes to make a perfect circle roughly the size of your planet, which I keep having problems with... mostly cause i get it, let go of the mouse, and then the selectin is an oval :x

oh well, i like the look of the rocky planets this thing makes anyways :D