官术网_书友最值得收藏!

Time for action – cropping and enhancing

  1. The pallet looks quite square already. Click on the ruler at the left-hand side of the image, hold down the left mouse button as you do so, and move the mouse to the right.
  2. This sets up a vertical ruler guide. You can move this until it's at the left-hand side edge of the pallet. As you can see, it's completely horizontal.
  3. Do the same with the right-hand side edge, and then use the horizontal ruler at the top of the image to set up the horizontal guides at the top and bottom edges. See the result in the next image.
    Time for action – cropping and enhancing
  4. As you can see, the texture does not need any more straightening. You have now set up four rulers which you can work with. Click on the Crop Tool in the main tool pallet.
  5. Click on the bottom left-hand side corner where the guides cross, and then drag to the top right-hand side. Hit Enter to crop the image.
  6. Now to enhance the colors. Go to Colours | Auto | White Balance.

    Note

    You can try any of the options in the Auto menu to enhance the contrast or color quality in your image. Some will work better than others depending on the image you're editing.

  7. Go to Image | Scale Image.
  8. Type 1024 into the Width box. The Height field updates automatically.
  9. Select Sinc (Lanczos3) in the box marked Interpolation.
  10. Click on the Scale button.
    Time for action – cropping and enhancing
  11. To change the zoom, change the value in the small box located at the bottom of the main window. Try setting it to 100%. You have now zoomed in to the highest level of detail contained in this image.
  12. Go to Filters | Enhance | Unsharp Mask. Click on OK to use the default settings.
  13. Go to File | Undo and File | Redo to look at the difference before and after using this filter.
  14. Go to Image | Canvas Size.
  15. Click the chain icon at the side of the Width and Height fields. Type in 1024 in the Height field.
  16. Click on Centre. Notice the preview image of the pallet moves to the center of the canvas? Now type in 0 into the Y field to move the pallet to the top of the canvas.
  17. Click on Resize.
    Time for action – cropping and enhancing
  18. You have now finished the process for the top of the pallet. Go to File | Save As and find the words Select File Type. Click on the plus sign next to it.
  19. You now have a list of file formats to choose from. Select GIMP XCF Image. It will retain all your image data.
  20. Click on Save.

Note

When saving an image-based project, never save to the original file format, so use Save As, and not Save. Use the GIMP XCF format, which retains all parts of your image project, such as layers, masks, and paths. We will come across these later in this book. Other formats such as PNG and JPG do not retain these elements..

What just happened?

You've created your first game texture, and a good one at that!

  • You made sure the object was square and straight by using ruler guides.
  • You used the guides as references while using the Crop Tool to change the image size.
  • You resized to 1024 pixels wide. This is small enough to keep the file size down, while being one of the recommended standard file sizes.
  • You enhanced the image contrast by using the Auto White Balance filter.
  • You enhanced image sharpness by using Unsharp Mask.
  • You resized the image canvas to make it a square of 1024 x 1024 pixels and made sure the image was positioned at the top of the canvas.

All this won't take you two minutes per texture once you get into it. You've now learned the most useful basic image manipulation skills, and you've had a walk around GIMP to see that it's really not as unfriendly as it might look.

Note

You can access the texture you've got so far in the Download Pack, labeled Chapter3stage01.xcf

主站蜘蛛池模板: 黑龙江省| 广州市| 马边| 宜君县| 冷水江市| 巴彦县| 梧州市| 长兴县| 开封县| 炉霍县| 琼中| 东阳市| 连城县| 新田县| 巫山县| 青海省| 麦盖提县| 大宁县| 丹东市| 牙克石市| 徐汇区| 东辽县| 和龙市| 长乐市| 洮南市| 武清区| 咸阳市| 恩平市| 天柱县| 泸溪县| 大连市| 安顺市| 龙海市| 阿克陶县| 金堂县| 宿松县| 原平市| 电白县| 五常市| 昭通市| 封开县|