Results 1 to 10 of 42

Thread: [Award Winner] Tutorial on how to create seamless textures out of anything

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Guild Journeyer Airith's Avatar
    Join Date
    Sep 2007
    Location
    Canada
    Posts
    110

    Post

    Quote Originally Posted by Redrobes View Post
    *snip*
    To run it, put an image to be tiled into that directory and call it start.png. Open up a command prompt and navigate to the directory. Type :-
    Code:
    GenTiled.bat 1 start.png
    *snip*
    Just wanted to say, that you need the contents of the zip in the ImageMagick directory. Took me forever to figure this out, it worked though so I hope it's not just me xD btw: This worked great, now I'm looking for more pictures to make seamless

    and if anyone isn't familiar with cmd prompt (ME ) then to get to the .bat, type "cd <directory of .bat>" and then just enter the code. I spent a lot of time trying to figure out the really easy stuff
    Last edited by Airith; 07-15-2008 at 05:52 PM.
    And our time is flyin', see the candle burnin' low
    Is the new world rising, from the shambles of the old
    ~The Rover - Led Zeppelin

  2. #2
    Administrator Redrobes's Avatar
    Join Date
    Dec 2007
    Location
    England
    Posts
    7,201
    Blog Entries
    8

    Post

    Quote Originally Posted by Airith View Post
    Just wanted to say, that you need the contents of the zip in the ImageMagick directory.
    No you dont. BUT, you do need to ensure that the 'convert.exe' of imagemagick is the one that is used when you run it on the command line. By default you will get the Windows OS conversion utility - in typical MS lets call everything by its most generic name - syndrome (Although IM could have helped itself by calling its command IMConvert.exe too). So when you set up IM, go to the 'path' settings on the computer/advanced/environment vars and double check that IM is before sys32 and then it will be fine. You can test by running up cmd.exe, ensure that the current directory is not sys32 and type convert.exe. If you get a message about converting OS then thats bad. If you get a huge list of image conversion command options then thats good and it should be alright. I would recommend checking and changing the path anyway.

    You should have pinged me if you were having trouble. Its good to know that you tried to have a go tho. Glad it worked ok - its not perfect but its not too bad at most stuff, esp where the pattern is pretty random.

  3. #3

    Post Now a Gimp Script!

    Bit of a thread bump...

    Attached is a Gimp script that makes a seamless tile using this method. It will work on any rectangular image, and creates a new seamless version.

    It registers in the same menu as the default Make Seamless, as Filters->Map->RR Make Seamless...

    The name is "RR Make seamless" (Thanks for the technique, RedRobes, I also credit you and your site in the script.)

    The only parameter is a "Flatten" amount that lets you adjust the amount of high pass to apply. The default is good in most cases.

    Here is an nice autumnal image from CG Texturess
    Click image for larger version. 

Name:	LeavesFloor0025_S.jpg 
Views:	622 
Size:	488.5 KB 
ID:	7126

    And a random sized crop of the upper left hand corner:
    Click image for larger version. 

Name:	seamless_cut.png 
Views:	287 
Size:	303.0 KB 
ID:	7127

    Run through the filter to make a seamless tile:
    Click image for larger version. 

Name:	seamless_tile.png 
Views:	583 
Size:	294.6 KB 
ID:	7128

    And a sample of it tiled (1000x1000):
    Click image for larger version. 

Name:	seamless_sample.jpg 
Views:	412 
Size:	442.0 KB 
ID:	7129

    A zip of the script is attached Just unzip and save into your Gimp script folder...

    -Rob A>
    Attached Files Attached Files

  4. #4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •