Strangely blurry map.
Moderator: Moderators
Strangely blurry map.
I started up spring while wanting to tweak my lod bias and anisotropic filtering settings, and found this. At a rather close distance to the camera, the map becomes unexpectedly blurry. Changing lod bias, view radius, and anisotropic filtering settings has no effect on where the map gets blurry, so I wonder what the cause is and what I can do to fix it.
- Attachments
-
- screen047cropped.jpg (40.43 KiB) Viewed 1595 times
Re: Strangely blurry map.
compressed detailtex?
Re: Strangely blurry map.
Compression is off, and metalheck uses the default detailtex.
Edit: I overrode the detailtex with a blank white bmp. It still has the blur starting at the same distance.
Edit: I overrode the detailtex with a blank white bmp. It still has the blur starting at the same distance.
Re: Strangely blurry map.
Have you noticed the same blurry phenomenon on other maps? If not, I suspect that the mipmaps for metal heck were generated poorly. IIRC mipmap generation is part of the map compiling process, and there'd be no way to fix it without recompiling the map (which would break compatibility with the existing map).
Re: Strangely blurry map.
But I also changed the mipmap bias, by a large amount. It might even be a correct mipmap taking over, but the issue is that I can't get where that happens to move. I'll go add in a debug message to check if it's reading the value incorrectly...
Unless spring is setting the wrong texture level on these pieces in a seperate fashion with a bad algorithm?
Unless spring is setting the wrong texture level on these pieces in a seperate fashion with a bad algorithm?
Re: Strangely blurry map.
terrain texture mipmapping isn't handled by OpenGL, Spring just loads _one_ mipmap for each ground quad.
Re: Strangely blurry map.
So it uses a bad algorithm. I'll try to fix it. It only does it at some angles.
Re: Strangely blurry map.
No, just the mipmaps are bad!lurker wrote:So it uses a bad algorithm.
Re: Strangely blurry map.
you sure you've forced anisotropy in video driver settings?
Re: Strangely blurry map.
I'll find a bunch of maps and also look at the raw mipmaps on metal heck. Like I said, it's only an issue at some angles.
I'll also compare fps or something to be absolutely sure the anisotropy settings are working.
I'll also compare fps or something to be absolutely sure the anisotropy settings are working.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Strangely blurry map.
This is why it's so tough to take decent map screenshots in spring, because you can't force it to not go blurry, you can only hope that the stars align at an angle that manages to either hide it or it not be blurry.
Tho, over time I've just kinda accepted it for what it is and dealt with it. It would be nifty if you could turn map mipmapping on an off. That way we could get some truly gorgeous screenies.
Tho, over time I've just kinda accepted it for what it is and dealt with it. It would be nifty if you could turn map mipmapping on an off. That way we could get some truly gorgeous screenies.