Page 1 of 1

help, my map is shifted

Posted: 23 Nov 2006, 10:40
by Pharanygitis
hello,
i have a new problem. my texturemap is 8192 * 8192 and my metal & highmap is 1025 * 1025....
with mapconv is my map shifted. the texture of my map is further down with the highmap. the hills are at wronger place. :°(

please help.. :( :( :( :(

Posted: 23 Nov 2006, 11:04
by LBPB
post some screens please, so its easyer to help you... :?

Posted: 23 Nov 2006, 12:43
by Pharanygitis
okay.. here the screenshots... :

Image
Image

ingame :(
Image


...so it would have to be.... :( :( :(
Image

Posted: 23 Nov 2006, 12:56
by NOiZE
try using -i with mapconv.

Posted: 23 Nov 2006, 14:07
by LBPB
NOiZE wrote:try using -i with mapconv.
Well thats the first thing I ve thought thats why I asked for screenshots...
anyway from the screens, the map doesn't lok inverted :?

Posted: 23 Nov 2006, 16:38
by LOrDo
You have to invert the heightmap for some reason. Don't ask me why.

Posted: 23 Nov 2006, 16:57
by Forboding Angel
dude...

turn your terrain lod up.

Look just press the "Home" button and hold it down till it says 300 (while in your map). Right now it looks as if you are on 18 wich means if you aren't looking straight down, everything will be ugly as sin.

Posted: 23 Nov 2006, 17:49
by SwiftSpear
LBPB wrote:
NOiZE wrote:try using -i with mapconv.
Well thats the first thing I ve thought thats why I asked for screenshots...
anyway from the screens, the map doesn't lok inverted :?
It looks inverted to me...

Posted: 23 Nov 2006, 23:03
by bamb
Ah you mean texture is inverted in x and/or y-direction, but heightmap not, or vice versa... (not talking about z direction) yeah try -i in mapconv or invert either one in the paint program? (I use xnview for all this kind of quick editing.) Maybe try a marker in one corner to see how it actually inverts, it's kinda hard to see now as it's quite symmetrical..

Or then it's a level of detail problem in the engine, try the hint that was given to increase lod.

Posted: 23 Nov 2006, 23:05
by SwiftSpear
bamb wrote:Ah you mean texture is inverted in x and/or y-direction, but heightmap not, or vice versa... (not talking about z direction) yeah try -i in mapconv or invert either one in the paint program? (I use xnview for all this kind of quick editing.) Maybe try a marker in one corner to see how it actually inverts, it's kinda hard to see now as it's quite symmetrical..

Or then it's a level of detail problem in the engine, try the hint that was given to increase lod.
You can see right away that the texture isn't inverted from the minimap, the minimap doesn't show height map values though. To the the height map looks inverted.

Posted: 23 Nov 2006, 23:15
by bamb
The reason is probably because the 16 bit raw files intended for heightmap use different indexing, so mapconv was built with that in mind.