The New Big Terrain Thread
OK, I've edited, checked and re-edited the height map about 20 times, and I'm getting to the point of diminishing returns; that is, there are still small problems hiding, but the work to fix them is much greater than the degree of improvement that results, so I think I'm about done. I still have to rework the texture assignments for the new textureset release, but the shaping is all done. Time for a few more preview shots. From the southwest, Corfe Castle should look like this:
I guess we'll need to generate a castle ruins object to decorate the hill, viewed here through a hedge:
Now, here is how Rowan had rendered Poole Harbour:
Compare with a view of the new Poole Harbour region, still in 2.07 textureset colours. Brownsea Island now exists, where it should be, and the town of Poole has appeared, as well as various Bournemouth suburbs:
I guess we'll need to generate a castle ruins object to decorate the hill, viewed here through a hedge:
Now, here is how Rowan had rendered Poole Harbour:
Compare with a view of the new Poole Harbour region, still in 2.07 textureset colours. Brownsea Island now exists, where it should be, and the town of Poole has appeared, as well as various Bournemouth suburbs:
Speaking of heightfields, some areas just aren't very detailed and rightly so given the resolution of SRTM. For instance Wake Is's highest elevation is 6m if I recall, so not much detail in the STRM map. In this instance I decided to make the heightfield from the landuse map. Can't post ingame shot since my BOB is running verrrry poorly for some reason (no sound either). But here are some shots of how one can go about making a heightfield in a 3rd party application like L3dt. You could also use a paint program but it is a tad more time consuming. Having the ability to raise, lower, smooth etc in real time is a much more pleasant experience. Just got to work out my export since the elevations in game are twice what they should be.
Hey, cool stuff. The notion of being able to do the smoothings and repairs to the height model in an interactive 3D environment instead of banging back and forth into mtt2 is a very appealing idea, but I can't see how it can work, as mtt2 has final say over how the polys are drawn, and it won't care what some other program thinks the heightmap looks like. I would think that with a rugged surface, you could make it look beautiful in your l3dt, then import the files into mtt2 and it would make its usual hash of it.
...You got some USN catbirds an carriers to go with that beach?
...You got some USN catbirds an carriers to go with that beach?
I wish we did.
Yep, mtt2 mucks up the heightfield but being able to drape the landuse map means that I was able to confine elevations greater than 0 away from the shoreline. It would also help in areas where you might want to raise the land for a bridge. You can also edit the landuse map in the program as well.
Yep, mtt2 mucks up the heightfield but being able to drape the landuse map means that I was able to confine elevations greater than 0 away from the shoreline. It would also help in areas where you might want to raise the land for a bridge. You can also edit the landuse map in the program as well.
-
- BDG
- Posts: 652
- Joined: 15 Feb 2005, 17:03
Hey, thanks Mike! Yeah, you should see all the preliminary shots full of unintended cliffs and ravines that had to beHurricaneHicken wrote:Hi Pete.
It's only someone who's worked with the joy that's MTT2 on the landscape that knows just how good that looks.
Seriously good work mate.
Mike
squashed like bugs, one by one. Next step is to readjust the textures on the airfields in France - again! - to account for
Paul's new texture assignments, and then we'll have the next terrain ready for release.
Then time for another rewrite of the tutorial, and a look at possible ways to make this process easier.
So how's the life of a publican? You printing money yet?
Since this is a sort of tips for terrains, I'll add this brief suggestion here.
-Shooting mtt2 lots of commands at once.
Not really spoken about since most terrain editing to date has been replacing small amounts of tiles in the BoB world. However, should you want to add lots of new ones all at once you can write a .bat to do the tedious command insertion. Mtt2 works well with them and if you stick to a few numerical rules you can process lots of terrain in one run. Ideally you'd also be able to pull out lots of BOB tiles using a similar method but given the bad tiles around I think it would fail. Never the less here is how "I" process lots of terrain tile. This .bat was generated from a spread sheet where you can easily control certain fields. Just save your spreadsheet as .txt delineated by tabs and then change the file extension to .bat .
For these commands to work I have to adhere to a few rules. First my landuse and heightfield image blocks each equal 8193px WITHOUT the magenta (purple) border. They are 8193px in length and width because we want to have the seams with subsequently added blocks nice and clean . Getting overlapping rows and columns of pixels that create seamless blocks is best achieved by duplicating the pixels from one block to the next. It needs to be done for both the land use and heightfield textures.
There are some exceptions for the 8193px blocks and these relate to the blocks that make up the last row and column of our overall map. For instance at the X and Y coordinate of 0 480 my images need to lack the overlapping pixel on the x axis. Similarly, my entire Y 480 blocks need to lack the overlapping pixel along the y axis. One final rule is that the very last block or at x480 y480 must both lack the overlapping pixel on the x and y axis.
This ultimately packs an image that is 131072px by 131072px and if you had the means to create an image that large you'd not need to break it up like this. Essentially, I broke the image up into 256 (16 by 16) of the smaller more manageable blocks. They are added using their NW coordinate, but as noted in other tutorials the image we use as a reference has the y axis inverted (see below).
This process makes adding blocks very easy, however creating the images for the blocks is the real challenge. I'm sure this will confuse others but when you get to a point where all your images for that NEW map are ready to be plugged in this methods speeds the process up.
Examples of a Land use map with only a few variables.
end results.......
-Shooting mtt2 lots of commands at once.
Not really spoken about since most terrain editing to date has been replacing small amounts of tiles in the BoB world. However, should you want to add lots of new ones all at once you can write a .bat to do the tedious command insertion. Mtt2 works well with them and if you stick to a few numerical rules you can process lots of terrain in one run. Ideally you'd also be able to pull out lots of BOB tiles using a similar method but given the bad tiles around I think it would fail. Never the less here is how "I" process lots of terrain tile. This .bat was generated from a spread sheet where you can easily control certain fields. Just save your spreadsheet as .txt delineated by tabs and then change the file extension to .bat .
For these commands to work I have to adhere to a few rules. First my landuse and heightfield image blocks each equal 8193px WITHOUT the magenta (purple) border. They are 8193px in length and width because we want to have the seams with subsequently added blocks nice and clean . Getting overlapping rows and columns of pixels that create seamless blocks is best achieved by duplicating the pixels from one block to the next. It needs to be done for both the land use and heightfield textures.
There are some exceptions for the 8193px blocks and these relate to the blocks that make up the last row and column of our overall map. For instance at the X and Y coordinate of 0 480 my images need to lack the overlapping pixel on the x axis. Similarly, my entire Y 480 blocks need to lack the overlapping pixel along the y axis. One final rule is that the very last block or at x480 y480 must both lack the overlapping pixel on the x and y axis.
Code: Select all
Height Map Landuse specific x y
mtt2.exe -dr 640_x0y0.tif -r attribute_x0y0.pcx -qbw 0 0
mtt2.exe -dr 640_x1y0.tif -r attribute_x1y0.pcx -qbw 32 0
mtt2.exe -dr 640_x2y0.tif -r attribute_x2y0.pcx -qbw 64 0
mtt2.exe -dr 640_x3y0.tif -r attribute_x3y0.pcx -qbw 96 0
mtt2.exe -dr 640_x4y0.tif -r attribute_x4y0.pcx -qbw 128 0
mtt2.exe -dr 640_x5y0.tif -r attribute_x5y0.pcx -qbw 160 0
mtt2.exe -dr 640_x6y0.tif -r attribute_x6y0.pcx -qbw 192 0
mtt2.exe -dr 640_x7y0.tif -r attribute_x7y0.pcx -qbw 224 0
mtt2.exe -dr 640_x8y0.tif -r attribute_x8y0.pcx -qbw 256 0
mtt2.exe -dr 640_x9y0.tif -r attribute_x9y0.pcx -qbw 288 0
mtt2.exe -dr 640_x10y0.tif -r attribute_x10y0.pcx -qbw 320 0
mtt2.exe -dr 640_x11y0.tif -r attribute_x11y0.pcx -qbw 352 0
mtt2.exe -dr 640_x12y0.tif -r attribute_x12y0.pcx -qbw 384 0
mtt2.exe -dr 640_x13y0.tif -r attribute_x13y0.pcx -qbw 416 0
mtt2.exe -dr 640_x14y0.tif -r attribute_x14y0.pcx -qbw 448 0
mtt2.exe -dr 640_x15y0.tif -r attribute_x15y0.pcx -qbw 480 0
mtt2.exe -dr 640_x0y1.tif -r attribute_x0y1.pcx -qbw 0 0
mtt2.exe -dr 640_x1y1.tif -r attribute_x1y1.pcx -qbw 32 32
mtt2.exe -dr 640_x2y1.tif -r attribute_x2y1.pcx -qbw 64 32
mtt2.exe -dr 640_x3y1.tif -r attribute_x3y1.pcx -qbw 96 32
mtt2.exe -dr 640_x4y1.tif -r attribute_x4y1.pcx -qbw 128 32
mtt2.exe -dr 640_x5y1.tif -r attribute_x5y1.pcx -qbw 160 32
mtt2.exe -dr 640_x6y1.tif -r attribute_x6y1.pcx -qbw 192 32
mtt2.exe -dr 640_x7y1.tif -r attribute_x7y1.pcx -qbw 224 32
mtt2.exe -dr 640_x8y1.tif -r attribute_x8y1.pcx -qbw 256 32
mtt2.exe -dr 640_x9y1.tif -r attribute_x9y1.pcx -qbw 288 32
mtt2.exe -dr 640_x10y1.tif -r attribute_x10y1.pcx -qbw 320 32
mtt2.exe -dr 640_x11y1.tif -r attribute_x11y1.pcx -qbw 352 32
mtt2.exe -dr 640_x12y1.tif -r attribute_x12y1.pcx -qbw 384 32
mtt2.exe -dr 640_x13y1.tif -r attribute_x13y1.pcx -qbw 416 32
mtt2.exe -dr 640_x14y1.tif -r attribute_x14y1.pcx -qbw 448 32
mtt2.exe -dr 640_x15y1.tif -r attribute_x15y1.pcx -qbw 480 32
mtt2.exe -dr 640_x0y2.tif -r attribute_x0y2.pcx -qbw 0 64
mtt2.exe -dr 640_x1y2.tif -r attribute_x1y2.pcx -qbw 32 64
mtt2.exe -dr 640_x2y2.tif -r attribute_x2y2.pcx -qbw 64 64
mtt2.exe -dr 640_x3y2.tif -r attribute_x3y2.pcx -qbw 96 64
mtt2.exe -dr 640_x4y2.tif -r attribute_x4y2.pcx -qbw 128 64
mtt2.exe -dr 640_x5y2.tif -r attribute_x5y2.pcx -qbw 160 64
mtt2.exe -dr 640_x6y2.tif -r attribute_x6y2.pcx -qbw 192 64
mtt2.exe -dr 640_x7y2.tif -r attribute_x7y2.pcx -qbw 224 64
mtt2.exe -dr 640_x8y2.tif -r attribute_x8y2.pcx -qbw 256 64
mtt2.exe -dr 640_x9y2.tif -r attribute_x9y2.pcx -qbw 288 64
mtt2.exe -dr 640_x10y2.tif -r attribute_x10y2.pcx -qbw 320 64
mtt2.exe -dr 640_x11y2.tif -r attribute_x11y2.pcx -qbw 352 64
mtt2.exe -dr 640_x12y2.tif -r attribute_x12y2.pcx -qbw 384 64
mtt2.exe -dr 640_x13y2.tif -r attribute_x13y2.pcx -qbw 416 64
mtt2.exe -dr 640_x14y2.tif -r attribute_x14y2.pcx -qbw 448 64
mtt2.exe -dr 640_x15y2.tif -r attribute_x15y2.pcx -qbw 480 64
mtt2.exe -dr 640_x0y3.tif -r attribute_x0y3.pcx -qbw 0 96
mtt2.exe -dr 640_x1y3.tif -r attribute_x1y3.pcx -qbw 32 96
mtt2.exe -dr 640_x2y3.tif -r attribute_x2y3.pcx -qbw 64 96
mtt2.exe -dr 640_x3y3.tif -r attribute_x3y3.pcx -qbw 96 96
mtt2.exe -dr 640_x4y3.tif -r attribute_x4y3.pcx -qbw 128 96
mtt2.exe -dr 640_x5y3.tif -r attribute_x5y3.pcx -qbw 160 96
mtt2.exe -dr 640_x6y3.tif -r attribute_x6y3.pcx -qbw 192 96
mtt2.exe -dr 640_x7y3.tif -r attribute_x7y3.pcx -qbw 224 96
mtt2.exe -dr 640_x8y3.tif -r attribute_x8y3.pcx -qbw 256 96
mtt2.exe -dr 640_x9y3.tif -r attribute_x9y3.pcx -qbw 288 96
mtt2.exe -dr 640_x10y3.tif -r attribute_x10y3.pcx -qbw 320 96
mtt2.exe -dr 640_x11y3.tif -r attribute_x11y3.pcx -qbw 352 96
mtt2.exe -dr 640_x12y3.tif -r attribute_x12y3.pcx -qbw 384 96
mtt2.exe -dr 640_x13y3.tif -r attribute_x13y3.pcx -qbw 416 96
mtt2.exe -dr 640_x14y3.tif -r attribute_x14y3.pcx -qbw 448 96
mtt2.exe -dr 640_x15y3.tif -r attribute_x15y3.pcx -qbw 480 96
mtt2.exe -dr 640_x0y4.tif -r attribute_x0y4.pcx -qbw 0 128
mtt2.exe -dr 640_x1y4.tif -r attribute_x1y4.pcx -qbw 32 128
mtt2.exe -dr 640_x2y4.tif -r attribute_x2y4.pcx -qbw 64 128
mtt2.exe -dr 640_x3y4.tif -r attribute_x3y4.pcx -qbw 96 128
mtt2.exe -dr 640_x4y4.tif -r attribute_x4y4.pcx -qbw 128 128
mtt2.exe -dr 640_x5y4.tif -r attribute_x5y4.pcx -qbw 160 128
mtt2.exe -dr 640_x6y4.tif -r attribute_x6y4.pcx -qbw 192 128
mtt2.exe -dr 640_x7y4.tif -r attribute_x7y4.pcx -qbw 224 128
mtt2.exe -dr 640_x8y4.tif -r attribute_x8y4.pcx -qbw 256 128
mtt2.exe -dr 640_x9y4.tif -r attribute_x9y4.pcx -qbw 288 128
mtt2.exe -dr 640_x10y4.tif -r attribute_x10y4.pcx -qbw 320 128
mtt2.exe -dr 640_x11y4.tif -r attribute_x11y4.pcx -qbw 352 128
mtt2.exe -dr 640_x12y4.tif -r attribute_x12y4.pcx -qbw 384 128
mtt2.exe -dr 640_x13y4.tif -r attribute_x13y4.pcx -qbw 416 128
mtt2.exe -dr 640_x14y4.tif -r attribute_x14y4.pcx -qbw 448 128
mtt2.exe -dr 640_x15y4.tif -r attribute_x15y4.pcx -qbw 480 128
mtt2.exe -dr 640_x0y5.tif -r attribute_x0y5.pcx -qbw 0 160
mtt2.exe -dr 640_x1y5.tif -r attribute_x1y5.pcx -qbw 32 160
mtt2.exe -dr 640_x2y5.tif -r attribute_x2y5.pcx -qbw 64 160
mtt2.exe -dr 640_x3y5.tif -r attribute_x3y5.pcx -qbw 96 160
mtt2.exe -dr 640_x4y5.tif -r attribute_x4y5.pcx -qbw 128 160
mtt2.exe -dr 640_x5y5.tif -r attribute_x5y5.pcx -qbw 160 160
mtt2.exe -dr 640_x6y5.tif -r attribute_x6y5.pcx -qbw 192 160
mtt2.exe -dr 640_x7y5.tif -r attribute_x7y5.pcx -qbw 224 160
mtt2.exe -dr 640_x8y5.tif -r attribute_x8y5.pcx -qbw 256 160
mtt2.exe -dr 640_x9y5.tif -r attribute_x9y5.pcx -qbw 288 160
mtt2.exe -dr 640_x10y5.tif -r attribute_x10y5.pcx -qbw 320 160
mtt2.exe -dr 640_x11y5.tif -r attribute_x11y5.pcx -qbw 352 160
mtt2.exe -dr 640_x12y5.tif -r attribute_x12y5.pcx -qbw 384 160
mtt2.exe -dr 640_x13y5.tif -r attribute_x13y5.pcx -qbw 416 160
mtt2.exe -dr 640_x14y5.tif -r attribute_x14y5.pcx -qbw 448 160
mtt2.exe -dr 640_x15y5.tif -r attribute_x15y5.pcx -qbw 480 160
mtt2.exe -dr 640_x0y6.tif -r attribute_x0y6.pcx -qbw 0 192
mtt2.exe -dr 640_x1y6.tif -r attribute_x1y6.pcx -qbw 32 192
mtt2.exe -dr 640_x2y6.tif -r attribute_x2y6.pcx -qbw 64 192
mtt2.exe -dr 640_x3y6.tif -r attribute_x3y6.pcx -qbw 96 192
mtt2.exe -dr 640_x4y6.tif -r attribute_x4y6.pcx -qbw 128 192
mtt2.exe -dr 640_x5y6.tif -r attribute_x5y6.pcx -qbw 160 192
mtt2.exe -dr 640_x6y6.tif -r attribute_x6y6.pcx -qbw 192 192
mtt2.exe -dr 640_x7y6.tif -r attribute_x7y6.pcx -qbw 224 192
mtt2.exe -dr 640_x8y6.tif -r attribute_x8y6.pcx -qbw 256 192
mtt2.exe -dr 640_x9y6.tif -r attribute_x9y6.pcx -qbw 288 192
mtt2.exe -dr 640_x10y6.tif -r attribute_x10y6.pcx -qbw 320 192
mtt2.exe -dr 640_x11y6.tif -r attribute_x11y6.pcx -qbw 352 192
mtt2.exe -dr 640_x12y6.tif -r attribute_x12y6.pcx -qbw 384 192
mtt2.exe -dr 640_x13y6.tif -r attribute_x13y6.pcx -qbw 416 192
mtt2.exe -dr 640_x14y6.tif -r attribute_x14y6.pcx -qbw 448 192
mtt2.exe -dr 640_x15y6.tif -r attribute_x15y6.pcx -qbw 480 192
mtt2.exe -dr 640_x0y7.tif -r attribute_x0y7.pcx -qbw 0 224
mtt2.exe -dr 640_x1y7.tif -r attribute_x1y7.pcx -qbw 32 224
mtt2.exe -dr 640_x2y7.tif -r attribute_x2y7.pcx -qbw 64 224
mtt2.exe -dr 640_x3y7.tif -r attribute_x3y7.pcx -qbw 96 224
mtt2.exe -dr 640_x4y7.tif -r attribute_x4y7.pcx -qbw 128 224
mtt2.exe -dr 640_x5y7.tif -r attribute_x5y7.pcx -qbw 160 224
mtt2.exe -dr 640_x6y7.tif -r attribute_x6y7.pcx -qbw 192 224
mtt2.exe -dr 640_x7y7.tif -r attribute_x7y7.pcx -qbw 224 224
mtt2.exe -dr 640_x8y7.tif -r attribute_x8y7.pcx -qbw 256 224
mtt2.exe -dr 640_x9y7.tif -r attribute_x9y7.pcx -qbw 288 224
mtt2.exe -dr 640_x10y7.tif -r attribute_x10y7.pcx -qbw 320 224
mtt2.exe -dr 640_x11y7.tif -r attribute_x11y7.pcx -qbw 352 224
mtt2.exe -dr 640_x12y7.tif -r attribute_x12y7.pcx -qbw 384 224
mtt2.exe -dr 640_x13y7.tif -r attribute_x13y7.pcx -qbw 416 224
mtt2.exe -dr 640_x14y7.tif -r attribute_x14y7.pcx -qbw 448 224
mtt2.exe -dr 640_x15y7.tif -r attribute_x15y7.pcx -qbw 480 224
mtt2.exe -dr 640_x0y8.tif -r attribute_x0y8.pcx -qbw 0 256
mtt2.exe -dr 640_x1y8.tif -r attribute_x1y8.pcx -qbw 32 256
mtt2.exe -dr 640_x2y8.tif -r attribute_x2y8.pcx -qbw 64 256
mtt2.exe -dr 640_x3y8.tif -r attribute_x3y8.pcx -qbw 96 256
mtt2.exe -dr 640_x4y8.tif -r attribute_x4y8.pcx -qbw 128 256
mtt2.exe -dr 640_x5y8.tif -r attribute_x5y8.pcx -qbw 160 256
mtt2.exe -dr 640_x6y8.tif -r attribute_x6y8.pcx -qbw 192 256
mtt2.exe -dr 640_x7y8.tif -r attribute_x7y8.pcx -qbw 224 256
mtt2.exe -dr 640_x8y8.tif -r attribute_x8y8.pcx -qbw 256 256
mtt2.exe -dr 640_x9y8.tif -r attribute_x9y8.pcx -qbw 288 256
mtt2.exe -dr 640_x10y8.tif -r attribute_x10y8.pcx -qbw 320 256
mtt2.exe -dr 640_x11y8.tif -r attribute_x11y8.pcx -qbw 352 256
mtt2.exe -dr 640_x12y8.tif -r attribute_x12y8.pcx -qbw 384 256
mtt2.exe -dr 640_x13y8.tif -r attribute_x13y8.pcx -qbw 416 256
mtt2.exe -dr 640_x14y8.tif -r attribute_x14y8.pcx -qbw 448 256
mtt2.exe -dr 640_x15y8.tif -r attribute_x15y8.pcx -qbw 480 256
mtt2.exe -dr 640_x0y9.tif -r attribute_x0y9.pcx -qbw 0 288
mtt2.exe -dr 640_x1y9.tif -r attribute_x1y9.pcx -qbw 32 288
mtt2.exe -dr 640_x2y9.tif -r attribute_x2y9.pcx -qbw 64 288
mtt2.exe -dr 640_x3y9.tif -r attribute_x3y9.pcx -qbw 96 288
mtt2.exe -dr 640_x4y9.tif -r attribute_x4y9.pcx -qbw 128 288
mtt2.exe -dr 640_x5y9.tif -r attribute_x5y9.pcx -qbw 160 288
mtt2.exe -dr 640_x6y9.tif -r attribute_x6y9.pcx -qbw 192 288
mtt2.exe -dr 640_x7y9.tif -r attribute_x7y9.pcx -qbw 224 288
mtt2.exe -dr 640_x8y9.tif -r attribute_x8y9.pcx -qbw 256 288
mtt2.exe -dr 640_x9y9.tif -r attribute_x9y9.pcx -qbw 288 288
mtt2.exe -dr 640_x10y9.tif -r attribute_x10y9.pcx -qbw 320 288
mtt2.exe -dr 640_x11y9.tif -r attribute_x11y9.pcx -qbw 352 288
mtt2.exe -dr 640_x12y9.tif -r attribute_x12y9.pcx -qbw 384 288
mtt2.exe -dr 640_x13y9.tif -r attribute_x13y9.pcx -qbw 416 288
mtt2.exe -dr 640_x14y9.tif -r attribute_x14y9.pcx -qbw 448 288
mtt2.exe -dr 640_x15y9.tif -r attribute_x15y9.pcx -qbw 480 288
mtt2.exe -dr 640_x0y10.tif -r attribute_x0y10.pcx -qbw 0 320
mtt2.exe -dr 640_x1y10.tif -r attribute_x1y10.pcx -qbw 32 320
mtt2.exe -dr 640_x2y10.tif -r attribute_x2y10.pcx -qbw 64 320
mtt2.exe -dr 640_x3y10.tif -r attribute_x3y10.pcx -qbw 96 320
mtt2.exe -dr 640_x4y10.tif -r attribute_x4y10.pcx -qbw 128 320
mtt2.exe -dr 640_x5y10.tif -r attribute_x5y10.pcx -qbw 160 320
mtt2.exe -dr 640_x6y10.tif -r attribute_x6y10.pcx -qbw 192 320
mtt2.exe -dr 640_x7y10.tif -r attribute_x7y10.pcx -qbw 224 320
mtt2.exe -dr 640_x8y10.tif -r attribute_x8y10.pcx -qbw 256 320
mtt2.exe -dr 640_x9y10.tif -r attribute_x9y10.pcx -qbw 288 320
mtt2.exe -dr 640_x10y10.tif -r attribute_x10y10.pcx -qbw 320 320
mtt2.exe -dr 640_x11y10.tif -r attribute_x11y10.pcx -qbw 352 320
mtt2.exe -dr 640_x12y10.tif -r attribute_x12y10.pcx -qbw 384 320
mtt2.exe -dr 640_x13y10.tif -r attribute_x13y10.pcx -qbw 416 320
mtt2.exe -dr 640_x14y10.tif -r attribute_x14y10.pcx -qbw 448 320
mtt2.exe -dr 640_x15y10.tif -r attribute_x15y10.pcx -qbw 480 320
mtt2.exe -dr 640_x0y11.tif -r attribute_x0y11.pcx -qbw 0 352
mtt2.exe -dr 640_x1y11.tif -r attribute_x1y11.pcx -qbw 32 352
mtt2.exe -dr 640_x2y11.tif -r attribute_x2y11.pcx -qbw 64 352
mtt2.exe -dr 640_x3y11.tif -r attribute_x3y11.pcx -qbw 96 352
mtt2.exe -dr 640_x4y11.tif -r attribute_x4y11.pcx -qbw 128 352
mtt2.exe -dr 640_x5y11.tif -r attribute_x5y11.pcx -qbw 160 352
mtt2.exe -dr 640_x6y11.tif -r attribute_x6y11.pcx -qbw 192 352
mtt2.exe -dr 640_x7y11.tif -r attribute_x7y11.pcx -qbw 224 352
mtt2.exe -dr 640_x8y11.tif -r attribute_x8y11.pcx -qbw 256 352
mtt2.exe -dr 640_x9y11.tif -r attribute_x9y11.pcx -qbw 288 352
mtt2.exe -dr 640_x10y11.tif -r attribute_x10y11.pcx -qbw 320 352
mtt2.exe -dr 640_x11y11.tif -r attribute_x11y11.pcx -qbw 352 352
mtt2.exe -dr 640_x12y11.tif -r attribute_x12y11.pcx -qbw 384 352
mtt2.exe -dr 640_x13y11.tif -r attribute_x13y11.pcx -qbw 416 352
mtt2.exe -dr 640_x14y11.tif -r attribute_x14y11.pcx -qbw 448 352
mtt2.exe -dr 640_x15y11.tif -r attribute_x15y11.pcx -qbw 480 352
mtt2.exe -dr 640_x0y12.tif -r attribute_x0y12.pcx -qbw 0 384
mtt2.exe -dr 640_x1y12.tif -r attribute_x1y12.pcx -qbw 32 384
mtt2.exe -dr 640_x2y12.tif -r attribute_x2y12.pcx -qbw 64 384
mtt2.exe -dr 640_x3y12.tif -r attribute_x3y12.pcx -qbw 96 384
mtt2.exe -dr 640_x4y12.tif -r attribute_x4y12.pcx -qbw 128 384
mtt2.exe -dr 640_x5y12.tif -r attribute_x5y12.pcx -qbw 160 384
mtt2.exe -dr 640_x6y12.tif -r attribute_x6y12.pcx -qbw 192 384
mtt2.exe -dr 640_x7y12.tif -r attribute_x7y12.pcx -qbw 224 384
mtt2.exe -dr 640_x8y12.tif -r attribute_x8y12.pcx -qbw 256 384
mtt2.exe -dr 640_x9y12.tif -r attribute_x9y12.pcx -qbw 288 384
mtt2.exe -dr 640_x10y12.tif -r attribute_x10y12.pcx -qbw 320 384
mtt2.exe -dr 640_x11y12.tif -r attribute_x11y12.pcx -qbw 352 384
mtt2.exe -dr 640_x12y12.tif -r attribute_x12y12.pcx -qbw 384 384
mtt2.exe -dr 640_x13y12.tif -r attribute_x13y12.pcx -qbw 416 384
mtt2.exe -dr 640_x14y12.tif -r attribute_x14y12.pcx -qbw 448 384
mtt2.exe -dr 640_x15y12.tif -r attribute_x15y12.pcx -qbw 480 384
mtt2.exe -dr 640_x0y13.tif -r attribute_x0y13.pcx -qbw 0 416
mtt2.exe -dr 640_x1y13.tif -r attribute_x1y13.pcx -qbw 32 416
mtt2.exe -dr 640_x2y13.tif -r attribute_x2y13.pcx -qbw 64 416
mtt2.exe -dr 640_x3y13.tif -r attribute_x3y13.pcx -qbw 96 416
mtt2.exe -dr 640_x4y13.tif -r attribute_x4y13.pcx -qbw 128 416
mtt2.exe -dr 640_x5y13.tif -r attribute_x5y13.pcx -qbw 160 416
mtt2.exe -dr 640_x6y13.tif -r attribute_x6y13.pcx -qbw 192 416
mtt2.exe -dr 640_x7y13.tif -r attribute_x7y13.pcx -qbw 224 416
mtt2.exe -dr 640_x8y13.tif -r attribute_x8y13.pcx -qbw 256 416
mtt2.exe -dr 640_x9y13.tif -r attribute_x9y13.pcx -qbw 288 416
mtt2.exe -dr 640_x10y13.tif -r attribute_x10y13.pcx -qbw 320 416
mtt2.exe -dr 640_x11y13.tif -r attribute_x11y13.pcx -qbw 352 416
mtt2.exe -dr 640_x12y13.tif -r attribute_x12y13.pcx -qbw 384 416
mtt2.exe -dr 640_x13y13.tif -r attribute_x13y13.pcx -qbw 416 416
mtt2.exe -dr 640_x14y13.tif -r attribute_x14y13.pcx -qbw 448 416
mtt2.exe -dr 640_x15y13.tif -r attribute_x15y13.pcx -qbw 480 416
mtt2.exe -dr 640_x0y14.tif -r attribute_x0y14.pcx -qbw 0 448
mtt2.exe -dr 640_x1y14.tif -r attribute_x1y14.pcx -qbw 32 448
mtt2.exe -dr 640_x2y14.tif -r attribute_x2y14.pcx -qbw 64 448
mtt2.exe -dr 640_x3y14.tif -r attribute_x3y14.pcx -qbw 96 448
mtt2.exe -dr 640_x4y14.tif -r attribute_x4y14.pcx -qbw 128 448
mtt2.exe -dr 640_x5y14.tif -r attribute_x5y14.pcx -qbw 160 448
mtt2.exe -dr 640_x6y14.tif -r attribute_x6y14.pcx -qbw 192 448
mtt2.exe -dr 640_x7y14.tif -r attribute_x7y14.pcx -qbw 224 448
mtt2.exe -dr 640_x8y14.tif -r attribute_x8y14.pcx -qbw 256 448
mtt2.exe -dr 640_x9y14.tif -r attribute_x9y14.pcx -qbw 288 448
mtt2.exe -dr 640_x10y14.tif -r attribute_x10y14.pcx -qbw 320 448
mtt2.exe -dr 640_x11y14.tif -r attribute_x11y14.pcx -qbw 352 448
mtt2.exe -dr 640_x12y14.tif -r attribute_x12y14.pcx -qbw 384 448
mtt2.exe -dr 640_x13y14.tif -r attribute_x13y14.pcx -qbw 416 448
mtt2.exe -dr 640_x14y14.tif -r attribute_x14y14.pcx -qbw 448 448
mtt2.exe -dr 640_x15y14.tif -r attribute_x15y14.pcx -qbw 480 448
mtt2.exe -dr 640_x0y15.tif -r attribute_x0y15.pcx -qbw 0 480
mtt2.exe -dr 640_x1y15.tif -r attribute_x1y15.pcx -qbw 32 480
mtt2.exe -dr 640_x2y15.tif -r attribute_x2y15.pcx -qbw 64 480
mtt2.exe -dr 640_x3y15.tif -r attribute_x3y15.pcx -qbw 96 480
mtt2.exe -dr 640_x4y15.tif -r attribute_x4y15.pcx -qbw 128 480
mtt2.exe -dr 640_x5y15.tif -r attribute_x5y15.pcx -qbw 160 480
mtt2.exe -dr 640_x6y15.tif -r attribute_x6y15.pcx -qbw 192 480
mtt2.exe -dr 640_x7y15.tif -r attribute_x7y15.pcx -qbw 224 480
mtt2.exe -dr 640_x8y15.tif -r attribute_x8y15.pcx -qbw 256 480
mtt2.exe -dr 640_x9y15.tif -r attribute_x9y15.pcx -qbw 288 480
mtt2.exe -dr 640_x10y15.tif -r attribute_x10y15.pcx -qbw 320 480
mtt2.exe -dr 640_x11y15.tif -r attribute_x11y15.pcx -qbw 352 480
mtt2.exe -dr 640_x12y15.tif -r attribute_x12y15.pcx -qbw 384 480
mtt2.exe -dr 640_x13y15.tif -r attribute_x13y15.pcx -qbw 416 480
mtt2.exe -dr 640_x14y15.tif -r attribute_x14y15.pcx -qbw 448 480
mtt2.exe -dr 640_x15y15.tif -r attribute_x15y15.pcx -qbw 480 480
This ultimately packs an image that is 131072px by 131072px and if you had the means to create an image that large you'd not need to break it up like this. Essentially, I broke the image up into 256 (16 by 16) of the smaller more manageable blocks. They are added using their NW coordinate, but as noted in other tutorials the image we use as a reference has the y axis inverted (see below).
This process makes adding blocks very easy, however creating the images for the blocks is the real challenge. I'm sure this will confuse others but when you get to a point where all your images for that NEW map are ready to be plugged in this methods speeds the process up.
Examples of a Land use map with only a few variables.
end results.......
Who is online
Users browsing this forum: No registered users and 22 guests