Home
JTexture Help
Gallery
Downloads
Links
MichaelGuo.com

Turn off | Turn on background image

JTexture Help

One Minute Guide to Using JTexture

  1. Double-click JTexture.jar to start. If you can't run it, then you likely need the Java Runtime Environment. (This links to J2SE 1.4.2_04 JRE.)
  2. Click on File->Open (Ctrl-O) and open a sample texture.
  3. Adjust the parameters as necessary:
    • Patch Size: This refers to the size in pixels of square patches copied from the sample texture.
    • Overlap: This refers to the width in pixels of the overlapping region between patches.
    • Output Size: This sets the size of the output texture. Note that not all of the pixels will necessarily be filled, as the program does not yet support partial patches.
    • Transformations:
      • Mirror: This will mirror the sample texture horizontally and vertically, increasing the search space.
      • Rotate: This will rotate the sample texture by 90°, 180° and 270°, increasing the search space.
      • Stretch: This has not yet been implemented but would enable you to create textures with perspective.
    • Overlap:
      • Minimum cut: This performs a minimum error boundary cut in the overlapping regions between patches.
      • Blend: This blends the overlap region. It doesn't give as good results as a minimum cut, but it is much faster.
      • None: This simply copies over the entire new patch, overwriting the overlapping area. This gives obviously bad results, but it is blazingly fast.
    • Click and drag on the sample texture to change the search area. A pink rectangle will appear where the algorithm is allowed to search for a new patch. To clear the search area, simply drag a new rectangle or go to Texture->Clear Search Area.
  4. Click the "Grow Texture" button. The texture synthesis algorithm will run, and you will see the new texture growing in the "New Texture" frame. The "Grow Texture" button becomes a "Pause" button. Click it to pause or continue texture synthesis.
  5. Adjust parameters as necessary. You can adjust the patch size, overlap, what transformations occur, which overlap is allowed, and the search area dynamically while the algorithm is running. If the application is running too quickly, then click the "Pause" button to adjust settings. Then, click the "Continue" button to continue texture synthesis.
  6. A dialog box will appear when texture synthesis completes. Click "OK". To save your results, go to File->Save As (Ctrl-S). The file will be saved as JPEG.
  7. To start a new texture, go to File->Open. Note that you can do this at any time.
Home
JTexture Help
Gallery
Downloads
Links
MichaelGuo.com