Topic: Me photoshopping a bit :)

Hey all,

I started messing around with photoshop a bit and made these planets.
I generated the starfield through PHP tongue

http://icstrategy.midgetforhire.com/Ima … anet-2.jpg
http://icstrategy.midgetforhire.com/Ima … 20copy.jpg
http://icstrategy.midgetforhire.com/Ima … planet.png

Please comment big_smile

-- Bekko

2

Re: Me photoshopping a bit :)

Looking great elbekko !! Tutorial please big_smile

3 (edited by elbekko 2006-07-19 19:38)

Re: Me photoshopping a bit :)

Heheh... Tutorial eh smile

? First of all, create a starfield with this PHP code: (requires GD)

<?php
$xsize = 1600;
$ysize = 1200;
$im = imagecreatetruecolor($xsize, $ysize);
$grey = imagecolorallocate($im, 132, 132, 132);
$white = imagecolorallocate($im, 255, 255, 255);

// Create the less bright stars
for($i=0; $i<=7500; $i+=1)
{
    @$x = mt_rand(0, $xsize);
    @$y = mt_rand(0, $ysize);
    imagesetpixel($im, $x, $y, $grey);
}

// Create bright stars
for($i=0; $i<=3000; $i+=1)
{
    @$x = mt_rand(0, $xsize);
    @$y = mt_rand(0, $xsize);
    imagesetpixel($im, $x, $y, $white);
}

header('Content-Type: Image/PNG');
imagepng($im);
imagedestroy($im);
?>

Change the values to whatever you like wink

? Save the created image to disk, as starfield.png
? Now load this image in photoshop
? Create a new layer
? Use the ellipse select tool (right-click on the square select tool and select the ellipse one) to create a circle the size you want your planet to be
? Select a background and foreground colour.
? Go to Filter > Generate > Clouds.
? Go to Filter > Distort > Spherise, use 100% as value
? Repeat this step with a value of 50%
You now have a basic planet. We'll add an athmosphere to it:
? Right-click on your planet layer and select Blending Options
? Go to the Outer Glow tab
? Use something similar to these values, but adjust as you like:
Blend mode: Screen
Colour: pick one
Spread: 2%
Size: 38px
? Go to the Inner Glow tab
? Use something similar to these values, but adjust as you like:
Blend mode: Screen
Colour: pick one
Choke: 4%
Size: 10px
Range: 50%
Jitter: 8%

This will give you a planet on a starfield background with a nice atmosphere, much like the ones I posted above smile

-- Bekko

Re: Me photoshopping a bit :)

    @$x = mt_rand(0, $xsize);
    @$y = mt_rand(0, $ysize);

yikes

Re: Me photoshopping a bit :)

What? A nice random starfield tongue

Re: Me photoshopping a bit :)

Did another one smile
The big planet is done with two layers smile

Re: Me photoshopping a bit :)

Or, you could go the more artistic route: http://gallery.artofgregmartin.com/tuts … field.html smile

Re: Me photoshopping a bit :)

Yeah, I tried that one, didn't work out too well tongue I'll probably need to do it on a smaller image ^^

Re: Me photoshopping a bit :)

Cool beans, elbekko. Nice work.

Re: Me photoshopping a bit :)

Thanks big_smile

Oh, and Jansson, just tried to do that one again... it always goes wrong when I try to use the clone tool sad

Re: Me photoshopping a bit :)

elbekko wrote:

What? A nice random starfield tongue

except you're using the width for x and y.

Re: Me photoshopping a bit :)

Ehm, yes. It pickes a random coordinate tongue min 0, max $xsize for the x coordinate. Sounds logical to me =/

Re: Me photoshopping a bit :)

so where is the star drawn when y's random value is 1201?

Re: Me photoshopping a bit :)

elbekko wrote:

Thanks big_smile

Oh, and Jansson, just tried to do that one again... it always goes wrong when I try to use the clone tool sad

Hmm.. Can't help you, only done it with GIMP smile

Re: Me photoshopping a bit :)

MadHatter wrote:

so where is the star drawn when y's random value is 1201?

You don't get the (mt_)rand function, now do you?

int mt_rand ( [int min, int max] )

The smallest coordinate is 0, biggest coordinate is your x/y size. This way a pixel cannot be drawn outside of your image.

Re: Me photoshopping a bit :)

@$x = mt_rand(0, $xsize);
    @$y = mt_rand(0, $xsize); <--

Re: Me photoshopping a bit :)

Oops, I see what you mean tongue I'll correct that, although it makes not much of a difference really.