Latest mapconv, download here. - Page 3

Latest mapconv, download here.

Tutorials & Resources For Mappers

Moderator: Moderators

User avatar
Beherith
Moderator
Posts: 4925
Joined: 26 Oct 2007, 16:21

Re: Latest mapconv, download here.

Post by Beherith » 15 Jan 2010, 12:41

I wouldnt worry about adding preview support for non bmp images, since anyone using those probably knows what they are doing.

Also, if anyone has any feature requests for mapconv, feel free to tell me.
0 x

User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Re: Latest mapconv, download here.

Post by Das Bruce » 15 Jan 2010, 12:42

/edit/ too late/edit/
Well that was easier than expected. It can now preview the texture in bmp, jpg, png and possibly tga, although I don't have one to try.
0 x

User avatar
Beherith
Moderator
Posts: 4925
Joined: 26 Oct 2007, 16:21

Re: Latest mapconv, download here.

Post by Beherith » 15 Jan 2010, 12:43

Tga would only be required for the texture in _extremely_ rare circumstances when you want an alpha channel on the texture.
0 x

User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Re: Latest mapconv, download here.

Post by Das Bruce » 15 Jan 2010, 12:46

Ok. What else does it need?
0 x

User avatar
Beherith
Moderator
Posts: 4925
Joined: 26 Oct 2007, 16:21

Re: Latest mapconv, download here.

Post by Beherith » 15 Jan 2010, 13:37

Maybe a warning that -q parameter requires nvidia 8 series or higher gpu.

And maybe an option thats "-r <integer>"
This specifies that the first <integer> features listed in featureset.txt will be randomly rotated.

Thanks!
0 x

User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Re: Latest mapconv, download here.

Post by Das Bruce » 16 Jan 2010, 04:56

If -r 0 is passed would that mean no features are rotated?
0 x

User avatar
Beherith
Moderator
Posts: 4925
Joined: 26 Oct 2007, 16:21

Re: Latest mapconv, download here.

Post by Beherith » 16 Jan 2010, 05:52

/me checks sauce.

Yes, if -r 0 is passed then no features will be rotated.
If -r 1 is passed and fs.txt looks like this:

Code: Select all

tree1
building
then all occurrences of tree1 will be rotated and none of building will be rotated.

Further example, with no -r parameter:

fs.txt:

Code: Select all

tree1 -1
buildingB
tree2 -1
pipe1 16000
pipe1 32000
pipe2 -16000
tree1 will be randomly rotated
buildingB will be original orientation
tree2 will be randomly rotated
pipe1 will be rotated 16000/32768 *360 degrees counterclockwise (like 90 degrees)
pipe1 will be rotated ~180 degrees. (you can specify the same feature multiple times with different rotations)
pipe2 will be rotated ~-90 degrees.
0 x

User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Re: Latest mapconv, download here.

Post by Das Bruce » 16 Jan 2010, 06:13

Ok, so why have a value for the r tag? Why not just put 0 by the feature name in fs.txt. Seems overcomplicated.
0 x

User avatar
Beherith
Moderator
Posts: 4925
Joined: 26 Oct 2007, 16:21

Re: Latest mapconv, download here.

Post by Beherith » 16 Jan 2010, 06:19

r tag is optional and deprecated. use of -1 in fs.txt is encouraged.
0 x

User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Re: Latest mapconv, download here.

Post by Das Bruce » 23 Jan 2010, 05:06

How does this look?

Image
Image
Image
Image

Have I missed anything critical?
0 x

User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Latest mapconv, download here.

Post by TradeMark » 26 Jan 2010, 13:15

Beherith wrote:-nmips 5 -file"
Notice that the map format doesnt support 5 miplevels, so you are wasting time generating that many mip levels. 4 is the maximum.
0 x

User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Latest mapconv, download here.

Post by Argh » 26 Jan 2010, 16:25

@Das Bruce: Visually show the light angle, so that mappers can see immediately whether it's what they want or not.
0 x

User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Latest mapconv, download here.

Post by TradeMark » 26 Jan 2010, 17:14

@das bruce, nice, you should add startposition editor too, so i can just click/drag them on the minimap image of the map, might need zoom too if you want to be precise.
0 x

User avatar
smoth
Posts: 22295
Joined: 13 Jan 2005, 00:46

Re: Latest mapconv, download here.

Post by smoth » 26 Jan 2010, 17:16

why sliders over a color-picker?
0 x

User avatar
Beherith
Moderator
Posts: 4925
Joined: 26 Oct 2007, 16:21

Re: Latest mapconv, download here.

Post by Beherith » 26 Jan 2010, 18:12

I love you bruce! This really great stuff :)
Just a few suggestions though: spring default gravity is ~120.
And color pickers would be extremely nice <3
0 x

User avatar
Jazcash
Posts: 5301
Joined: 08 Dec 2007, 17:39

Re: Latest mapconv, download here.

Post by Jazcash » 26 Jan 2010, 18:17

What would be even more awesome would be a real time preview which updates according to the SMD settings as well as the loaded maps.
Last edited by Jazcash on 26 Jan 2010, 18:29, edited 1 time in total.
0 x

User avatar
Beherith
Moderator
Posts: 4925
Joined: 26 Oct 2007, 16:21

Re: Latest mapconv, download here.

Post by Beherith » 26 Jan 2010, 18:26

Jaz please explain what you meant, I have no idea what you said.
0 x

User avatar
Jazcash
Posts: 5301
Joined: 08 Dec 2007, 17:39

Re: Latest mapconv, download here.

Post by Jazcash » 26 Jan 2010, 18:29

Beherith wrote:Jaz please explain what you meant, I have no idea what you said.
What I meant was a preview of what the map would look like after the SMD has been applied would be nice if possible. For example, a preview which would show the lighting, water levels, possibly mex radius among other things.
0 x

User avatar
Beherith
Moderator
Posts: 4925
Joined: 26 Oct 2007, 16:21

Re: Latest mapconv, download here.

Post by Beherith » 26 Jan 2010, 18:38

Not really possible, or at least WAY too much work compared to the benefit.
0 x

User avatar
Jazcash
Posts: 5301
Joined: 08 Dec 2007, 17:39

Re: Latest mapconv, download here.

Post by Jazcash » 26 Jan 2010, 18:44

Beherith wrote:Not really possible, or at least WAY too much work compared to the benefit.
Depends how new users are to mapping. I've found when I made my first map that it took at least 5 compiles to get it how I wanted. That took probably about half an hour more time than if I could have seen at least a 2D Aerial preview...

Maybe Satirik's Map Preview function in TAS Client could be of some use here?
0 x

Post Reply

Return to “Map Tutorials & Resources”