Howto:Editing tile textures and materials: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 33: Line 33:


All steps are described using the GIMP software package. Similar tools are available in other image editors.
All steps are described using the GIMP software package. Similar tools are available in other image editors.
* Open one screenshot and enlarge the image size to some larger, square dimension bigger than the planned final size so that there is room for the second screenshot to be pasted in
# Open one screenshot and enlarge the image size to some larger, square dimension bigger than the planned final size so that there is room for the second screenshot to be pasted in
* Paste the second screenshot into place so that the images match up seamlessly
# Paste the second screenshot into place so that the images match up seamlessly
* Select a suitable region of the exact size in pixels (usually 1024 x 1024)
# Select a suitable region of the exact size in pixels (usually 1024 x 1024)
* Use the clone tool to erase unnecessary objects with other parts of the image
# Use the clone tool to erase unnecessary objects with other parts of the image
* Crop to the selection
# Crop to the selection


The picture to the right shows the result of doing this on the two screenshots above. Note that the house, trees and roads are gone, but patterns of tracks in the paddocks remain.
The picture to the right shows the result of doing this on the two screenshots above. Note that the house, trees and roads are gone, but patterns of tracks in the paddocks remain.
Line 45: Line 45:
=== Further manipulations ===
=== Further manipulations ===


* The GIMP "make seamless" tool will create a tile that has no sharp edges at the cost of smearing parts of the tile internally.
* The GIMP "make seamless" tool will create a tile that has no sharp edges at the cost of smearing parts of the tile internally. This is not needed for textures that use the "agriculture" effect.
* Adjusting the blue colour level down will remove the blue tinge that appears in photos taken at some height
* Adjusting the blue colour level down will remove the blue tinge that appears in photos taken at some height
* Adjusting all colour levels using a reference image (not necessarily an orthophoto) can remove various colour distortions
* Adjusting all colour levels using a reference image (not necessarily an orthophoto) can remove various colour distortions
Line 54: Line 54:


If vegetation is sparse the ground colour variation for the vegetated areas (forest and scrub) can be matched with neighbouring grassland and vegetated areas as follows:
If vegetation is sparse the ground colour variation for the vegetated areas (forest and scrub) can be matched with neighbouring grassland and vegetated areas as follows:
* Add a transparent ("alpha") layer to the vegetation image
# Add a transparent ("alpha") layer to the vegetation image
* Select ground areas by colour and clear them. The GIMP checkerboard pattern will show through. Do this repeatedly until only vegetation remains.
# Select ground areas by colour and clear them. The GIMP checkerboard pattern will show through. Do this repeatedly until only vegetation remains.
* Add a non-vegetated image as a lower layer
# Add a non-vegetated image as a lower layer
* Output the merged images to create the vegetated tile
# Output the merged images to create the vegetated tile
* Use the non-vegetated image for e.g. grassland or other neighbouring area
# Use the non-vegetated image for e.g. grassland or other neighbouring area


Because the position on the image is calculated identically for all textures, the variation in ground colour will remain smooth as landcovers are transitioned. This effect is best when vegetation is sparse, as less of the vegetated areas will be cut off at the borders.
Because the position on the texture image is calculated identically for all textures, the variation in ground colour will remain smooth when moving across a landcover transition. This effect is best when vegetation is sparse, as less of the vegetated areas will be cut off at the borders.


=== Checking in FlightGear ===
=== Checking in FlightGear ===
29

edits

Navigation menu