Rectangular terrain
Posted: Wed Sep 30, 2009 9:14 pm
Hi,
in my project of drawing different countries, I got stuck with this requisite of terrain maps having to follow the rule 2^N + 1.
For Brazil, height map get about 588x585 pixels. So I stretch it to 1025x1025 (2^10 + 1), no problem.
The problem arrives with Indonesia. Its height map get about 686x252. If I stretch it to 1025x257 or 1025x513 it will get completely distorted. If I stretch it properly (not using part of the available terrain), it will display a strange and useless portion of land. Is there any other solution?
Thanks in advance,
Rodrigo.
in my project of drawing different countries, I got stuck with this requisite of terrain maps having to follow the rule 2^N + 1.
For Brazil, height map get about 588x585 pixels. So I stretch it to 1025x1025 (2^10 + 1), no problem.
The problem arrives with Indonesia. Its height map get about 686x252. If I stretch it to 1025x257 or 1025x513 it will get completely distorted. If I stretch it properly (not using part of the available terrain), it will display a strange and useless portion of land. Is there any other solution?
Thanks in advance,
Rodrigo.