Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
August 25, 2008 - Time to Vote for the August 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
August 30, 2008, 06:01:56 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Creating background images  (Read 263 times)
KJones
Galactic Royalty
*****
Offline Offline

Posts: 313



WWW
« on: March 20, 2003, 10:52:00 PM »

What is the easiest way to create a background image that doesn't have noticeable edges when repeated?

For example, let's say I wanted to create a background of stars... how can I make a 100x100 image of stars that will look like one big sky when repeated, and not like a bunch of square tiles?

I use Photoshop, if that makes a difference.
Logged

"I believe that this nation should commit itself to achieving the goal, before this decade is out, of landing a man on the moon and returning him safely to the earth." - John F. Kennedy

Boris
Master Jedi
*****
Offline Offline

Posts: 1082



WWW
« Reply #1 on: March 21, 2003, 01:07:00 AM »

if you use photoshop:

Create your image.

Filter>Other>Offset "(check preview+ wrap around : Make sure the seems are in the middle of your image)

Blur, smudge, sharpen, clone tool, so you make the seems invisible (takes some time and practice but since youre making a starry background..it wont be that complicated    "[Wink]"  )

Filter>Other>Offset (same values than before, but negatives )

There you go. Should work now  "[Smile]"

Other methods :

You should be able to do this also by creating a pattern  of about 32*32, 64*64, 128*128 (well you get the idea ) and use i forgot what command in photoshop (if you want i'll find it again!)

But offset is always your best friend when making seamless stuff.

(theres also a couple filters that do it for you. You might also want to check the Xchange see if there's an action that do it. Im sure there is  "[Smile]"

 Adobe Studio Xchange )
Logged

Questions on graphics? Visit the lunarpages Graphics forum!

Bugging Danielle daily since 2003.

Have a Lunar Day!
KJones
Galactic Royalty
*****
Offline Offline

Posts: 313



WWW
« Reply #2 on: March 21, 2003, 01:56:00 AM »

Thanks! I'll need a bit of practice but it works great. Much easier than I expected.  "[Smile]"
Logged

"I believe that this nation should commit itself to achieving the goal, before this decade is out, of landing a man on the moon and returning him safely to the earth." - John F. Kennedy

Boris
Master Jedi
*****
Offline Offline

Posts: 1082



WWW
« Reply #3 on: March 21, 2003, 04:23:00 PM »

Sure thing  "[Smile]"
Logged

Questions on graphics? Visit the lunarpages Graphics forum!

Bugging Danielle daily since 2003.

Have a Lunar Day!
Brian
Jedi
*****
Offline Offline

Posts: 874


WWW
« Reply #4 on: March 21, 2003, 04:29:00 PM »

she said what i was going to say. good job  "[Smile]"
Logged

Bluelight
Jedi
*****
Offline Offline

Posts: 836


« Reply #5 on: March 21, 2003, 02:21:00 PM »

You can also check this shareware texture maker

Texture maker

The current shareware version used to have a free version named TTM 32....maybe you can find that one somewhere.

It used to be on many computermag cd disc`s two three years ago.

That one is really good.

Bluelight
Logged
MikeBoger
Jabba the Hutt
*****
Offline Offline

Posts: 654



WWW
« Reply #6 on: March 23, 2003, 10:49:00 AM »

Autarkis touched up on this a bit, but I'll go ahead and clarify.  If you do Filter->Render->Clouds and do it at a size that is divisible by 64, it will automatically do a seamless texture.  

When doing clouds, your foreground and background colours determine the makeup of the clouds, so go with something like black and dark blue for a nice night sky colour.

The stars can be done several different ways, depending on the type of stars you want.  Here is a method for a semi-realistic star field:

-Create a new layer above your black and blue cloud layer and fill it with black.
-Filter->Noise->Add Noise and select about 50% for the amount, gaussian for the distro and check off monochromatic.

-Filter->Blur->Gaussian Blur and do between 1 and 2 pixels.  This will soften the noise a bit and give us different sized stars later on.

-Image->Adjustments->Thresholds.  Here you'll see a histogram that looks something like an anthill.  At the bottom of the histogram, you'll see a little arrow that you can move.  Move the arrow towards the right side of the "ant hill" and you'll notice your stars will start to pop out.  The further over you move the arrow, the more the stars will pop out.  Having it about 3/4ths to the right seems about right for this.

-Filter->Blur->Gaussian Blur again at around 1 or 2 to soften the edges.  

-You should now have what look like stars on a black background.  Change your blending mode for the layer with the stars on it to Screen.  You should now have stars against a night sky.

-Now you can use Filter->Other->Offset on your star layer to make sure it's seamless.  For the number of pixels to shift, you should do half of your total image size for both horizontal and vertical.  If you are going with 64x64, horizontal should be 32 and vertical should be 32.

-Now that you've offset the stars, you'll see some large gaps where there aren't any stars and some "half stars" where there was a star drawn on the border.  You can make new stars with a light grey brush and delete half stars with a black brush.  

-Do Filter->Other->Offset a few more times just to make sure you fixed up any seams.

And that's it for a simple star pattern.  If you want to make a larger one with planets and nebulas (nebuli?  nebulae?  Whatever the word is for more than one nebula), then just follow the same steps with the offsetting, fixing seams, and offsetting again.

I'm going to do one up really quickly here to make sure I know what I'm talking about.  I'll post it below.
Logged

MikeBoger
Jabba the Hutt
*****
Offline Offline

Posts: 654



WWW
« Reply #7 on: March 23, 2003, 10:59:00 AM »

Here is the single image:

 

And here is the same image tiled a few times:
   

I missed one little star chunk (on the single image, look at the bottom middle), but it's midnight and I did it quickly.  Hehe.  Ok, I need sleep.  Hope this helped.
Logged

KJones
Galactic Royalty
*****
Offline Offline

Posts: 313



WWW
« Reply #8 on: March 23, 2003, 11:13:00 AM »

Very cool... I can tell I still have a lot to learn about Photoshop.

Kel
Logged

"I believe that this nation should commit itself to achieving the goal, before this decade is out, of landing a man on the moon and returning him safely to the earth." - John F. Kennedy

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM