Latest mapconv, download here.
Moderator: Moderators
Re: Latest mapconv, download here.
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.
Also, if anyone has any feature requests for mapconv, feel free to tell me.
Re: Latest mapconv, download here.
/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.
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.
Re: Latest mapconv, download here.
Tga would only be required for the texture in _extremely_ rare circumstances when you want an alpha channel on the texture.
Re: Latest mapconv, download here.
Ok. What else does it need?
Re: Latest mapconv, download here.
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!
And maybe an option thats "-r <integer>"
This specifies that the first <integer> features listed in featureset.txt will be randomly rotated.
Thanks!
Re: Latest mapconv, download here.
If -r 0 is passed would that mean no features are rotated?
Re: Latest mapconv, download here.
/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:
then all occurrences of tree1 will be rotated and none of building will be rotated.
Further example, with no -r parameter:
fs.txt:
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.
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
Further example, with no -r parameter:
fs.txt:
Code: Select all
tree1 -1
buildingB
tree2 -1
pipe1 16000
pipe1 32000
pipe2 -16000
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.
Re: Latest mapconv, download here.
Ok, so why have a value for the r tag? Why not just put 0 by the feature name in fs.txt. Seems overcomplicated.
Re: Latest mapconv, download here.
r tag is optional and deprecated. use of -1 in fs.txt is encouraged.
Re: Latest mapconv, download here.
How does this look?




Have I missed anything critical?




Have I missed anything critical?
Re: Latest mapconv, download here.
Notice that the map format doesnt support 5 miplevels, so you are wasting time generating that many mip levels. 4 is the maximum.Beherith wrote:-nmips 5 -file"
Re: Latest mapconv, download here.
@Das Bruce: Visually show the light angle, so that mappers can see immediately whether it's what they want or not.
Re: Latest mapconv, download here.
@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.
Re: Latest mapconv, download here.
why sliders over a color-picker?
Re: Latest mapconv, download here.
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
Just a few suggestions though: spring default gravity is ~120.
And color pickers would be extremely nice <3
Re: Latest mapconv, download here.
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.
Re: Latest mapconv, download here.
Jaz please explain what you meant, I have no idea what you said.
Re: Latest mapconv, download here.
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.Beherith wrote:Jaz please explain what you meant, I have no idea what you said.
Re: Latest mapconv, download here.
Not really possible, or at least WAY too much work compared to the benefit.
Re: Latest mapconv, download here.
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...Beherith wrote:Not really possible, or at least WAY too much work compared to the benefit.
Maybe Satirik's Map Preview function in TAS Client could be of some use here?