wheres the problem

wheres the problem

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
Dead.Rabit
Posts: 264
Joined: 03 Sep 2005, 04:28

wheres the problem

Post by Dead.Rabit »

heyya, on my new map i have these lines (see below)

and i cant tell, can someone help

is it
a) the heightmap
b) the texture map
c) other

i got both height and texture streight from l3dt, with no editing in photoshop (i know it tends to happen when changing the mode in photoshop (index -> RGB/grayscale)

Image
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

use lowpass. Thos are shadow lines because the light is hitting bumps in your terrain and shadowing every spot. Lowpass will fix that.

in mapconv right after the -i put a -l in there and that will turn on lowpass. Don't leave home without it.
Dead.Rabit
Posts: 264
Joined: 03 Sep 2005, 04:28

Post by Dead.Rabit »

i have used lowpass, i say this not fully understanding what a lowpass filter is

Code: Select all

mapconv.exe  -i -l -x 750 -n -69 -m metal.bmp -a heightmap.bmp -t texture.jpg -f feature_2.bmp -c 0.4 -o odd_world_v1.smf

but would it be fixed if i turned it off?
D.R
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Dead.Rabit wrote:

Code: Select all

mapconv.exe  -i -l -x 750 -n -69 -m metal.bmp -a heightmap.bmp -t texture.jpg -f feature_2.bmp -c 0.4 -o odd_world_v1.smf

This is self explanitory. Change your heights from -x 750 to -x 850 and -n -69 to -n 69

Problem solved. From my explaination on how to fix it should be pretty obvious what the problem was.
Dead.Rabit
Posts: 264
Joined: 03 Sep 2005, 04:28

Post by Dead.Rabit »

when reading this i wasnt sure what it meant, so i figured id just try it and see what happens.
Change your heights from -x 750 to -x 850 and -n -69 to -n 69
it didnt take away the stepy lines, and took away the water on my map... which tbh is wat i expected to happen.
Problem solved. From my explaination on how to fix it should be pretty obvious what the problem was.
and
use lowpass. Thos are shadow lines because the light is hitting bumps in your terrain and shadowing every spot. Lowpass will fix that.
i have 2 ideas but i dont think either of them were right...

you suggest that stretching the map out (-x750 to -x850) will solve it, meaning that my map is too flat so the shadow lines are noticable

or

removing the water (-n -69 to -n 69) might be required for lowpass to work...

maybe im just missing something here, but thanks for the help anyways.
D.R
Dead.Rabit
Posts: 264
Joined: 03 Sep 2005, 04:28

Post by Dead.Rabit »

sorry, reading back at that messege it looks kinda rude.. so i appologise =p
D.R
User avatar
LathanStanley
Posts: 1429
Joined: 20 Jun 2005, 05:16

Post by LathanStanley »

if you raise the sun height a little, it'll be less shadowy, yes, but it'll make those "stairstepping" lines less noticeable... :wink:

honestly, its just the way spring maps work, its not perfect... they ARE gonna be there unless you reduce the min/max difference alot... and I doubt you want to make your map more flat.

just my .02$
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Appearently I was mistaken on the problem. DR, can you pm me your heightmap (bmp or png format preferably, jpg tend to leave artifacts everywhere)? I'll fix it up for ya and shoot it back. I have a decent Idea (I think) of how to fix it, but honestly without seeing it I'm completely in the dark.
User avatar
hunterw
Posts: 1838
Joined: 14 May 2006, 12:22

Post by hunterw »

with that range of height (extreme slopes) the lines will show, lowpass or not. you'll have to get a 16-bit greyscale editing application and do a more rigorous gaussian blur than mapconv's lowpass filter provides on your entire heightmap to fix that problem, and i wish you luck because i have not found one worth a crap.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

hunterw wrote:with that range of height (extreme slopes) the lines will show, lowpass or not.
Not true. For example, Industrial mountain, Mountain range, Koth, Iron Gauntlet, and many, many others who all use a height range of 1000, meaning min was 100 max was 1100.

Lowpass changes things muchly, and if he would send me the heightmap I could fix it for him, but he has yet to reach me about it.
User avatar
hunterw
Posts: 1838
Joined: 14 May 2006, 12:22

Post by hunterw »

Oh yeah, another thing that makes them show up is having a low sun angle. Try changing the sun coordinate to make it higher up in the sky and they won't show up near as much.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

^^ very true, usually a sun angle of like .5 or so (maybe a bit higher) will do the trick.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

stupid 400 errors
Post Reply

Return to “Map Creation”