Page 1 of 1

WIP 1944 FloodBank

Posted: 07 Feb 2009, 21:12
by imbaczek
so i made a map.

Image
Image

Imagethis one is outdated, flags are moved around a bit.


a slight problem is that i can't texture and place nice features for the life of me, so here is the smf without any texture at all. open in Spring Map Edit to extract everything.

http://www.darkstars.co.uk/downloads/vi ... k_WIP1.zip

Re: WIP 1944 FloodBank

Posted: 08 Feb 2009, 00:58
by imbaczek
ok i bit the bullet and textured it to the best of my ability... http://www.darkstars.co.uk/downloads/vi ... ank_v0.sdz

i'd release it as a v1 but SpringMapEdit generates a broken minimap. could somebody do me a favour and recompile this correctly? (bonus points for making the texture better ^^)

Re: WIP 1944 FloodBank

Posted: 08 Feb 2009, 04:36
by Beherith
Seems to me that springmapedit is using some odd mipmapping option for nvdxt. That might be resulting in this sub par lod artefacting, that happens when zoomed out. Note the massive blockiness of the yellow beach:

Edit: the minimap issue def seems nvdxt related, because if you enlarge the minimap alot, than it looks perfect.

Re: WIP 1944 FloodBank

Posted: 08 Feb 2009, 11:48
by imbaczek
but does it even use nvdxt?

Re: WIP 1944 FloodBank

Posted: 08 Feb 2009, 12:26
by Beherith
Just checked it, it doesnt use nvdxt :(
Check if
compressTextures true
is enabled in springmapedit config. Then try recompiling with alternate option.

Re: WIP 1944 FloodBank

Posted: 08 Feb 2009, 12:29
by imbaczek
checking. in the meantime, could it be due to the fact that i have an ati?

edit: didn't help, i'll toy with the other settings... nothing related, i guess.

Re: WIP 1944 FloodBank

Posted: 08 Feb 2009, 22:10
by Frostregen
I use the graphics card for doing the compression,
so results depend on your driver.
Maybe you could toy around with texture quality settings in your driver?

"compressTextures" option is just for runtime compression. Has nothing to do with saving the sm2, as this must always be DXT1 compressed.

Re: WIP 1944 FloodBank

Posted: 08 Feb 2009, 22:47
by imbaczek
crap :(

can you add an option for generating mipmap levels? currently it looks like lego mode (GL_NEAREST?) is used, and i need linear or something.

idea 2: add option for generating mipmaps with external software (nvdxt.exe)

Re: WIP 1944 FloodBank

Posted: 09 Feb 2009, 00:06
by Frostregen
The mipmap levels are generated by the gfx card too, as the sm2 format requires mipmaps.
Maybe the compression fails. This could lead to those strange results.
Maybe it is just a bug within the ati drivers? (update?)
Anyone else with an ati card?

I do not want to use a third party tool (especially not a "windows only" one).

The only other solution would be to write the DXT1 compression and mipmapping myself.
But this will definitely be slower than doing it on hardware. :-/

Re: WIP 1944 FloodBank

Posted: 09 Feb 2009, 00:10
by imbaczek
i want it optionally, it's the only thing that stops your software from working correctly. it's very possible that it's a driver issue.

do you have the sources somewhere so i can experiment with different opengl settings?