Page 1 of 1

Texture covering 2/3 of the map??

Posted: 18 Aug 2009, 09:39
by Merkavoth
Hi there.
Recently i tried some map making and i mostly succeded, only for some reason only like 2/3 of the map is seen with texture. The remaining 1/3 is there, units can walk there, although they walk in air ;]
That's some fishy thing with texture map i suppose, the rest (metal, height and features) are there.
Any ideas?

Re: Texture covering 2/3 of the map??

Posted: 18 Aug 2009, 10:22
by Neddie
Is your texture sized correctly? What format is it in compilation?

Re: Texture covering 2/3 of the map??

Posted: 18 Aug 2009, 10:23
by Peet
Any chance you made a map whose dimensions are not a multiple of 2?

Re: Texture covering 2/3 of the map??

Posted: 19 Aug 2009, 10:17
by Merkavoth
Dimensions are as follows:
metal map - 513x193
height map - 513x193
feature map - 513x193
texture map - 4096x1536

Re: Texture covering 2/3 of the map??

Posted: 19 Aug 2009, 10:30
by Peet
..so a map of size 4x3.

Maps' dimensions must be multiples of 2.

Re: Texture covering 2/3 of the map??

Posted: 19 Aug 2009, 10:39
by Merkavoth
Um... isn't it 8x2? I wanted it that way...
Someone told me all but texture map has to have a multiplier of 32 (+1) as a dimension...

Re: Texture covering 2/3 of the map??

Posted: 19 Aug 2009, 13:05
by Peet
The texture is 1024 pixels per 2 map size units. So 4096x1536 = 4*1024x1.5*1024 = 8x3

Yeah my previous post was a 5am-mathjob. So you want a 4096x1024 image as a texture map, metal & height maps of 513x129, and a feature map of 512x128.

Re: Texture covering 2/3 of the map??

Posted: 19 Aug 2009, 17:28
by Merkavoth
They are now (for a 8x3 map)
513x193
513x193
512x192
4096x1536

and still the same effect:
Image

Re: Texture covering 2/3 of the map??

Posted: 19 Aug 2009, 17:50
by imbaczek
you must not use increments of 64 (or 512 in case of the texture maps). you have to use 128/1024.

Re: Texture covering 2/3 of the map??

Posted: 19 Aug 2009, 19:26
by Merkavoth
Oh... so there's no such thing as 8x3 map in Spring?.. Aww....

Re: Texture covering 2/3 of the map??

Posted: 19 Aug 2009, 21:02
by hunterw
even numbers onleh

Re: Texture covering 2/3 of the map??

Posted: 24 Aug 2009, 15:12
by Quanto042
Jeez, I wish I showed up earlier, I would have told him even number onleh on first post.
Whats with you guys. Just give the simple answer.

Re: Texture covering 2/3 of the map??

Posted: 24 Aug 2009, 15:17
by lurker
Quanto042 wrote:Jeez, I wish I showed up earlier, I would have told him even number onleh on first post.
Whats with you guys. Just give the simple answer.
What do you call Peet's post?

Re: Texture covering 2/3 of the map??

Posted: 25 Aug 2009, 16:09
by Quanto042
lurker wrote:
Quanto042 wrote:Jeez, I wish I showed up earlier, I would have told him even number onleh on first post.
Whats with you guys. Just give the simple answer.
What do you call Peet's post?
Peet's post said a multiple of 2.

That's smart talk for even. Stop using smart talk. I know it hurts to dumb ourselves down for others, but sometimes you just have to make sacrifices.

Re: Texture covering 2/3 of the map??

Posted: 26 Aug 2009, 05:42
by Gnomre
all squares are rectangles

not all rectangles are squares

Re: Texture covering 2/3 of the map??

Posted: 26 Aug 2009, 05:46
by lurker
In my experience the word even is normally used with positive integers. Map sizes are not.