Texture covering 2/3 of the map??

Texture covering 2/3 of the map??

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

Moderator: Moderators

Post Reply
Merkavoth
Posts: 8
Joined: 17 Aug 2009, 23:49

Texture covering 2/3 of the map??

Post 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?
0 x

User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

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

Post by Neddie »

Is your texture sized correctly? What format is it in compilation?
0 x

User avatar
Peet
Malcontent
Posts: 4382
Joined: 27 Feb 2006, 22:04

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

Post by Peet »

Any chance you made a map whose dimensions are not a multiple of 2?
0 x

Merkavoth
Posts: 8
Joined: 17 Aug 2009, 23:49

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

Post by Merkavoth »

Dimensions are as follows:
metal map - 513x193
height map - 513x193
feature map - 513x193
texture map - 4096x1536
0 x

User avatar
Peet
Malcontent
Posts: 4382
Joined: 27 Feb 2006, 22:04

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

Post by Peet »

..so a map of size 4x3.

Maps' dimensions must be multiples of 2.
0 x

Merkavoth
Posts: 8
Joined: 17 Aug 2009, 23:49

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

Post 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...
0 x

User avatar
Peet
Malcontent
Posts: 4382
Joined: 27 Feb 2006, 22:04

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

Post 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.
0 x

Merkavoth
Posts: 8
Joined: 17 Aug 2009, 23:49

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

Post by Merkavoth »

They are now (for a 8x3 map)
513x193
513x193
512x192
4096x1536

and still the same effect:
Image
0 x

imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

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

Post by imbaczek »

you must not use increments of 64 (or 512 in case of the texture maps). you have to use 128/1024.
0 x

Merkavoth
Posts: 8
Joined: 17 Aug 2009, 23:49

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

Post by Merkavoth »

Oh... so there's no such thing as 8x3 map in Spring?.. Aww....
0 x

User avatar
hunterw
Posts: 1838
Joined: 14 May 2006, 12:22

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

Post by hunterw »

even numbers onleh
0 x

User avatar
Quanto042
Basically OTA Developer
Posts: 778
Joined: 22 Feb 2006, 03:01

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

Post 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.
0 x

User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

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

Post 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?
0 x

User avatar
Quanto042
Basically OTA Developer
Posts: 778
Joined: 22 Feb 2006, 03:01

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

Post 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.
0 x

Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

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

Post by Gnomre »

all squares are rectangles

not all rectangles are squares
0 x

User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

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

Post by lurker »

In my experience the word even is normally used with positive integers. Map sizes are not.
0 x

Post Reply

Return to “Map Creation”