Lines on map... - Page 3

Lines on map...

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

Moderator: Moderators

User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Re: Lines on map...

Post by aGorm »

I prefer PCLinuxOS myself...

But I don't want to have to switch to that just to make a map. I'm not particularly Linux savy anyway.

All my progs I need for mapping are windows... so it would make sense if Mapcov was to. :-)

aGorm
User avatar
kiki
Posts: 859
Joined: 05 Nov 2007, 03:06

Re: Lines on map...

Post by kiki »

What is it with you pclinux people? :)

What do you mean "switch"? Its called dual boot, my friend. Or vmware server. Or just forget it and be a windows noob (sometimes theres no choice).
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Re: Lines on map...

Post by aGorm »

It is called dualboot... how else would I be running Windows and Linux??

Hell my laptop is now triple booting... came with scummy vista so it now has XP and Linux to.

The day adobe make all their stuff have a linux build I'll be able to switch over. (Well that and a few other programs like games...)

aGorm

::EDIT:: Oh and PCLinuxOS just is very easy to manage, for linux noobs with little time like me. :-)
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: Lines on map...

Post by CarRepairer »

Hey this might be a long shot but I had a similar problem to this using carrara.

I imported a height map I make in a separate program (such as gimp) and kept getting a grid-like pattern in my final texture. I was very frustrated for a while and then realized what the problem was. Turns out that if I render that height map at a resolution higher than that of the heightmap image, I am telling the 3D program to take a small image and expand it before rendering it into a heightmap. This pixelizes it! The heightmap rendering only lets me choose square sizes (such as 256x256, 1024x1024) but so long as whatever size I choose is smaller than the heightmap image I imported (both width and height), I am fine. Resizing can be done later to get a rectangle.

If you are not importing a heightmap into a 3D rendering program, this may still be relevant to you. Look to the pixelization. That may be your clue.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Lines on map...

Post by lurker »

That is good advice, but mapconv takes a raw texture image and does not resize it. It's a bug, no more, no less.
User avatar
SwiftSpear
Classic Community Lead
Posts: 7287
Joined: 12 Aug 2005, 09:29

Re:

Post by SwiftSpear »

Pxtl wrote:Does it bother anyone else that maps for a free, open-source program can only be properly made in a retail program?
I realize I'm 20 some odd days late on this one... but realistically, that's not really aaron's fault. He didn't bribe anyone to make mapconv shitty. What are we supposed to do? Refuse to allow anyone to make development tools for spring that they don't release for free? That kind of violates our role as a provider of a free to develop for software suite.

I'd be ecstatic if aaron did choose to release a spring map dev kit for free, but it's really no more his fault than it is any of ours that we haven't produced any comparable mapping tools to his work within our community.
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Re: Lines on map...

Post by aGorm »

Ummm, I don't think anyone was blaming Aaron, in fact I think its amazingly cool he added it to his program, I think we were more pointing out that It's stupid that some one should suggest that his program makes it fine that our own doesn't work properly. The fact that his is cool is no excuse for ours being crap :P

aGorm
User avatar
LOrDo
Posts: 1154
Joined: 27 Feb 2006, 00:21

Re: Lines on map...

Post by LOrDo »

to much tl;dr swift?
User avatar
Erom
Posts: 1115
Joined: 25 Apr 2006, 05:08

Re: Lines on map...

Post by Erom »

aGorm wrote:The fact that his is cool is no excuse for ours being crap
+1
User avatar
RogerN
Posts: 238
Joined: 24 Jul 2006, 23:29

Re: Lines on map...

Post by RogerN »

I have a theory for why mapconv sometimes produces these lines on the mip-maps.

It looks like mapconv uses a separate program (nvdxt.exe) in order to create the final texture tiles, including the mipmaps. However, instead of passing each 32x32 tile individually, mapconv appears to create a 1024x1024 "collage" of tiles. Presumably this was done for performance reasons, since calling nvdxt.exe for each individual 32x32 tile would be kinda ridiculous...

The experienced texture artists can probably already tell where this is going :)

What happens is that you end up with a 1024x1024 collage of tiles in which adjacent tiles are sometimes different colors. In other words, you might have a bright green grass tile right next to an orange desert tile. Since nvdxt.exe doesn't know these are separate tiles, it computes the mipmaps normally - adjacent pixels are averaged together when downsizing the tiles.

So you end up with lines at the seams of the tiles, because the edge of one tiles is averaged with the edge of an adjacent tile when creating the mipmaps.

I think the problem could be fixed relatively easily.
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: Lines on map...

Post by Kloot »

The issue is with nvdxt specifically, as Linux builds
of MC go through the same tile-collating process
(but use texcompress to create the dds textures)
yet do not produce the lines.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Lines on map...

Post by Tobi »

Wouldn't it be possible to use texcompress[_nogui] on Windows too?
(Or is it slower maybe / other disadvantages?)
Kloot
Spring Developer
Posts: 1867
Joined: 08 Oct 2006, 16:58

Re: Lines on map...

Post by Kloot »

Yeah it is, I sent aGorm a win32 (cross-compiled) build of MC
with the hardcoded nvdxt dependency removed that behaves
like the Linux one (so it accepts "-z texcompress.exe" as a CL
argument, etc). Unfortunately the version of libIL it's linked to
(from mingwlibs10) causes artefacts in the temporary bmp's
mapconv writes to disk:

good
bad

No idea why yet, but it's pretty borked. ;)
User avatar
aGorm
Posts: 2928
Joined: 12 Jan 2005, 10:25

Re: Lines on map...

Post by aGorm »

Does that mean you wont be able to fix it?? Desparatey want it... :( All dev's should drop everything and fix this problem. :P No eat's till you do.

aGorm
Post Reply

Return to “Map Creation”