Help: black ground problem

Help: black ground problem

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

Moderator: Moderators

Post Reply
loogel
Posts: 13
Joined: 24 Nov 2005, 22:31

Help: black ground problem

Post by loogel »

I am trying to learn how to create maps. I have most everything working, but when I run the map it has a black ground, as if the texture map did not load. I have heard of a similar problem problem before, but I am not sure if they are the same. I am not using a skybox, and it only seems to happen with maps I have made (I have not seen it on other maps).

Also, in the course of trying to track down this problem, I compressed a few other maps and simply renamed the files. The result was very similar, the texure map did not load but instead came up as a pink ground. I am not sure if these things are related.

Does anyone have any suggestions on what I might check or on what this problem might be? Could I be compiling it wrong?
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Post by Das Bruce »

Scale your heightmap up by 1 pixel.
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post by genblood »

I've made a map 40x40 ... if the shadows is set to on. You will
cast a black shadow. Most likely its a bug ...

The biggest map I've made without problems is 24x24.
loogel
Posts: 13
Joined: 24 Nov 2005, 22:31

Post by loogel »

I am not sure I understand what you mean Das Bruce. Do you mean offset it up or down by one pixel?

My map is not big, I think I set it as 8x8.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

8x8 map

Heightmap should be 1025x 1025
loogel
Posts: 13
Joined: 24 Nov 2005, 22:31

Post by loogel »

ah ok, I already did that

My tex map is 4096x4096 and my height map is 513x513.
AlexMax
Posts: 17
Joined: 29 Dec 2005, 09:04

Post by AlexMax »

Try replacing your featuremap with a blank one. All of my black map related problems were because my featuremap was screwed up.
loogel
Posts: 13
Joined: 24 Nov 2005, 22:31

Post by loogel »

lol! I don't have a feature map, maybe that is why.
loogel
Posts: 13
Joined: 24 Nov 2005, 22:31

Post by loogel »

hmm, nope I guess that was not the problem :(. I added a blank feature map and I still had a black ground.
User avatar
Weaver
Posts: 644
Joined: 07 Jul 2005, 21:15

Post by Weaver »

Could you post the mapconv output, there may be some clues there.
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Post by aGorm »

Obvios i know, but i asume you have a metal map?? and that its black with red on it (and no other colours). Just trying to coverer all the possiblities.

The Pink this is were you have renamed the texture file, of which teh name is hard coded into the terrain file, so when the terrain loaded it could not find the texture file, and replaced everything with pinkness. While similar i doubt its related to ur problem (as we know teh cause and solution and it dont fix ur black problem!)

Also system specs might be usefull.

aGorm
User avatar
FizWizz
Posts: 1998
Joined: 17 Aug 2005, 11:42

Post by FizWizz »

bah, I'm getting the same crap with Fizzy Lakes now, the minimap is good, but the ground is baically black except for the sand and snow (which are naturally bright colors). Since the sand and snow do show up afterall, I'm inclined to think that it might be a gamma-problem, w/ my minimap rendering normally, but the actual map having a very strong dark "correction" to it.
Image
Full Size image
For the moment, I'm just using a rip from XantheTerra for my lighting:

Code: Select all

		FogColor=0.8 0.75 0.6;
		FogStart=0.02;

		CloudColor=0.9 0.9 0.9;
		SkyColor=0.1 0.15 0.7;

		SunColor=1.0 1.0 1.0;
		CloudDensity=0.55;
...
		GroundAmbientColor=1 0.8 0.6;		//ambient (non sun lit) color of ground (and grass trees etc)
		GroundSunColor=1 1 1;			//color of ground where fully sun lit (added to ambient)
		GroundShadowDensity=0.8;			//how far from the non shadowed to the ambient color stuff in shadow will go
User avatar
Weaver
Posts: 644
Joined: 07 Jul 2005, 21:15

Post by Weaver »

Are you using the default detail texture?
loogel
Posts: 13
Joined: 24 Nov 2005, 22:31

Post by loogel »

I finally figured it out! It turns out I did not download the previous mapping tools and so the MapConv was missing some files, and looking at the mapConv output tipped me off. Thank you guys a lot. It also turns out that I had a white background for my metal map, though I don't know how much of a problem that actually was.

thanks for all your help.
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Post by aGorm »

Just means it may try and place geos or trees everywere if you dont include a feature map...

aGorm
User avatar
FizWizz
Posts: 1998
Joined: 17 Aug 2005, 11:42

Post by FizWizz »

Weaver wrote:Are you using the default detail texture?
d'oh! Lord, do I feel dumb for that...
Removing the detailtex line fixed my problem...
User avatar
TA 3D
Posts: 260
Joined: 12 Nov 2004, 06:08

Post by TA 3D »

If you use a detail tex make sure its light otherwise it will make your map dark. Heres what the detail tex can do so be careful with it.

http://www.maj.com/gallery/3dbricks/TASPRING/mmsc01.png

By the way if you include the mini.dds file that mapconv outputs with the map, it will have water on the minimap like shown in the pic above.
Last edited by TA 3D on 07 Jan 2006, 22:51, edited 1 time in total.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Or alternatively, you can change the detail texture spring uses to a grey/white box instead of the dirt texture you get currently, that way you dont get the darkening in spring.
Post Reply

Return to “Map Creation”